This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

Re: [PATCH] PR ld/20283: ld: Add a linker configure option --enable-relro


On 22 Jun 2016 09:17, Nick Clifton wrote:
> > +# Decide if -z relro should be enabled in ELF linker by default.
> > +ac_default_ld_z_relro=unset
> > +# Provide a configure time option to override our default.
> > +AC_ARG_ENABLE(relro,
> > +	      AS_HELP_STRING([--enable-relro],
> > +	      [enable -z relro in ELF linker by default]),
> > +[case "${enableval}" in
> > +  no)  ac_default_ld_z_relro=0 ;;
> > +esac])dnl
> 
> I think that you ought to support --enable-relro=yes here as well.

i suggested the same thing in the gold version :)
-mike

Attachment: signature.asc
Description: Digital signature


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