From: Paul Koning Date: Tue, 20 Nov 2018 01:39:08 +0000 (-0500) Subject: target-supports.exp (check_weak_available): Return "no" for pdp11. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=327eaaf9c0b75b0e6dd83eddeef86e690730539f;p=gcc.git target-supports.exp (check_weak_available): Return "no" for pdp11. * lib/target-supports.exp (check_weak_available): Return "no" for pdp11. From-SVN: r266297 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 42596160f96..0a90bd6f21f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-11-19 Paul Koning + + * lib/target-supports.exp (check_weak_available): Return "no" for + pdp11. + 2018-11-19 Marek Polacek PR c++/87781 - detect invalid elaborated-type-specifier. diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 8e16efcd640..c2a944738cc 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -314,6 +314,12 @@ proc check_weak_available { } { return 1 } + # pdp11 doesn't support it + + if { [istarget pdp11*-*-*] } { + return 0 + } + # ELF and ECOFF support it. a.out does with gas/gld but may also with # other linkers, so we should try it