Document -z text, -z notext and -z textoff
* ld.texinfo: Document -z text, -z notext and -z textoff. * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Add -z text, -z notext and -z textoff.
This commit is contained in:
parent
2aec968d4d
commit
8dfef1bd76
3 changed files with 21 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2015-02-06 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* ld.texinfo: Document -z text, -z notext and -z textoff.
|
||||||
|
* emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Add
|
||||||
|
-z text, -z notext and -z textoff.
|
||||||
|
|
||||||
2015-02-06 H.J. Lu <hongjiu.lu@intel.com>
|
2015-02-06 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* configure.ac: Add AC_FUNC_MMAP.
|
* configure.ac: Add AC_FUNC_MMAP.
|
||||||
|
|
|
@ -2453,6 +2453,12 @@ fragment <<EOF
|
||||||
EOF
|
EOF
|
||||||
if test x"$GENERATE_SHLIB_SCRIPT" = xyes; then
|
if test x"$GENERATE_SHLIB_SCRIPT" = xyes; then
|
||||||
fragment <<EOF
|
fragment <<EOF
|
||||||
|
fprintf (file, _("\
|
||||||
|
-z text Treat DT_TEXTREL in shared object as error\n"));
|
||||||
|
fprintf (file, _("\
|
||||||
|
-z notext Don't treat DT_TEXTREL in shared object as error\n"));
|
||||||
|
fprintf (file, _("\
|
||||||
|
-z textoff Don't treat DT_TEXTREL in shared object as error\n"));
|
||||||
fprintf (file, _("\
|
fprintf (file, _("\
|
||||||
-z norelro Don't create RELRO program header\n"));
|
-z norelro Don't create RELRO program header\n"));
|
||||||
fprintf (file, _("\
|
fprintf (file, _("\
|
||||||
|
|
|
@ -1106,6 +1106,15 @@ Marks the object can not be dumped by @code{dldump}.
|
||||||
@item noexecstack
|
@item noexecstack
|
||||||
Marks the object as not requiring executable stack.
|
Marks the object as not requiring executable stack.
|
||||||
|
|
||||||
|
@item text
|
||||||
|
Treat DT_TEXTREL in shared object as error.
|
||||||
|
|
||||||
|
@item notext
|
||||||
|
Don't treat DT_TEXTREL in shared object as error.
|
||||||
|
|
||||||
|
@item textoff
|
||||||
|
Don't treat DT_TEXTREL in shared object as error.
|
||||||
|
|
||||||
@item norelro
|
@item norelro
|
||||||
Don't create an ELF @code{PT_GNU_RELRO} segment header in the object.
|
Don't create an ELF @code{PT_GNU_RELRO} segment header in the object.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue