Fix --enable-new-dtags config support
authorAlan Modra <amodra@gmail.com>
Mon, 5 Jun 2017 05:13:54 +0000 (14:43 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 5 Jun 2017 05:28:12 +0000 (14:58 +0930)
commit91001320a22466d1580e169bcb023d3b822226b4
treedfa9556ba8487c3e0b317c9afb276c2cb0c39222
parent6734f10ae9af6cfd47e70baa2cd3e326afabe5ed
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.
ld/ChangeLog
ld/ldmain.c
ld/testsuite/ld-elf/now-3.d
ld/testsuite/ld-elf/now-4.d
ld/testsuite/ld-elf/rpath-1.d
ld/testsuite/ld-elf/rpath-2.d