Introduce --enable-new-dtags configure option.
authorSlava Barinov <v.barinov@samsung.com>
Thu, 25 May 2017 08:10:06 +0000 (11:10 +0300)
committerDongkyun Son <dongkyun.s@samsung.com>
Wed, 3 May 2023 09:43:15 +0000 (18:43 +0900)
commitc052e5c33c472f264d52910cc4ecb31a636049a9
tree84c532beb36d466b1ef32fd873c887369f0de903
parent17099eeb33ca35016a73b8255ce936fa6b5d4c78
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 <v.barinov@samsung.com>
packaging/binutils-aarch64.spec
packaging/binutils-armv7l.spec
packaging/binutils.spec