PATCH BFD section load page support
Ian Lance Taylor
ian@zembu.com
Fri Jan 14 13:49:00 GMT 2000
Date: Fri, 14 Jan 2000 15:46:01 +0000
From: Timothy Wall <twall@domesolutions.com>
The linker manipulates sections based on the load page. It would be
rather difficult to conditionally handle load page directives in linker
scripts only if the output type is a variation of TI COFF.
We might be able to add a new BFD entry point, or simply a new BFD
function along the lines of bfd_get_gp_size, or the various weird
functions declared near the bottom of bfd-in.h. That would be cheaper
overall than adding a field to asection.
Can you describe what the linker does based on load pages?
The general principle of BFD is to put general information in generic
structures and specific information in specific structures. The load
page sounds to me like specific information, so I would prefer to keep
it out of the generic structures.
Ian
More information about the Binutils
mailing list