ld --help and relro

H.J. Lu hjl.tools@gmail.com
Fri Jun 24 12:24:00 GMT 2016


On Fri, Jun 24, 2016 at 3:38 AM, Nick Clifton <nickc@redhat.com> wrote:
> Hi H,J,  Hi Dilyan,
>
>>> please consider adding incorporating the following code, so that ld --help
>>> shows if relro is by default on or off.
>
> Agreed.
>
>> Sounds a good idea.  We have
>>
>>  -z lazy                     Mark object lazy runtime binding (default)
>>
>> Any comments?
>
> That should also be updated to reflect the default behaviour of the built linker.
> Please feel free to commit a patch that does this.
>

This is what I checked in:

https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=da4463c7d74ca0314fcab31f4a98dca3fd98e250

-- 
H.J.



More information about the Binutils mailing list