aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2021-08-17 22:25:41 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2021-08-17 22:25:55 +0200
commit9ca5eb76a22b9740bc540120a37c856ddc6a8ded (patch)
tree4039989c2e497737fabb63374c26e5b1be4ea04f
parentRevert "ld script expression parsing" (diff)
downloadbinutils-gdb-9ca5eb76a22b9740bc540120a37c856ddc6a8ded.tar.gz
binutils-gdb-9ca5eb76a22b9740bc540120a37c856ddc6a8ded.tar.bz2
binutils-gdb-9ca5eb76a22b9740bc540120a37c856ddc6a8ded.zip
Revert "Gentoo: ld: enable new dtags by default for linux/gnu targets"gentoo/binutils-2.37_p1-upstreamgentoo/binutils-2.37_p1-0
This reverts commit f4ecba77ec1eb0576b8731c749336ea3889eba73. Bug: https://bugs.gentoo.org/808787
-rw-r--r--ld/emultempl/elf.em10
1 files changed, 0 insertions, 10 deletions
diff --git a/ld/emultempl/elf.em b/ld/emultempl/elf.em
index c4c42b7371a..bfaf8130a3e 100644
--- a/ld/emultempl/elf.em
+++ b/ld/emultempl/elf.em
@@ -81,16 +81,6 @@ gld${EMULATION_NAME}_before_parse (void)
input_flags.dynamic = ${DYNAMIC_LINK-true};
config.has_shared = `if test -n "$GENERATE_SHLIB_SCRIPT" ; then echo true ; else echo false ; fi`;
config.separate_code = `if test "x${SEPARATE_CODE}" = xyes ; then echo true ; else echo false ; fi`;
-EOF
-
-case ${target} in
- *-*-linux-* | *-*-k*bsd*-* | *-*-gnu* | *-*-nacl*)
- fragment <<EOF
- link_info.new_dtags = true;
-EOF
- ;;
-esac
-fragment <<EOF
link_info.check_relocs_after_open_input = true;
EOF
if test -n "$COMMONPAGESIZE"; then