gold RELRO section detection on Sparc
Ian Lance Taylor
iant@google.com
Tue Apr 10 03:51:00 GMT 2012
David Miller <davem@davemloft.net> writes:
> From: David Miller <davem@davemloft.net>
> Date: Sun, 08 Apr 2012 22:51:11 -0400 (EDT)
>
>> Nevermind, I see what's going on here, the ORDER_* and
>> Layout::default_section_order() bits that are emulating the elf.sc
>> linker script doesn't handle cases like Sparc that need the PLT in the
>> data section after the relro bits.
>>
>> Ian, any suggestions?
>
> Ok, using ORDER_NON_RELRO_FIRST for sparc's PLT section
> seems to do the trick. I hope this is the intended
> usage.
Yes.
Ian
More information about the Binutils
mailing list