From: guenther Date: Thu, 8 Dec 2022 17:15:52 +0000 (+0000) Subject: Change ld.bfd to default to --enable-new-dtags so that it generates X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=83fc6d9ddc217e5961db4493021f807d4630c900;p=openbsd 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@ --- 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;