SHA256
1
0
forked from pool/binutils
binutils/ld-dtags.diff

26 lines
1.2 KiB
Diff
Raw Normal View History

Index: binutils-2.23.90/ld/ld.texinfo
===================================================================
--- binutils-2.23.90.orig/ld/ld.texinfo 2013-08-28 11:17:35.000000000 +0200
+++ binutils-2.23.90/ld/ld.texinfo 2013-09-20 15:31:49.000000000 +0200
@@ -2117,7 +2117,7 @@ systems may not understand them. If you
@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}
Index: binutils-2.23.90/ld/ldmain.c
===================================================================
--- binutils-2.23.90.orig/ld/ldmain.c 2013-06-22 18:44:15.000000000 +0200
+++ binutils-2.23.90/ld/ldmain.c 2013-09-20 15:31:49.000000000 +0200
@@ -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;