This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] PR ld/20283: gold: Add a linker configure option --enable-relro
- From: Cary Coutant <ccoutant at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Tue, 21 Jun 2016 16:11:58 -0700
- Subject: Re: [PATCH] PR ld/20283: gold: Add a linker configure option --enable-relro
- Authentication-results: sourceware.org; auth=none
- References: <20160621221128 dot GA19131 at intel dot com> <CAJimCsE58ZmTOs2B3qW5hRLBr+TOYw4XYx=uPoNtvwvVE0FG5Q at mail dot gmail dot com>
>> Add a configure option --enable-relro to decide whether -z relro should
>> be enabled by default. Enable it if --disable-relro isn't specified.
>>
>> OK for master?
>>
>> H.J.
>> ---
>> PR ld/20283
>> * NEWS: Mention --enable-relro.
>> * configure.ac: Add --enable-relro.
>> (DEFAULT_LD_Z_RELRO): New. Set by --enable-relro and default
>> to 1.
>> * config.in: Regenerated.
>> * configure: Likewise.
>> * options.h (General_options::relro): Default to
>> DEFAULT_LD_Z_RELRO.
>
> OK.
I should qualify that -- it's OK if it's OK for ld.
-cary