From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 822A7138359 for ; Sat, 25 Jul 2020 12:26:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ACBA5E089C; Sat, 25 Jul 2020 12:26:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8DBFFE089C for ; Sat, 25 Jul 2020 12:26:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8351C34ED3D for ; Sat, 25 Jul 2020 12:26:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2C598295 for ; Sat, 25 Jul 2020 12:26:11 +0000 (UTC) From: "Andreas K. Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas K. Hüttel" Message-ID: <1595679951.a74c34d8ec1f197f9c80861e0d6271ac63403993.dilfridge@gentoo> Subject: [gentoo-commits] proj/toolchain/binutils-patches:master commit in: 9999/ X-VCS-Repository: proj/toolchain/binutils-patches X-VCS-Files: 9999/0009-Gentoo-Pass-hash-style-sysv-and-no-warn-shared-textr.patch 9999/0009-Gentoo-Pass-hash-style-sysv.patch X-VCS-Directories: 9999/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: a74c34d8ec1f197f9c80861e0d6271ac63403993 X-VCS-Branch: master Date: Sat, 25 Jul 2020 12:26:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 68a4ea18-e21f-4629-a8b8-4702555a01a7 X-Archives-Hash: e7a11b2edc6fadb84bcc8f5c8507525d commit: a74c34d8ec1f197f9c80861e0d6271ac63403993 Author: Andreas K. Hüttel gentoo org> AuthorDate: Sat Jul 25 12:25:51 2020 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Sat Jul 25 12:25:51 2020 +0000 URL: https://gitweb.gentoo.org/proj/toolchain/binutils-patches.git/commit/?id=a74c34d8 Textrel warnings have been enabled upstream, drop patches (3) Signed-off-by: Andreas K. Hüttel gentoo.org> ...red-textr.patch => 0009-Gentoo-Pass-hash-style-sysv.patch} | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/9999/0009-Gentoo-Pass-hash-style-sysv-and-no-warn-shared-textr.patch b/9999/0009-Gentoo-Pass-hash-style-sysv.patch similarity index 85% rename from 9999/0009-Gentoo-Pass-hash-style-sysv-and-no-warn-shared-textr.patch rename to 9999/0009-Gentoo-Pass-hash-style-sysv.patch index 4ff406f..8ebb911 100644 --- a/9999/0009-Gentoo-Pass-hash-style-sysv-and-no-warn-shared-textr.patch +++ b/9999/0009-Gentoo-Pass-hash-style-sysv.patch @@ -1,8 +1,7 @@ From 2055e278cb6e984760dbf8627efef2158e215449 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= Date: Wed, 18 Oct 2017 00:44:49 +0200 -Subject: [PATCH 9/9] Gentoo: Pass --hash-style=sysv and - --no-warn-shared-textrel to ld in the testsuite +Subject: Gentoo: Pass --hash-style=sysv to ld in the testsuite --- binutils/testsuite/lib/binutils-common.exp | 2 +- @@ -18,7 +17,7 @@ index b9e3c6d817..bb4ef987b3 100644 # Add -L$srcdir/$subdir so that the linker command can use # linker scripts in the source directory. - set cmd "$LD $ld_extra_opt $LDFLAGS -L$srcdir/$subdir \ -+ set cmd "$LD --hash-style=sysv --no-warn-shared-textrel $ld_extra_opt $LDFLAGS -L$srcdir/$subdir \ ++ set cmd "$LD --hash-style=sysv $ld_extra_opt $LDFLAGS -L$srcdir/$subdir \ $opts(ld) -o $objfile $objfiles $opts(ld_after_inputfiles)" # If needed then check for, or add a -Map option. @@ -31,7 +30,7 @@ index 015eda6eb9..0b945b539d 100644 remote_file host delete $target - return [run_host_cmd_yesno "$ld" "$HOSTING_EMU -o $target -r $objects"] -+ return [run_host_cmd_yesno "$ld" "$HOSTING_EMU --hash-style=sysv --no-warn-shared-textrel -o $target -r $objects"] ++ return [run_host_cmd_yesno "$ld" "$HOSTING_EMU --hash-style=sysv -o $target -r $objects"] } # Check to see if ld is being invoked with a non-endian output format @@ -46,9 +45,9 @@ index 015eda6eb9..0b945b539d 100644 + # - ld-new -> we're working with the new linker + # - otherwise -> we're likely working with the system compiler + if {[regexp {ld-new$} $ld]} { -+ set gentoosysv "--hash-style=sysv --no-warn-shared-textrel" ++ set gentoosysv "--hash-style=sysv" + } else { -+ set gentoosysv "-Wl,--hash-style=sysv -Wl,--no-warn-shared-textrel" ++ set gentoosysv "-Wl,--hash-style=sysv" + } + remote_file host delete $target