From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by sourceware.org (Postfix) with ESMTPS id DEE063858D39 for ; Tue, 28 Sep 2021 19:08:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DEE063858D39 Received: by mail-wr1-x434.google.com with SMTP id g16so177641wrb.3 for ; Tue, 28 Sep 2021 12:08:54 -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=Lr3DuzyHg9F+ck32U4ehKcoiLemXn+8IuOdJ9sQnkYY=; b=o+6py1AZqDf1UBff5AYgt1mgjh9XpOum/D9x0D1glE/M23i0R6waPRM+FftDrWaZjA Qwwqwfi1F6MhdhbjfqTTVrigHBjHD90dd13D2Yz/SS5S0RVv3DTKArGkEZAbmRZa9ih+ 0zakUG7alGDoXNrBiGIRf/vCzfHW0W0Ih9a7yg1JWtIkT0UhBoFDcemqHa7iP61B5EhS HyCalIUgh8mHxlK/K+Jw+a7C6ZffiBsOWrrHIeyq+5foEWHCNmH3b6STcR7hEYKIMhqR 1rJzEnvvd3eG0abXk9/KGWLsvvqV9naA+LjqL5z8dPfu8ZsmZ+CUrcosHAiluk6oRJ6E /COw== X-Gm-Message-State: AOAM5326N6OyByULvNonHwEWNkmtIh9surjO2HNiXWgfHa7uD8b0JAsz YlMEkyo15XVV9IUiVjKggDEOXFHWYb7uhA== X-Google-Smtp-Source: ABdhPJy/9iMmnWw+cY0DJj2OaKy253Kh9yME+2fWtfpgmYPzFP260vxjj4xRo6A6ChJhajQssowyFg== X-Received: by 2002:adf:9147:: with SMTP id j65mr2078952wrj.163.1632856133931; Tue, 28 Sep 2021 12:08:53 -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 e21sm3556215wme.42.2021.09.28.12.08.53 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Sep 2021 12:08:53 -0700 (PDT) From: Iain Sandoe X-Google-Original-From: Iain Sandoe To: gcc-patches@gcc.gnu.org Subject: [pushed] libgcc, X86, Darwin: Export cpu_model and indicator. Date: Tue, 28 Sep 2021 20:08:47 +0100 Message-Id: <20210928190847.34748-1-iain@sandoe.co.uk> X-Mailer: git-send-email 2.24.3 (Apple Git-128) Reply-To: iain@sandoe.co.uk MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-List-Received-Date: Tue, 28 Sep 2021 19:08:56 -0000 Hi, These two symbols have been emitted since 4.8, but were not added to the Darwin exports, so we have been using the ones from libgcc.a. Added to libgcc_s now. tested on i686 and x86_64-darwin, pushed to master, thanks Iain Signed-off-by: Iain Sandoe libgcc/ChangeLog: * config/i386/libgcc-darwin.ver: Add Symbols for __cpu_model, __cpu_indicator_init. --- libgcc/config/i386/libgcc-darwin.ver | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libgcc/config/i386/libgcc-darwin.ver b/libgcc/config/i386/libgcc-darwin.ver index 5224cdc982e..c97dae73855 100644 --- a/libgcc/config/i386/libgcc-darwin.ver +++ b/libgcc/config/i386/libgcc-darwin.ver @@ -1,4 +1,7 @@ - +GCC_4.8.0 { + __cpu_model + __cpu_indicator_init +} %inherit GCC_12.0.0 GCC_7.0.0 GCC_12.0.0 { -- 2.24.3 (Apple Git-128)