IA-64 gp problem with PROVIDE and linker relaxation conflict
Jim Wilson
wilson@cygnus.com
Tue Feb 13 11:02:00 GMT 2001
>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
More information about the Binutils
mailing list