]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
binutils: Enable --enable-new-dtags
authorKhem Raj <raj.khem@gmail.com>
Thu, 23 Feb 2023 06:58:16 +0000 (22:58 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 Mar 2023 21:03:42 +0000 (21:03 +0000)
commit66f8a745668a067d8d763fa2af3e65f26c9c1ebe
treee2accf08959cd094f536b74ceb8b6d079d1f1576
parentc4a7b3decff636292f5e76e95406a22b6fe4a994
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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/binutils/binutils.inc