From: John David Anglin Date: Sat, 9 Mar 2019 18:51:39 +0000 (+0000) Subject: target-supports.exp (check_effective_target_weak_undefined): Return 0 on hppa*-*... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5b2803942b8ff724e80e413c700be160cec20ef8;p=gcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a2eec5e7448..a8ebc7f6fb4 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 242cc3f3149..d6e7a354e37 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 }