From 83fc6d9ddc217e5961db4493021f807d4630c900 Mon Sep 17 00:00:00 2001 From: guenther Date: Thu, 8 Dec 2022 17:15:52 +0000 Subject: [PATCH] Change ld.bfd to default to --enable-new-dtags so that it generates DT_RUNPATH tags by default, so that it is consistent with ld.lld. ok millert@ miod@ kettenis@ kmos@ --- gnu/usr.bin/binutils-2.17/ld/ldmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/usr.bin/binutils-2.17/ld/ldmain.c b/gnu/usr.bin/binutils-2.17/ld/ldmain.c index e76dd8219b0..023eb504ba7 100644 --- a/gnu/usr.bin/binutils-2.17/ld/ldmain.c +++ b/gnu/usr.bin/binutils-2.17/ld/ldmain.c @@ -296,7 +296,7 @@ main (int argc, char **argv) link_info.keep_memory = TRUE; link_info.notice_all = FALSE; link_info.nocopyreloc = FALSE; - link_info.new_dtags = FALSE; + link_info.new_dtags = TRUE; /* to match lld */ link_info.combreloc = TRUE; link_info.eh_frame_hdr = FALSE; link_info.relro = TRUE; -- 2.20.1