diff options
author | Jakub Jelinek <jakub@redhat.com> | 2005-09-08 16:03:26 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2005-09-08 16:03:26 +0000 |
commit | 6aa29e7b7c282d553cf1d1d046c27a462bc31dd0 (patch) | |
tree | 2a2f1839df9faa043cb7ed59df55754f1ba5409a /ld/ld.texinfo | |
parent | 92fd189de17fc72329b06babf4b9a49881dba792 (diff) | |
download | gdb-6aa29e7b7c282d553cf1d1d046c27a462bc31dd0.zip gdb-6aa29e7b7c282d553cf1d1d046c27a462bc31dd0.tar.gz gdb-6aa29e7b7c282d553cf1d1d046c27a462bc31dd0.tar.bz2 |
* ld.texinfo: Document -z {no,}execstack, -z {no,}relro
and --eh-frame-hdr options.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r-- | ld/ld.texinfo | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo index ccb4b57..2099971 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -929,6 +929,9 @@ lookup caching possible. Disallows undefined symbols in object files. Undefined symbols in shared libraries are still allowed. +@item execstack +Marks the object as requiring executable stack. + @item initfirst This option is only meaningful when building a shared object. It marks the object so that its runtime initialization will occur @@ -967,6 +970,12 @@ Marks the object not available to @code{dlopen}. @item nodump Marks the object can not be dumped by @code{dldump}. +@item noexecstack +Marks the object as not requiring executable stack. + +@item norelro +Don't create an ELF @code{PT_GNU_RELRO} segment header in the object. + @item now When generating an executable or shared library, mark it to tell the dynamic linker to resolve all symbols when the program is started, or @@ -977,6 +986,9 @@ first called. @item origin Marks the object may contain $ORIGIN. +@item relro +Create an ELF @code{PT_GNU_RELRO} segment header in the object. + @end table Other keywords are ignored for Solaris compatibility. @@ -1814,6 +1826,11 @@ you should not put the definition of @code{__real_malloc} in the same file as @code{__wrap_malloc}; if you do, the assembler may resolve the call before the linker has a chance to wrap it to @code{malloc}. +@kindex --eh-frame-hdr +@item --eh-frame-hdr +Request creation of @code{.eh_frame_hdr} section and ELF +@code{PT_GNU_EH_FRAME} segment header. + @kindex --enable-new-dtags @kindex --disable-new-dtags @item --enable-new-dtags |