Received: by mail.netbsd.org (Postfix, from userid 605) id 7910D84DDF; Thu, 14 Feb 2019 10:29:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id E913384DDE for ; Thu, 14 Feb 2019 10:29:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id jbkAIRBcMmdw for ; Thu, 14 Feb 2019 10:29:58 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 78EF284DDA for ; Thu, 14 Feb 2019 10:29:58 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 73E41FB16; Thu, 14 Feb 2019 10:29:58 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Thu, 14 Feb 2019 10:29:58 +0000 From: "matthew green" Subject: CVS commit: src/external/gpl3/gcc/dist/gcc To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20190214102958.73E41FB16@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "matthew green" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: mrg Date: Thu Feb 14 10:29:58 UTC 2019 Modified Files: src/external/gpl3/gcc/dist/gcc: output.h varasm.c Log Message: put joerg's varasm.c patch back with additional upstream fixes. now crtbegin.o has a read-only .eh_frame, and libstdc++ builds. 2017-09-01 Joerg Sonnenberger Jeff Law * varasm.c (bss_initializer_p): Do not put constants into .bss (categorize_decl_for_section): Handle bss_initializer_p returning false when DECL_INITIAL is NULL. 2017-11-27 Jakub Jelinek PR target/83100 * varasm.c (bss_initializer_p): Return true for DECL_COMMON TREE_READONLY decls. 2018-02-09 Jakub Jelinek PR middle-end/84237 * output.h (bss_initializer_p): Add NAMED argument, defaulted to false. * varasm.c (bss_initializer_p): Add NAMED argument, if true, ignore TREE_READONLY bit. (get_variable_section): For decls in named .bss* sections pass true as second argument to bss_initializer_p. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/dist/gcc/output.h \ src/external/gpl3/gcc/dist/gcc/varasm.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.