diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2023-04-18 17:22:40 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2023-04-18 17:28:29 +0100 |
commit | 6067ae4557a3a7e5b08359e78a29b8a9d5dfedce (patch) | |
tree | e6343b43de0995b5b41e515a8b49c7ad62825a40 /gcc/system.h | |
parent | 1e29f9063b0e771be5be922250665c4fed3dc46e (diff) | |
download | gcc-6067ae4557a3a7e5b08359e78a29b8a9d5dfedce.zip gcc-6067ae4557a3a7e5b08359e78a29b8a9d5dfedce.tar.gz gcc-6067ae4557a3a7e5b08359e78a29b8a9d5dfedce.tar.bz2 |
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.
Diffstat (limited to 'gcc/system.h')
0 files changed, 0 insertions, 0 deletions