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

26 lines
1.1 KiB
Diff
Raw Normal View History

Index: binutils-2.23.1/ld/ld.texinfo
===================================================================
--- binutils-2.23.1.orig/ld/ld.texinfo
+++ binutils-2.23.1/ld/ld.texinfo
@@ -2089,7 +2089,7 @@ This linker can create the new dynamic t
systems may not understand them. If you specify
@option{--enable-new-dtags}, the dynamic tags will be created as needed.
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.1/ld/ldmain.c
===================================================================
--- binutils-2.23.1.orig/ld/ldmain.c
+++ binutils-2.23.1/ld/ldmain.c
@@ -275,6 +275,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;