Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/toolchain/binutils-patches:master commit in: 9999/
Date: Tue, 06 Jul 2021 07:04:59
Message-Id: 1625554963.2fb3fe47ca8e417f56687d05fc91a112ae08b813.slyfox@gentoo
1 commit: 2fb3fe47ca8e417f56687d05fc91a112ae08b813
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 6 06:50:56 2021 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 6 07:02:43 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/toolchain/binutils-patches.git/commit/?id=2fb3fe47
7
8 9999: refresh 0007-...-ld-enable-new-dtags-...patch
9
10 Closes: https://bugs.gentoo.org/800254
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 ...-Gentoo-ld-enable-new-dtags-by-default-for-linux-gnu-.patch | 10 +++++-----
14 1 file changed, 5 insertions(+), 5 deletions(-)
15
16 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
17 index b4c5a74..f16e13d 100644
18 --- a/9999/0007-Gentoo-ld-enable-new-dtags-by-default-for-linux-gnu-.patch
19 +++ b/9999/0007-Gentoo-ld-enable-new-dtags-by-default-for-linux-gnu-.patch
20 @@ -27,20 +27,20 @@ index 356f34538b..579e52253e 100644
21 --- a/ld/emultempl/elf.em
22 +++ b/ld/emultempl/elf.em
23 @@ -81,6 +81,16 @@ gld${EMULATION_NAME}_before_parse (void)
24 - input_flags.dynamic = ${DYNAMIC_LINK-TRUE};
25 - config.has_shared = `if test -n "$GENERATE_SHLIB_SCRIPT" ; then echo TRUE ; else echo FALSE ; fi`;
26 - config.separate_code = `if test "x${SEPARATE_CODE}" = xyes ; then echo TRUE ; else echo FALSE ; fi`;
27 + input_flags.dynamic = ${DYNAMIC_LINK-true};
28 + config.has_shared = `if test -n "$GENERATE_SHLIB_SCRIPT" ; then echo true ; else echo false ; fi`;
29 + config.separate_code = `if test "x${SEPARATE_CODE}" = xyes ; then echo true ; else echo false ; fi`;
30 +EOF
31 +
32 +case ${target} in
33 + *-*-linux-* | *-*-k*bsd*-* | *-*-gnu* | *-*-nacl*)
34 + fragment <<EOF
35 -+ link_info.new_dtags = TRUE;
36 ++ link_info.new_dtags = true;
37 +EOF
38 + ;;
39 +esac
40 +fragment <<EOF
41 - link_info.check_relocs_after_open_input = TRUE;
42 + link_info.check_relocs_after_open_input = true;
43 EOF
44 if test -n "$COMMONPAGESIZE"; then
45 --