PATCH BFD section load page support
Timothy Wall
twall@tiac.net
Thu Jan 13 17:16:00 GMT 2000
TI COFF stores the load-time memory page of each section. These mods
keep track of it.
* bfd-in.h: regenerate
* bfd-in2.h: regenerate
* coffcode.h (coff_write_object_contents): Set output section load page
field.
* coffgen.c (make_a_section_from_file): initialize load page, if
appropriate
(coff_real_object_p): Set arch/mach *before* swapping section headers
in, so that
section header swapping routines can use that information.
* section.c: add load_page field to section structure. Add load page
initialization to
STD_SECTION macro and the standard section statics.
(note that the diff in linker.c is a change that got lost in the
application of the octets vs bytes patch)
More information about the Binutils
mailing list