diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2000-07-20 21:18:23 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2000-07-20 21:18:23 +0000 |
commit | 6c1439be2121d3d9140b458194e3c0fd1618a9b0 (patch) | |
tree | 0ef752bc90408d6eec2412a614956c5ebbd5a0d7 /ld/ld.texinfo | |
parent | c25373b76aea96ee3be21f06938518f8faa7d5dc (diff) | |
download | gdb-6c1439be2121d3d9140b458194e3c0fd1618a9b0.zip gdb-6c1439be2121d3d9140b458194e3c0fd1618a9b0.tar.gz gdb-6c1439be2121d3d9140b458194e3c0fd1618a9b0.tar.bz2 |
2000-07-20 H.J. Lu <hjl@gnu.org>
* ld.texinfo: Add documentation for --disable-new-dtags and
--enable-new-dtags.
* ldmain.c (main): Initialize link_info.new_dtags to false.
* emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
--disable-new-dtags and --enable-new-dtags.
(gld_${EMULATION_NAME}_list_options): Likewise.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r-- | ld/ld.texinfo | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo index 6ca9432..cce8322 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -1375,6 +1375,17 @@ 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 --enable-new-dtags +@kindex --disable-new-dtags +@item --enable-new-dtags +@itemx --disable-new-dtags +This linker can create the new dynamic tags in ELF. But the older ELF +systems may not understand them. If you specify +@code{--enable-new-dtags}, the dynamic tags will be created as needed. +If you specify @code{--disable-new-dtags}, no new dynamic tags will be +created. By default, the new dynamic tags are not created. Note that +those options are only available for ELF systems. + @end table @subsection Options specific to i386 PE targets |