ld/configure --enable-new-dtags sets ld.bfd --enable-new-dtags option by
default.
The ld option switches on generation of DT_RUNPATH tag instead of DT_RPATH tag
which is deprecated and breaks LD_LIBRARY_PATH usage.
Debian binutils bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835859
* ld/configure.ac: Add --enable-new-dtags option.
* ld/ldmain.c: Set link_info.new_dtags to 1 if when --enable-new-dtags is
switched on.
* ld/configure: Regenerate.
* ld/config.in: Regenerate.
* packaging/binutils.spec: Switch on --enable-new-dtags.
* packaging/binutils-armv7l.spec: Regenerate.
* packaging/binutils-aarch64.spec: Regenerate.
Change-Id: I0ec86f61a8b97d55c29bb441a9ae4db94060ea22
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
} \
--enable-plugins \
--enable-gold \
- --enable-shared
+ --enable-shared \
+ --enable-new-dtags
make %{?_smp_mflags}
} \
--enable-plugins \
--enable-gold \
- --enable-shared
+ --enable-shared \
+ --enable-new-dtags
make %{?_smp_mflags}
} \
--enable-plugins \
--enable-gold \
- --enable-shared
+ --enable-shared \
+ --enable-new-dtags
make %{?_smp_mflags}