This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Patch for ppc _SDA_BASE_ value
- To: velco at fadata dot bg
- Subject: Re: Patch for ppc _SDA_BASE_ value
- From: Ian Lance Taylor <ian at zembu dot com>
- Date: 31 Mar 2000 11:15:05 -0800
- CC: binutils at sourceware dot cygnus dot com
- References: <38E3A33D.C96CFFF7@fadata.bg>
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