diff options
author | John David Anglin <dave.anglin@bell.net> | 2019-03-09 18:51:39 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2019-03-09 18:51:39 +0000 |
commit | 5b2803942b8ff724e80e413c700be160cec20ef8 (patch) | |
tree | de8901f3cec4507569faf9f8abbccababd7c60f0 /gcc | |
parent | b5c26787c4e5d7b13df865edb7439a875c844cfe (diff) | |
download | gcc-5b2803942b8ff724e80e413c700be160cec20ef8.zip gcc-5b2803942b8ff724e80e413c700be160cec20ef8.tar.gz gcc-5b2803942b8ff724e80e413c700be160cec20ef8.tar.bz2 |
target-supports.exp (check_effective_target_weak_undefined): Return 0 on hppa*-*-hpux*.
* lib/target-supports.exp (check_effective_target_weak_undefined):
Return 0 on hppa*-*-hpux*.
(check_ascii_locale_available): Likewise.
From-SVN: r269530
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/lib/target-supports.exp | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a2eec5e..a8ebc7f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2019-03-09 John David Anglin <dave.anglin@bell.net> + + * lib/target-supports.exp (check_effective_target_weak_undefined): + Return 0 on hppa*-*-hpux*. + (check_ascii_locale_available): Likewise. + 2019-03-09 Janus Weil <janus@gcc.gnu.org> PR fortran/84504 diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 242cc3f..d6e7a35 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -341,6 +341,9 @@ proc check_weak_available { } { # return 1 if weak undefined symbols are supported. proc check_effective_target_weak_undefined { } { + if { [istarget hppa*-*-hpux*] } { + return 0 + } return [check_runtime weak_undefined { extern void foo () __attribute__((weak)); int main (void) { if (foo) return 1; return 0; } @@ -1427,6 +1430,9 @@ proc check_effective_target_libatomic_available { } { # Return 1 if an ASCII locale is supported on this host, 0 otherwise. proc check_ascii_locale_available { } { + if { [istarget hppa*-*-hpux*] } { + return 0 + } return 1 } |