]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Move __glibcxx_assert_fail to its own file
authorJonathan Wakely <jwakely@redhat.com>
Mon, 11 Sep 2023 14:58:48 +0000 (15:58 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 9 Nov 2023 08:04:29 +0000 (08:04 +0000)
commitc867a6e5527eb0c109fd53276bcb9cbcf3d8c254
tree81c61fd434f9a206d4cedd37110db853241ea3ba
parent6dafb7d99542e53b7889a1eeef6a1c0cd0bb1640
libstdc++: Move __glibcxx_assert_fail to its own file

This avoids a dependency on the other symbols in src/c++11/debug.o when
linking statically to libstdc++.a without using -Wl,--gc-sections.

libstdc++-v3/ChangeLog:

* src/c++11/Makefile.am: Add new file.
* src/c++11/Makefile.in: Regenerate.
* src/c++11/debug.cc (__glibcxx_assert_fail): Move to ...
* src/c++11/assert_fail.cc: New file.

(cherry picked from commit c7db9000fa7caceadb4e72dcc6226abebf7a6239)
libstdc++-v3/src/c++11/Makefile.am
libstdc++-v3/src/c++11/Makefile.in
libstdc++-v3/src/c++11/assert_fail.cc [new file with mode: 0644]
libstdc++-v3/src/c++11/debug.cc