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 <i...@sandoe.co.uk>

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)

Reply via email to