From patchwork Tue Sep 28 19:08:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iain Sandoe X-Patchwork-Id: 1534031 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=kEpsj16l; 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 4HJpvz3xXpz9shn for ; Wed, 29 Sep 2021 05:09:17 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 018973858412 for ; Tue, 28 Sep 2021 19:09:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 018973858412 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1632856155; bh=Lr3DuzyHg9F+ck32U4ehKcoiLemXn+8IuOdJ9sQnkYY=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=kEpsj16ligIQhNgYlnAu35D6DfO+Go9mYm50qmaw6APWCSqR20fND7yJOp0zpSmXP +Vkw0cn+cSV61NKR1fj2xyy/9eWB3ylerx429xsOL4OgE2U4YSNN5pDXGKy5coDqzZ bxQmrOVO0KPeGXTM1CHVtNv/gEZk8IhA2fRXiOpU= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org 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) 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) 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, 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 {