From 327eaaf9c0b75b0e6dd83eddeef86e690730539f Mon Sep 17 00:00:00 2001 From: Paul Koning Date: Mon, 19 Nov 2018 20:39:08 -0500 Subject: [PATCH] target-supports.exp (check_weak_available): Return "no" for pdp11. * lib/target-supports.exp (check_weak_available): Return "no" for pdp11. From-SVN: r266297 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/lib/target-supports.exp | 6 ++++++ 2 files changed, 11 insertions(+) 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 -- 2.30.2