aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/elf32.em
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-02-06 10:01:35 -0800
committerH.J. Lu <hjl.tools@gmail.com>2015-02-06 10:01:35 -0800
commit8dfef1bd769223b3abfffabf8bd13a9b74258231 (patch)
tree218d6f766ec75409972a3b68c49abb5ea588bef7 /ld/emultempl/elf32.em
parent2aec968d4df313f893f239a1a69aef2392a16b85 (diff)
downloadgdb-8dfef1bd769223b3abfffabf8bd13a9b74258231.zip
gdb-8dfef1bd769223b3abfffabf8bd13a9b74258231.tar.gz
gdb-8dfef1bd769223b3abfffabf8bd13a9b74258231.tar.bz2
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.
Diffstat (limited to 'ld/emultempl/elf32.em')
-rw-r--r--ld/emultempl/elf32.em6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em
index 34a729e..618e20a 100644
--- a/ld/emultempl/elf32.em
+++ b/ld/emultempl/elf32.em
@@ -2454,6 +2454,12 @@ EOF
if test x"$GENERATE_SHLIB_SCRIPT" = xyes; then
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, _("\
-z norelro Don't create RELRO program header\n"));
fprintf (file, _("\
-z now Mark object non-lazy runtime binding\n"));