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 C5932138359 for ; Sat, 25 Jul 2020 12:23:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E2552E08AD; Sat, 25 Jul 2020 12:23:33 +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 C4F69E08AD for ; Sat, 25 Jul 2020 12:23:33 +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 AA7D634EE13 for ; Sat, 25 Jul 2020 12:23:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D7369295 for ; Sat, 25 Jul 2020 12:23:29 +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: <1595679792.e4b8746852919960969944904c59334cecddfe25.dilfridge@gentoo> Subject: [gentoo-commits] proj/toolchain/binutils-patches:master commit in: 9999/ X-VCS-Repository: proj/toolchain/binutils-patches X-VCS-Files: 9999/0008-Gentoo-Restore-TEXTREL-warnings-for-non-shared-objec.patch X-VCS-Directories: 9999/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: e4b8746852919960969944904c59334cecddfe25 X-VCS-Branch: master Date: Sat, 25 Jul 2020 12:23:29 +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: d4f277dc-7360-42b5-8f67-31f7dbb910ca X-Archives-Hash: 29b39ae142e7a5ac393ac8b81a6eee44 commit: e4b8746852919960969944904c59334cecddfe25 Author: Andreas K. Hüttel gentoo org> AuthorDate: Sat Jul 25 12:23:12 2020 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Sat Jul 25 12:23:12 2020 +0000 URL: https://gitweb.gentoo.org/proj/toolchain/binutils-patches.git/commit/?id=e4b87468 Textrel warnings have been enabled upstream, drop patches (2) Signed-off-by: Andreas K. Hüttel gentoo.org> ...ore-TEXTREL-warnings-for-non-shared-objec.patch | 45 ---------------------- 1 file changed, 45 deletions(-) diff --git a/9999/0008-Gentoo-Restore-TEXTREL-warnings-for-non-shared-objec.patch b/9999/0008-Gentoo-Restore-TEXTREL-warnings-for-non-shared-objec.patch deleted file mode 100644 index 8e0e091..0000000 --- a/9999/0008-Gentoo-Restore-TEXTREL-warnings-for-non-shared-objec.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 74afb38257f4a35d681883348ef54317674827e3 Mon Sep 17 00:00:00 2001 -From: Sergei Trofimovich -Date: Thu, 1 Mar 2018 12:35:03 +0100 -Subject: [PATCH 8/9] Gentoo: Restore TEXTREL warnings for non-shared objects - ---- - bfd/elflink.c | 4 ++-- - ld/testsuite/ld-i386/warn1.d | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/bfd/elflink.c b/bfd/elflink.c -index 90ada7a1cc..b4636885aa 100644 ---- a/bfd/elflink.c -+++ b/bfd/elflink.c -@@ -12934,7 +12934,7 @@ bfd_elf_final_link (bfd *abfd, struct bfd_link_info *info) - goto error_return; - - /* Check for DT_TEXTREL (late, in case the backend removes it). */ -- if (((info->warn_shared_textrel && bfd_link_pic (info)) -+ if ((info->warn_shared_textrel - || info->error_textrel) - && (o = bfd_get_linker_section (dynobj, ".dynamic")) != NULL) - { -@@ -12955,7 +12955,7 @@ bfd_elf_final_link (bfd *abfd, struct bfd_link_info *info) - (_("%P%X: read-only segment has dynamic relocations\n")); - else - info->callbacks->einfo -- (_("%P: warning: creating a DT_TEXTREL in a shared object\n")); -+ (_("%P: warning: creating a DT_TEXTREL in object\n")); - break; - } - } -diff --git a/ld/testsuite/ld-i386/warn1.d b/ld/testsuite/ld-i386/warn1.d -index 3c78f31efd..49bcb5171f 100644 ---- a/ld/testsuite/ld-i386/warn1.d -+++ b/ld/testsuite/ld-i386/warn1.d -@@ -1,4 +1,4 @@ - #name: --warn-shared-textrel --fatal-warnings - #as: --32 - #ld: -shared -melf_i386 --warn-shared-textrel --fatal-warnings --#error: .*warning: creating a DT_TEXTREL in a shared object -+#error: .*warning: creating a DT_TEXTREL in object --- -2.26.2 -