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-Tag: basepoints/gcc-10~720 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b2803942b8ff724e80e413c700be160cec20ef8;p=thirdparty%2Fgcc.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 a2eec5e74480..a8ebc7f6fb46 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 242cc3f31498..d6e7a354e379 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 }