]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* lib/target-supports.exp (check_weak_available): Return "no" for
authorpkoning <pkoning@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Nov 2018 01:39:08 +0000 (01:39 +0000)
committerpkoning <pkoning@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Nov 2018 01:39:08 +0000 (01:39 +0000)
pdp11.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266297 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp

index 42596160f96e97f659f874d2eb8ecf3d3ec4ab38..0a90bd6f21febd7d5df8c3dab5460245aad1576f 100644 (file)
@@ -1,3 +1,8 @@
+2018-11-19  Paul Koning  <ni1d@arrl.net>
+
+       * lib/target-supports.exp (check_weak_available): Return "no" for
+       pdp11.
+
 2018-11-19  Marek Polacek  <polacek@redhat.com>
 
        PR c++/87781 - detect invalid elaborated-type-specifier.
index 8e16efcd6401e1c9a03113f84b4a07c3675cc747..c2a944738ccf8e1efc5249d0420ddeac1934cb31 100644 (file)
@@ -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