From 2fb3fe47ca8e417f56687d05fc91a112ae08b813 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Tue, 6 Jul 2021 07:50:56 +0100 Subject: 9999: refresh 0007-...-ld-enable-new-dtags-...patch Closes: https://bugs.gentoo.org/800254 Signed-off-by: Sergei Trofimovich --- ...-Gentoo-ld-enable-new-dtags-by-default-for-linux-gnu-.patch | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/9999/0007-Gentoo-ld-enable-new-dtags-by-default-for-linux-gnu-.patch b/9999/0007-Gentoo-ld-enable-new-dtags-by-default-for-linux-gnu-.patch index b4c5a74..f16e13d 100644 --- a/9999/0007-Gentoo-ld-enable-new-dtags-by-default-for-linux-gnu-.patch +++ b/9999/0007-Gentoo-ld-enable-new-dtags-by-default-for-linux-gnu-.patch @@ -27,20 +27,20 @@ index 356f34538b..579e52253e 100644 --- a/ld/emultempl/elf.em +++ b/ld/emultempl/elf.em @@ -81,6 +81,16 @@ 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`; + 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 <