diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-10-11 23:34:28 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2015-10-11 23:34:28 +0100 |
commit | 3c97fe777c8534555ae4c5371aa9d9a643fe9e2f (patch) | |
tree | 50f20998f70802ec884331157bb342cfdf6b2bd6 /gcc/tree-ssa-threadbackward.c | |
parent | d52c212f455688e7a30de9addf45ea4a84174367 (diff) | |
download | gcc-3c97fe777c8534555ae4c5371aa9d9a643fe9e2f.zip gcc-3c97fe777c8534555ae4c5371aa9d9a643fe9e2f.tar.gz gcc-3c97fe777c8534555ae4c5371aa9d9a643fe9e2f.tar.bz2 |
Test for __cxa_thread_atexit_impl when cross-compiling libstdc++ for GNU targets.
I noticed that when testing glibc with a cross compiler I got
UNSUPPORTED: nptl/tst-thread_local1
because the libstdc++-v3 configuration for cross compiling defaulted
to __cxa_thread_atexit_impl not being available. This patch fixes
GLIBCXX_CROSSCONFIG to run the same test (for the case covering
targets with glibc) for __cxa_thread_atexit_impl as for native
compilation, just as it runs most of the other tests done for native
compilation (for these targets, it's not possible to build libstdc++
without already having built libc, so link tests are OK).
Tested with no regressions for cross to arm-none-linux-gnueabi.
* crossconfig.m4 (GLIBCXX_CROSSCONFIG) <*-linux* | *-uclinux* |
*-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*>: Check for
__cxa_thread_atexit_impl.
* configure: Regenerate.
From-SVN: r228695
Diffstat (limited to 'gcc/tree-ssa-threadbackward.c')
0 files changed, 0 insertions, 0 deletions