* 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.
This commit is contained in:
Steve Chamberlain 1993-03-29 21:56:49 +00:00
parent c39b3eba78
commit e02eaa5943
3 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,12 @@
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

View File

@ -451,13 +451,13 @@ DEFUN (do_relocs_for, (abfd, h, file_cursor),
/* 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 */

View File

@ -483,7 +483,7 @@ void EXFUN (c_dot_file_symbol, (char *filename));
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, (