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-Tag: basepoints/gcc-10~2921 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=327eaaf9c0b75b0e6dd83eddeef86e690730539f;p=thirdparty%2Fgcc.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 42596160f96e..0a90bd6f21fe 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 8e16efcd6401..c2a944738ccf 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