From patchwork Tue Sep 28 19:32:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iain Sandoe X-Patchwork-Id: 1534052 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=MMFPBVPp; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4HJqZh4MVhz9t0k for ; Wed, 29 Sep 2021 05:39:24 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5C8EF3858025 for ; Tue, 28 Sep 2021 19:39:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5C8EF3858025 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1632857962; bh=Z0NxEf8vurcSZJSBWgFmGxeXTy9FpyNWfUqSDXovMQk=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=MMFPBVPpZcstC9K/8ttxS1LRenFOuGrzm05Gb4kDtRLCls3Xz+14FX+oaUWui0MdS W3OCNDFXUQ7s3qh6/IyiWx78ZwwV8+AFjNrMzqBdyBMmicib85Tp4sZrWnydhmSsug k5BAP4orcyZPkCmmIRwDiKiGaIxPPZhpx6Tea08k= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by sourceware.org (Postfix) with ESMTPS id 261F73858022 for ; Tue, 28 Sep 2021 19:32:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 261F73858022 Received: by mail-wr1-x429.google.com with SMTP id t8so264278wrq.4 for ; Tue, 28 Sep 2021 12:32:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:reply-to :mime-version:content-transfer-encoding; bh=Z0NxEf8vurcSZJSBWgFmGxeXTy9FpyNWfUqSDXovMQk=; b=VKlrwmi8y0vRj+NZ+1aJglB6/3ZOaIq4EBro6ddVoXCv6EWKVXx0crb03B5He6wmQ3 abABWgktBg6R87O76ZR3vo/KXFqbHei4Feu7TOphU8Xts0Q3vZQ0pXYgQ5/Q134dJIQx eTDIFtweBfmHasQ/XJdE4NRL9F2IiaJYzH42HEFTwG1uyyzK2Vc5jSvvqbIpbbSRIpuE 2gPjYqC43zBSNRAhBIGAaC83wf0zlG+PhF18zkWkNXJSHz2IFBp+eyVCiqsJe2PcPbHg tT/DvWYaVr2CeQPU5PAwur4uQAwwbZ0OynkvjxY7E8SiUTCRVX3cZCcMhBQYvGe2LG23 kftg== X-Gm-Message-State: AOAM533q3IEaoBdbOm2JZ4Fn3VTTg1/rx6kbE6L/2RwZUL3/5+er9OYr dMSkhGq49soifYKOf+jMHWPHYADLzf+5tg== X-Google-Smtp-Source: ABdhPJyeG+RvJjG86jeWj5pmUXv61sUEqFMNeGDoZBKwmEtJMtW3nPziQvTrWATZZKCR1H+VPa+05Q== X-Received: by 2002:adf:dc8a:: with SMTP id r10mr2230059wrj.27.1632857531206; Tue, 28 Sep 2021 12:32:11 -0700 (PDT) Received: from localhost.localdomain (host81-138-1-83.in-addr.btopenworld.com. [81.138.1.83]) by smtp.gmail.com with ESMTPSA id p3sm31467wrn.47.2021.09.28.12.32.10 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Sep 2021 12:32:10 -0700 (PDT) X-Google-Original-From: Iain Sandoe To: gcc-patches@gcc.gnu.org Subject: [pushed] Darwin, D : Add .d suffix to the list for invoking dsymutil. Date: Tue, 28 Sep 2021 20:32:05 +0100 Message-Id: <20210928193205.35246-1-iain@sandoe.co.uk> X-Mailer: git-send-email 2.24.3 (Apple Git-128) MIME-Version: 1.0 X-Spam-Status: No, score=-8.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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: , X-Patchwork-Original-From: Iain Sandoe via Gcc-patches From: Iain Sandoe Reply-To: iain@sandoe.co.uk Cc: Iain Sandoe Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" Hi, Recognise .d for D source files on the command line. This will trigger an invocation of dsymutil when a D source is present. tested along with D patches on i686, powerpc and x86_64 darwin, pushed to master, thanks, Iain gcc/ChangeLog: * config/darwin.h (DSYMUTIL_SPEC): Recognize D sources. --- gcc/config/darwin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 50524a51511..0fa1c572bc9 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -251,7 +251,7 @@ extern GTY(()) int darwin_ms_struct; %{v} \ %{g*:%{!gctf:%{!gbtf:%{!gstabs*:%{%:debug-level-gt(0): -idsym}}}}}\ %{.c|.cc|.C|.cpp|.cp|.c++|.cxx|.CPP|.m|.mm|.s|.f|.f90|\ - .f95|.f03|.f77|.for|.F|.F90|.F95|.F03: \ + .f95|.f03|.f77|.for|.F|.F90|.F95|.F03|.d: \ %{g*:%{!gctf:%{!gbtf:%{!gstabs*:%{%:debug-level-gt(0): -dsym}}}}}}}}}}}}}" #define LINK_COMMAND_SPEC LINK_COMMAND_SPEC_A DSYMUTIL_SPEC