summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2022-12-08 17:15:53 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2022-12-08 17:15:53 +0000
commitae77b6daefb27c2fb4911d31e2838206332340dd (patch)
tree493ce898f1c1fc1f8e4e94ffbbfcdf63465ca319 /gnu/usr.bin
parente0ca09d77fa4daefbbb95a0bbb3713c761c7c901 (diff)
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@
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/binutils-2.17/ld/ldmain.c2
1 files changed, 1 insertions, 1 deletions
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;