unsigned int len;
obj_coff_add_segment (name)     const char *name;{  unsigned int len;  unsigned int i;  /* Find out if we've already got a section of this name.  */  len = strlen (name);  if (len < sizeof (segment_info[i].scnhdr.s_name))    ++len;  else    len = sizeof (segment_info[i].scnhdr.s_name);  for (i = SEG_E0; i < SEG_E9 && segment_info[i].scnhdr.s_name[0]; i++)    if (strncmp (segment_info[i].scnhdr.s_name, name, len) == 0	&& (len == sizeof (segment_info[i].scnhdr.s_name)	    || segment_info[i].scnhdr.s_name[len] == '\0'))      return (segT) i;  if (i == SEG_E9)    {      as_bad ("Too many new sections; can't add \"%s\"", name);      return now_seg;    }  /* Add a new section.  */  strncpy (segment_info[i].scnhdr.s_name, name,	   sizeof (segment_info[i].scnhdr.s_name));  segment_info[i].scnhdr.s_flags = STYP_REG;  return (segT) i;}