This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH BFD section load page support


   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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]