]> 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>
Mon, 11 Sep 2023 16:07:24 +0000 (17:07 +0100)
commitc7db9000fa7caceadb4e72dcc6226abebf7a6239
tree0f383acaae7aadb912697de3a0c2bbdbfe3431ac
parent286655d04678cb61dee9cac43b139571247c4ad1
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.
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