diff options
author | Slava Barinov <v.barinov@samsung.com> | 2017-06-05 09:27:38 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-06-05 09:58:05 +0930 |
commit | 6734f10ae9af6cfd47e70baa2cd3e326afabe5ed (patch) | |
tree | afa7629a0be2b40664ddffb5550cf929a24c0995 /ld/ldmain.c | |
parent | 3ea0007c8ca3ec851df6ab5391a98467b4021f92 (diff) | |
download | binutils-6734f10ae9af6cfd47e70baa2cd3e326afabe5ed.zip binutils-6734f10ae9af6cfd47e70baa2cd3e326afabe5ed.tar.gz binutils-6734f10ae9af6cfd47e70baa2cd3e326afabe5ed.tar.bz2 |
Introduce --enable-new-dtags configure option.
This option switches on ld.bfd --enable-new-dtags by default.
* configure.ac: Add --enable-new-dtags option.
* ldmain.c: Set link_info.new_dtags to 1 if when --enable-new-dtags is
switched on.
* configure: Regenerate.
* config.in: Regenerate.
Diffstat (limited to 'ld/ldmain.c')
-rw-r--r-- | ld/ldmain.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c index e049de3..045f323 100644 --- a/ld/ldmain.c +++ b/ld/ldmain.c @@ -298,6 +298,9 @@ main (int argc, char **argv) #ifdef DEFAULT_FLAG_COMPRESS_DEBUG link_info.compress_debug = COMPRESS_DEBUG_GABI_ZLIB; #endif +#ifdef DEFAULT_NEW_DTAGS + link_info.new_dtags = TRUE; +#endif ldfile_add_arch (""); emulation = get_emulation (argc, argv); |