diff options
-rw-r--r-- | 9999/0007-Gentoo-ld-enable-new-dtags-by-default-for-linux-gnu-.patch | 10 |
1 files 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 <<EOF -+ link_info.new_dtags = TRUE; ++ link_info.new_dtags = true; +EOF + ;; +esac +fragment <<EOF - link_info.check_relocs_after_open_input = TRUE; + link_info.check_relocs_after_open_input = true; EOF if test -n "$COMMONPAGESIZE"; then -- |