mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:29:47 +08:00
* 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:
@ -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)
|
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
|
* configure.in: Set BFDDEF and BFDLIB at the top of Makefile, not
|
||||||
|
@ -451,13 +451,13 @@ DEFUN (do_relocs_for, (abfd, h, file_cursor),
|
|||||||
/* Fill in section header info. */
|
/* Fill in section header info. */
|
||||||
segment_info[idx].scnhdr.s_relptr = *file_cursor;
|
segment_info[idx].scnhdr.s_relptr = *file_cursor;
|
||||||
*file_cursor += external_reloc_size;
|
*file_cursor += external_reloc_size;
|
||||||
|
segment_info[idx].scnhdr.s_nreloc = nrelocs;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* No relocs */
|
/* No relocs */
|
||||||
segment_info[idx].scnhdr.s_relptr = 0;
|
segment_info[idx].scnhdr.s_relptr = 0;
|
||||||
}
|
}
|
||||||
segment_info[idx].scnhdr.s_nreloc = 0;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* Set relocation_size field in file headers */
|
/* Set relocation_size field in file headers */
|
||||||
|
@ -483,7 +483,7 @@ void EXFUN (c_dot_file_symbol, (char *filename));
|
|||||||
void EXFUN (obj_extra_stuff, (object_headers * headers));
|
void EXFUN (obj_extra_stuff, (object_headers * headers));
|
||||||
void EXFUN (stack_delete, (stack * st));
|
void EXFUN (stack_delete, (stack * st));
|
||||||
|
|
||||||
|
segT EXFUN (s_get_segment,(struct symbol * ptr));
|
||||||
|
|
||||||
void EXFUN (c_section_header, (
|
void EXFUN (c_section_header, (
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user