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: Richard Henderson <rth at redhat dot com>
- Subject: Re: IA-64 gp problem with PROVIDE and linker relaxation conflict
- From: Jim Wilson <wilson at cygnus dot com>
- Date: Tue, 13 Feb 2001 11:05:54 -0800
- cc: Jim Wilson <wilson at cygnus dot com>, binutils at sources dot redhat dot com
>Easiest would be to remove __gp from the default link scripts.
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.
However, fixing _etext this way would require either removing it from the
standard elf linker script, or else creating a new elf linker script for IA-64.
We either make PROVIDE work, or else we have to stop using it entirely.
For the 2.11 release however, just fixing __gp and leaving all other symbols
broken might be OK. A wrong __gp is much more serious than a wrong _etext.
Jim