]> gcc.gnu.org Git - gcc.git/commit
libstdc++: Fix preprocessor condition in linker script [PR108969]
authorJonathan Wakely <jwakely@redhat.com>
Tue, 18 Apr 2023 16:22:40 +0000 (17:22 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 18 Apr 2023 16:29:14 +0000 (17:29 +0100)
commited933888e680384e1e7af361b20dd484ad424f7d
tree850c29692811da73a61bf7face08b1a44c04d45c
parent762be0646bf96761ce68a9e06ab60c453e0963d0
libstdc++: Fix preprocessor condition in linker script [PR108969]

The linker script is preprocessed with $(top_builddir)/config.h not the
include/$target/bits/c++config.h version, which means that configure
macros do not have the _GLIBCXX_ prefix yet.

The _GLIBCXX_SYMVER_GNU and _GLIBCXX_SHARED checks are redundant,
because the gnu.ver file is only used for _GLIBCXX_SYMVER_GNU and the
linker script is only used for the shared library. Remove those.

libstdc++-v3/ChangeLog:

PR libstdc++/108969
* config/abi/pre/gnu.ver: Fix preprocessor condition.

(cherry picked from commit 6067ae4557a3a7e5b08359e78a29b8a9d5dfedce)
libstdc++-v3/config/abi/pre/gnu.ver
This page took 0.062776 seconds and 6 git commands to generate.