From: Slava Barinov Date: Thu, 25 May 2017 08:10:06 +0000 (+0300) Subject: Introduce --enable-new-dtags configure option. X-Git-Tag: submit/tizen_base/20200121.014816~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d62f66999f8f33054bd1c37fc5522aa0938fa306;p=external%2Fbinutils.git Introduce --enable-new-dtags configure option. 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 --- diff --git a/packaging/binutils-aarch64.spec b/packaging/binutils-aarch64.spec index 56dce89..ea628b8 100644 --- a/packaging/binutils-aarch64.spec +++ b/packaging/binutils-aarch64.spec @@ -100,7 +100,8 @@ cd build-dir } \ --enable-plugins \ --enable-gold \ - --enable-shared + --enable-shared \ + --enable-new-dtags make %{?_smp_mflags} diff --git a/packaging/binutils-armv7l.spec b/packaging/binutils-armv7l.spec index 4f94202..6ef2038 100644 --- a/packaging/binutils-armv7l.spec +++ b/packaging/binutils-armv7l.spec @@ -100,7 +100,8 @@ cd build-dir } \ --enable-plugins \ --enable-gold \ - --enable-shared + --enable-shared \ + --enable-new-dtags make %{?_smp_mflags} diff --git a/packaging/binutils.spec b/packaging/binutils.spec index cb05a89..b6826cc 100644 --- a/packaging/binutils.spec +++ b/packaging/binutils.spec @@ -97,7 +97,8 @@ cd build-dir } \ --enable-plugins \ --enable-gold \ - --enable-shared + --enable-shared \ + --enable-new-dtags make %{?_smp_mflags}