wasn't being stored into scnhdr.
* config/obj-coffbfd.h: Add prototype of s_get_segment.
* read.c (TC_START_LABEL): Default definition.
(read_a_source_file): Use TC_START_LABEL macro to work out
if a label has been seen.
+Mon Mar 29 13:47:33 1993 Steve Chamberlain (sac@thepub.cygnus.com)
+
+ * config/obj-coffbfd.c (do_relocs_for): Fix bug where nrelocs
+ wasn't being stored into scnhdr.
+ * config/obj-coffbfd.h: Add prototype of s_get_segment.
+ * read.c (TC_START_LABEL): Default definition.
+ (read_a_source_file): Use TC_START_LABEL macro to work out
+ if a label has been seen.
+
Mon Mar 29 12:56:56 1993 Ian Lance Taylor (ian@cygnus.com)
* configure.in: Set BFDDEF and BFDLIB at the top of Makefile, not
/* Fill in section header info. */
segment_info[idx].scnhdr.s_relptr = *file_cursor;
*file_cursor += external_reloc_size;
+ segment_info[idx].scnhdr.s_nreloc = nrelocs;
}
else
{
/* No relocs */
segment_info[idx].scnhdr.s_relptr = 0;
}
- segment_info[idx].scnhdr.s_nreloc = 0;
}
}
/* Set relocation_size field in file headers */
void EXFUN (obj_extra_stuff, (object_headers * headers));
void EXFUN (stack_delete, (stack * st));
-
+segT EXFUN (s_get_segment,(struct symbol * ptr));
void EXFUN (c_section_header, (