From 5b2803942b8ff724e80e413c700be160cec20ef8 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Sat, 9 Mar 2019 18:51:39 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/lib/target-supports.exp | 6 ++++++ 2 files changed, 12 insertions(+) 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 + + * lib/target-supports.exp (check_effective_target_weak_undefined): + Return 0 on hppa*-*-hpux*. + (check_ascii_locale_available): Likewise. + 2019-03-09 Janus Weil 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 } -- 2.7.4