This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: PATCH BFD section load page support
- To: twall at domesolutions dot com
- Subject: Re: PATCH BFD section load page support
- From: Ian Lance Taylor <ian at zembu dot com>
- Date: 14 Jan 2000 16:48:54 -0500
- CC: binutils at sourceware dot cygnus dot com
- References: <387F44B9.D8CABF35@domesolutions.com>
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