* lib/target-supports.exp (check_cxa_atexit_available): Return false
for target "hppa.*hpux10".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119842
138bc75d-0d04-0410-961f-
82ee72b054a4
+2006-12-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ PR testsuite/30157
+ * lib/target-supports.exp (check_cxa_atexit_available): Return false
+ for target "hppa.*hpux10".
+
2006-12-13 Jakub Jelinek <jakub@redhat.com>
* g++.dg/debug/vartrack1.C: New test.
proc check_cxa_atexit_available { } {
global et_cxa_atexit
global et_cxa_atexit_target_name
+ global target_triplet
global tool
if { ![info exists et_cxa_atexit_target_name] } {
if [info exists et_cxa_atexit] {
verbose "check_cxa_atexit_available: using cached result" 2
+ } elseif { [regexp "hppa.*hpux10" $target_triplet] } {
+ # HP-UX 10 doesn't have __cxa_atexit but subsequent test passes.
+ set et_cxa_atexit 0
} else {
set et_cxa_atexit 0