[libstdc++] define zoneinfo_dir_override on vxworks
commitda3504ae4d1e6872585b1107a4932efd3824e943
authorAlexandre Oliva <oliva@adacore.com>
Thu, 18 Apr 2024 11:00:52 +0000 (18 08:00 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Thu, 18 Apr 2024 11:00:52 +0000 (18 08:00 -0300)
treeae236bc7c7a47994ba629d924862795564c87269
parenta2f4be3dae04fa8606d1cc8451f0b9d450f7e6e6
[libstdc++] define zoneinfo_dir_override on vxworks

VxWorks fails to load kernel-mode modules with weak undefined symbols.
In RTP mode modules, that undergo final linking, weak undefined
symbols are not a problem.

This patch adds kernel-mode VxWorks multilibs to the set of targets
that don't support weak undefined symbols without special flags, in
which tzdb's zoneinfo_dir_override is given a weak definition.

for  libstdc++-v3/ChangeLog

* src/c++20/tzdb.cc (__gnu_cxx::zoneinfo_dir_override): Define
on VxWorks non-RTP.
libstdc++-v3/src/c++20/tzdb.cc