aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmain.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2017-06-05 14:43:54 +0930
committerAlan Modra <amodra@gmail.com>2017-06-05 14:58:12 +0930
commit91001320a22466d1580e169bcb023d3b822226b4 (patch)
treedfa9556ba8487c3e0b317c9afb276c2cb0c39222 /ld/ldmain.c
parent6734f10ae9af6cfd47e70baa2cd3e326afabe5ed (diff)
downloadgdb-91001320a22466d1580e169bcb023d3b822226b4.zip
gdb-91001320a22466d1580e169bcb023d3b822226b4.tar.gz
gdb-91001320a22466d1580e169bcb023d3b822226b4.tar.bz2
Fix --enable-new-dtags config support
and testsuite when configured with --enable-new-dtags. * ldmain.c (main): Correct setting of link_indo.new_dtags. * testsuite/ld-elf/now-3.d: Pass --disable-new-dtags to ld * testsuite/ld-elf/now-4.d: Likewise. * testsuite/ld-elf/rpath-1.d: Likewise. * testsuite/ld-elf/rpath-2.d: Likewise.
Diffstat (limited to 'ld/ldmain.c')
-rw-r--r--ld/ldmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c
index 045f323..2b3a591 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -299,7 +299,7 @@ main (int argc, char **argv)
link_info.compress_debug = COMPRESS_DEBUG_GABI_ZLIB;
#endif
#ifdef DEFAULT_NEW_DTAGS
- link_info.new_dtags = TRUE;
+ link_info.new_dtags = DEFAULT_NEW_DTAGS;
#endif
ldfile_add_arch ("");