From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1299622-garchives=archives.gentoo.org@lists.gentoo.org> 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 9F156139345 for <garchives@archives.gentoo.org>; Tue, 6 Jul 2021 07:04:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EE753E0999; Tue, 6 Jul 2021 07:04:58 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 D93BCE0999 for <gentoo-commits@lists.gentoo.org>; Tue, 6 Jul 2021 07:04:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 A9812342B7A for <gentoo-commits@lists.gentoo.org>; Tue, 6 Jul 2021 07:04:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 106F87BA for <gentoo-commits@lists.gentoo.org>; Tue, 6 Jul 2021 07:04:56 +0000 (UTC) From: "Sergei Trofimovich" <slyfox@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" <slyfox@gentoo.org> Message-ID: <1625554963.2fb3fe47ca8e417f56687d05fc91a112ae08b813.slyfox@gentoo> Subject: [gentoo-commits] proj/toolchain/binutils-patches:master commit in: 9999/ X-VCS-Repository: proj/toolchain/binutils-patches X-VCS-Files: 9999/0007-Gentoo-ld-enable-new-dtags-by-default-for-linux-gnu-.patch X-VCS-Directories: 9999/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 2fb3fe47ca8e417f56687d05fc91a112ae08b813 X-VCS-Branch: master Date: Tue, 6 Jul 2021 07:04:56 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b0892ab6-b645-4a80-aa16-c23323028130 X-Archives-Hash: f979473d832ca682e6676af653a5b902 commit: 2fb3fe47ca8e417f56687d05fc91a112ae08b813 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Tue Jul 6 06:50:56 2021 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Tue Jul 6 07:02:43 2021 +0000 URL: https://gitweb.gentoo.org/proj/toolchain/binutils-patches.git/commit/?id=2fb3fe47 9999: refresh 0007-...-ld-enable-new-dtags-...patch Closes: https://bugs.gentoo.org/800254 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> ...-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 <<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 --