From ffb1a5e41d6e859f5876904d614105727b03f9a2 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Tue, 30 Oct 2012 12:42:46 -0700 Subject: [PATCH] ld dtags --- ld/ld.texinfo | 2 +- ld/ldmain.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ld/ld.texinfo b/ld/ld.texinfo index 502582c..d8a655b 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -2154,7 +2154,7 @@ systems may not understand them. If you specify @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 +created. By default, the new dynamic tags are created. Note that those options are only available for ELF systems. @kindex --hash-size=@var{number} diff --git a/ld/ldmain.c b/ld/ldmain.c index bc24957..560daa6 100644 --- a/ld/ldmain.c +++ b/ld/ldmain.c @@ -276,6 +276,7 @@ main (int argc, char **argv) link_info.allow_undefined_version = TRUE; link_info.keep_memory = TRUE; + link_info.new_dtags = TRUE; link_info.combreloc = TRUE; link_info.strip_discarded = TRUE; link_info.emit_hash = TRUE; -- 2.7.4