This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Question on use of relro, now, and nodlopen
Jeffrey Walton <noloader@gmail.com> writes:
> I did not find -nodlopen mentioned. Does -nodlopen seem to be an
> ancient flag (ie, use GCC_COMPILER), or a relatively new flag (ie, use
> (ie, use GCC40_COMPILER). I understand tuning will probably be
> necessary - I just want to get in the ball park.
The binutils are independent of the compiler. You can use a new
binutils with an old compiler.
However, to answer your question, -z nodlopen was added 2000-07-19, with
this ChangeLog entry:
2000-07-19 H.J. Lu <hjl@gnu.org>
* emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
(PARSE_AND_LIST_PROLOGUE): New.
(PARSE_AND_LIST_LONGOPTS): Likewise.
(PARSE_AND_LIST_OPTIONS): Likewise.
(PARSE_AND_LIST_ARGS_CASES): Likewise.
* ldmain.c (main): Clear link_info.flags and link_info.flags_1.
* lexsup.c (ld_options): Comment out 'z'.
(parse_args): Likewise.
* emultempl/elf32.em: Include "elf/common.h".
(gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
options.
(gld_${EMULATION_NAME}_list_options): Likewise.
* ld.texinfo: Add documentation for the recognized -z options.
Ian