Patch for ppc _SDA_BASE_ value

Ian Lance Taylor ian@zembu.com
Fri Mar 31 11:15:00 GMT 2000


   Date: Thu, 30 Mar 2000 21:55:57 +0300
   From: Momchil Velikov <velco@fadata.bg>

   Well, it's been almost a week with no feedback about this one ...
      http://sourceware.cygnus.com/ml/binutils/2000-03/msg00377.html

I simply don't know.

You are changing the way that ELF linker sections work, and I never
understood those in the first place.  I don't have time to learn.

I'm troubled by the call to generic_link_add_one_symbol.  It feels
wrong to call that after sections have been sized, allocated, and
relaxed, although it will probably work.

Your patch doesn't appear to consider discarded sections, which will
tend to have an output_section of bfd_abs_section.

I wonder if we could attach the symbol to an invented input section as
we did before, and then somehow force that input section to be first.

Ian


More information about the Binutils mailing list