aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2016-09-14 10:42:10 +0100
committerNick Clifton <nickc@redhat.com>2016-09-14 10:42:10 +0100
commit29063f8bfb9d68a213efd1d0ab7a66f97ed9a013 (patch)
treee3dc42be85b5b08d1854d6b174d359670a4eebdf /ld/ld.texinfo
parentd68ff01f176038a3a1f21bd2a60dd3d5a2ea0343 (diff)
downloadgdb-29063f8bfb9d68a213efd1d0ab7a66f97ed9a013.zip
gdb-29063f8bfb9d68a213efd1d0ab7a66f97ed9a013.tar.gz
gdb-29063f8bfb9d68a213efd1d0ab7a66f97ed9a013.tar.bz2
Add support for disabling automatic generation of .eh_frame_hdr sections in ELF based linkers.
PR ld/20537 * emultempl/elf32.em: More OPTION_xxx values into an enum. Add OPTION_NO_EH_FRAME_HDR. (_add_options): Add support for --no-eh-frame-hdr. * ld.texinfo: Document new option. * lexsup.c (elf_shlib_list_options): List new option. * NEWS: Mention the new option.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r--ld/ld.texinfo7
1 files changed, 5 insertions, 2 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 0213851..5944b12 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -2270,9 +2270,12 @@ 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
+@kindex --no-eh-frame-hdr
@item --eh-frame-hdr
-Request creation of @code{.eh_frame_hdr} section and ELF
-@code{PT_GNU_EH_FRAME} segment header.
+@itemx --no-eh-frame-hdr
+Request (@option{--eh-frame-hdr}) or suppress
+(@option{--no-eh-frame-hdr}) the creation of @code{.eh_frame_hdr}
+section and ELF @code{PT_GNU_EH_FRAME} segment header.
@kindex --ld-generated-unwind-info
@item --no-ld-generated-unwind-info