This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: ld --help and relro
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: Dilyan Palauzov <dilyan dot palauzov at aegee dot org>, Binutils <binutils at sourceware dot org>
- Date: Fri, 24 Jun 2016 05:23:54 -0700
- Subject: Re: ld --help and relro
- Authentication-results: sourceware.org; auth=none
- References: <49a86f41-1ec2-15ac-360a-c0cfa7621908 at aegee dot org> <CAMe9rOqrPz=3KWTQ_BJEU23uBA7j8-taLEE=AxyDhSFWjPb2VA at mail dot gmail dot com> <15c33575-bfbb-c7f6-5f3f-1bc5f659d446 at redhat dot com>
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.