summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-02-22 22:58:16 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-03-09 21:04:06 +0000
commitce71bb3d08de649b9099cf45af372fb575b08b8b (patch)
tree8dc30f14ee39ca19ff157ba81460d08ff7436861 /meta/recipes-devtools/binutils
parent5e172bdbe1e69ca33cbf5fb4f60846e9904878b9 (diff)
downloadpoky-ce71bb3d08de649b9099cf45af372fb575b08b8b.tar.gz
binutils: Enable --enable-new-dtags
Use DT_RUNPATH over DT_RPATH. If DT_RUNPATH is present, LD_LIBRARY_PATH is searched before DT_RUNPATH, Search order is DT_RPATH then LD_LIBRARY_PATH then DT_RUNPATH, this order ensures that injecting malicious shared objects is way harder with DT_RUNPATH. This is now default on major linux distributions already (From OE-Core rev: 66f8a745668a067d8d763fa2af3e65f26c9c1ebe) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils')
-rw-r--r--meta/recipes-devtools/binutils/binutils.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
index b2dbf241df..c69d29448f 100644
--- a/meta/recipes-devtools/binutils/binutils.inc
+++ b/meta/recipes-devtools/binutils/binutils.inc
@@ -96,6 +96,7 @@ EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
96 --disable-werror \ 96 --disable-werror \
97 --enable-deterministic-archives \ 97 --enable-deterministic-archives \
98 --enable-plugins \ 98 --enable-plugins \
99 --enable-new-dtags \
99 --disable-gdb \ 100 --disable-gdb \
100 --disable-gdbserver \ 101 --disable-gdbserver \
101 --disable-libdecnumber \ 102 --disable-libdecnumber \