This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: IA-64 gp problem with PROVIDE and linker relaxation conflict


>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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]