From patchwork Sat Jan 2 20:14:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iain Sandoe X-Patchwork-Id: 1421783 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=sandoe.co.uk Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4D7Y6L3KzWz9sVR for ; Sun, 3 Jan 2021 07:15:21 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 67BD9386F47A; Sat, 2 Jan 2021 20:15:13 +0000 (GMT) X-Original-To: GCC-patches@gcc.gnu.org Delivered-To: GCC-patches@gcc.gnu.org Received: from smtp1.wavenetuk.net (smtp.wavenetuk.net [195.26.36.10]) by sourceware.org (Postfix) with ESMTP id 6E9B4386F465 for ; Sat, 2 Jan 2021 20:15:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6E9B4386F465 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=sandoe.co.uk Authentication-Results: sourceware.org; spf=none smtp.mailfrom=iain@sandoe.co.uk Received: from [192.168.1.212] (host81-138-1-83.in-addr.btopenworld.com [81.138.1.83]) by smtp1.wavenetuk.net (Postfix) with ESMTPA id BB3A21200A42; Sat, 2 Jan 2021 20:15:10 +0000 (GMT) Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: [pushed] Darwin, Simplify headers 3/5 : Delete dead code. From: Iain Sandoe In-Reply-To: <27C7B773-A880-4D7A-AF44-167A700AE3A5@sandoe.co.uk> Date: Sat, 2 Jan 2021 20:14:37 +0000 Message-Id: <9D56D4BF-8647-4239-8AFC-FAFB2E9ADA96@sandoe.co.uk> References: <263D52BC-1BE4-45BB-A62E-1C05EEBBC4B1@sandoe.co.uk> <19B01859-6FBF-4FC6-9CC0-A370199192D3@sandoe.co.uk> <27C7B773-A880-4D7A-AF44-167A700AE3A5@sandoe.co.uk> To: GCC Patches X-Mailer: Apple Mail (2.3273) X-Spam-Status: No, score=-15.2 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_COUK, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KAM_SHORT, KHOP_HELO_FCRDNS, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces@gcc.gnu.org Sender: "Gcc-patches" Hi, Darwin defines ASM_OUTPUT_ALIGNED_DECL_COMMON which is used in preference to ASM_OUTPUT_ALIGNED_COMMON, which makes the latter definition dead code. Remove this. tested as part 0 pushed to master Iain gcc/ChangeLog: * config/darwin9.h (ASM_OUTPUT_ALIGNED_COMMON): Delete. --- gcc/config/darwin9.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/gcc/config/darwin9.h b/gcc/config/darwin9.h index 125a35e7fc7..92a77eeec71 100644 --- a/gcc/config/darwin9.h +++ b/gcc/config/darwin9.h @@ -18,16 +18,5 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ -#undef ASM_OUTPUT_ALIGNED_COMMON -#define ASM_OUTPUT_ALIGNED_COMMON(FILE, NAME, SIZE, ALIGN) \ - do { \ - unsigned HOST_WIDE_INT _new_size = (SIZE); \ - fprintf ((FILE), "\t.comm "); \ - assemble_name ((FILE), (NAME)); \ - if (_new_size == 0) _new_size = 1; \ - fprintf ((FILE), "," HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ - _new_size, floor_log2 ((ALIGN) / BITS_PER_UNIT)); \ - } while (0) - #undef DEF_MIN_OSX_VERSION #define DEF_MIN_OSX_VERSION "10.5" -- 2.24.1