From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by sourceware.org (Postfix) with ESMTPS id E05F33858D1E; Sat, 24 Dec 2022 11:35:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E05F33858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-x433.google.com with SMTP id w15so6609671wrl.9; Sat, 24 Dec 2022 03:35:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:reply-to:message-id:date :subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=bA7uyOrHMHGbo0WRZoNSrI+TrU3MNqr+XYX5BXxYF6Q=; b=CsaMi+/7tTx93juGB70hP5ZDRF9M0pJdoB4lDzQ40ebcEImVv0bom5Cq1dqIqxAvD/ YK6woh/opQy0ylsVeHifaZ9X5ylwj05dP/3iUPy3scZtyKGhfbcE5pRkz7PwGhF7E+UY G9o9SEvMKE0n3IsAbzzy1xCwfU6WgP3Z3b4w4MavIiUnpbMglz0wex6zHvKBqlCdG3Ut sZTboYLSdiZJUvBFlkLJyIR8jWjV0pzzZiNT8EJ+LMe+WsP2ZIPNnJcDTtbqFGjoLn5A THPu6T2yH+OisrPMJWgnTtp0F2IE6QWDtCMdKMiCVn/8nTHOIBHB/zNCHhX+nLEkJR1l cZvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:reply-to:message-id:date :subject:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=bA7uyOrHMHGbo0WRZoNSrI+TrU3MNqr+XYX5BXxYF6Q=; b=f/9dUC8uPwiq4tkJllib72jaW2mrj4kA3cQlg3WxV+iXzaS8sfsCdhy2RoLz0Hzre2 QqXKgGC5u0RgebXiZ5TgrRlrM4FDrMDFAbwmZJfqy+zpOGI77sy/6JZao/ktY7pS/zXp rslbSlbDMfV8Rb7HGNt0oAwekvBFQLHQ73YmitSyYIE6foB1FoC7CPPvMV8LNvEnM7PQ nEBInV/7ZaL2sWTS2AKL0m9GobVwmjtV1N8gIhBXw9Os2P2Gdw6s8+PTKDlElQsj8NW9 8yw4RUJUXdGGWJf7Ap1k1gqGpRVvJpvZSTF36kwEv2LKI5/WKp7aDn7PcZ/Y/R31jepN wrhA== X-Gm-Message-State: AFqh2kqRIisILTeYMbUuZW74c20pAp3s9b55Zma2J3l9gmFkEXHK5VEe R2yjPJ9MZ+pbHySJrkHeNLQ8hfCMV+k= X-Google-Smtp-Source: AMrXdXuqx1OwLme/9e9h2NGgXqEt5rVNSggGa8qpzvsYa5k2UwbeUeXEhedWtsY6SqVaYW7hpF8wXw== X-Received: by 2002:a5d:6845:0:b0:274:357:68ea with SMTP id o5-20020a5d6845000000b00274035768eamr3450721wrw.7.1671881726595; Sat, 24 Dec 2022 03:35:26 -0800 (PST) Received: from localhost.localdomain (host81-138-1-83.in-addr.btopenworld.com. [81.138.1.83]) by smtp.gmail.com with ESMTPSA id c8-20020a5d4148000000b002428c4fb16asm5332043wrq.10.2022.12.24.03.35.25 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Sat, 24 Dec 2022 03:35:26 -0800 (PST) From: Iain Sandoe X-Google-Original-From: Iain Sandoe To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [PATCH] libstdc++: Export the __gnu_cxx::zoneinfo_dir_override symbol. Date: Sat, 24 Dec 2022 11:35:25 +0000 Message-Id: <20221224113525.20201-1-iain@sandoe.co.uk> X-Mailer: git-send-email 2.37.1 (Apple Git-137.1) Reply-To: iain@sandoe.co.uk MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-8.3 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.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: If this is not the right place to export the symbol (or you do not want to export it in the general case), I can always add a platform-specific file for it. So far, tested on x86_64-darwin21, wider testing will follow over the holidays. OK for trunk? Iain --- 8< --- This symbol needs to be visible in the library interface for Darwin to override it with a user-provided one. Signed-off-by: Iain Sandoe libstdc++-v3/ChangeLog: * config/abi/pre/gnu.ver (GLIBCXX_3.4): Add __gnu_cxx::zoneinfo_dir_override(). --- libstdc++-v3/config/abi/pre/gnu.ver | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libstdc++-v3/config/abi/pre/gnu.ver b/libstdc++-v3/config/abi/pre/gnu.ver index 570ffca8710..bd4ab450652 100644 --- a/libstdc++-v3/config/abi/pre/gnu.ver +++ b/libstdc++-v3/config/abi/pre/gnu.ver @@ -1104,6 +1104,9 @@ GLIBCXX_3.4 { # std::uncaught_exception() _ZSt18uncaught_exceptionv; + # __gnu_cxx::zoneinfo_dir_override() + _ZN9__gnu_cxx21zoneinfo_dir_overrideEv + # DO NOT DELETE THIS LINE. Port-specific symbols, if any, will be here. local: -- 2.37.1 (Apple Git-137.1)