aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-01-18 17:43:58 +0000
committerMike Frysinger <vapier@gentoo.org>2013-01-18 17:43:58 +0000
commitb1b00fcc619cfa409c4e244f609ab82f3a3c37d2 (patch)
tree6947756f5289396789c0010bc3b879355709066d /ld
parent8ce3d284cb47f1b08c74d8a20b6b0cfd2d225d2c (diff)
downloadgdb-b1b00fcc619cfa409c4e244f609ab82f3a3c37d2.zip
gdb-b1b00fcc619cfa409c4e244f609ab82f3a3c37d2.tar.gz
gdb-b1b00fcc619cfa409c4e244f609ab82f3a3c37d2.tar.bz2
ld: change --enable-new-dtags to only generate new dtags
The "new" dtags options have been around for 14+ years, so there shouldn't be a need to generate both new & old tags anymore. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/NEWS2
-rw-r--r--ld/ld.texinfo3
3 files changed, 9 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index cfbe799..190e081 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2013-01-18 Mike Frysinger <vapier@gentoo.org>
+
+ * NEWS: Mention change in behavior with --enable-new-dtags.
+ * ld.texinfo (Options): Clarify --enable-new-dtags behavior.
+
2013-01-14 Leif Ekblad <leif@rdos.net>
Alan Modra <amodra@gmail.com>
diff --git a/ld/NEWS b/ld/NEWS
index 9b9f4a6..1e07605 100644
--- a/ld/NEWS
+++ b/ld/NEWS
@@ -2,6 +2,8 @@
* Add support for the Imagination Technologies Meta processor.
+* --enable-new-dtags no longer generates old dtags in addition to new dtags.
+
Changes in 2.23:
* Enable compressed debug section feature for x86/x86_64 pe-coff.
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 2429668..194f56a 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -2112,7 +2112,8 @@ if linker generated unwind info is supported.
@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
-@option{--enable-new-dtags}, the dynamic tags will be created as needed.
+@option{--enable-new-dtags}, the new dynamic tags will be created as needed
+and older dynamic tags will be omitted.
If you specify @option{--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.