This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: IA-64 gp problem with PROVIDE and linker relaxation conflict
- To: Jim Wilson <wilson at cygnus dot com>
- Subject: Re: IA-64 gp problem with PROVIDE and linker relaxation conflict
- From: Richard Henderson <rth at redhat dot com>
- Date: Tue, 13 Feb 2001 11:09:49 -0800
- Cc: binutils at sources dot redhat dot com
- References: <rth@redhat.com> <200102131905.LAA21060@wilson.cygnus.com>
On Tue, Feb 13, 2001 at 11:05:54AM -0800, Jim Wilson wrote:
> What about other symbols that come from PROVIDE? If I replace __gp with
> _etext in my testcase, then I can see that _etext is wrong by 48 bytes also.
You have a point. And this is not really limited to PROVIDE --
*any* symbol defined by the link script ought to be re-evaluated.
True, sometimes they might have fixed addresses, but rarely.
r~