From 2548cbcc14abe396cdb4aa2258d075d0bee86c74 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 10 Aug 2002 12:48:52 +0000 Subject: [PATCH] * ld-discard/discard.exp: Don't run on linuxaout or linuxoldld. * ld-linkonce/linkonce.exp: Likewise. * ld-selective/sel-dump.exp: Likewise. * ld-selective/selective.exp: Don't run on aout or bout. --- ld/testsuite/ChangeLog | 7 +++++++ ld/testsuite/ld-discard/discard.exp | 7 ++++++- ld/testsuite/ld-linkonce/linkonce.exp | 7 ++++++- ld/testsuite/ld-selective/sel-dump.exp | 5 +++++ ld/testsuite/ld-selective/selective.exp | 4 +++- 5 files changed, 27 insertions(+), 3 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 22631e2..3c1d7db 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2002-08-10 Alan Modra + + * ld-discard/discard.exp: Don't run on linuxaout or linuxoldld. + * ld-linkonce/linkonce.exp: Likewise. + * ld-selective/sel-dump.exp: Likewise. + * ld-selective/selective.exp: Don't run on aout or bout. + 2002-08-08 H.J. Lu * ld-elfvers/vers.exp: Add vers22. diff --git a/ld/testsuite/ld-discard/discard.exp b/ld/testsuite/ld-discard/discard.exp index 6aa9560..4a62983 100644 --- a/ld/testsuite/ld-discard/discard.exp +++ b/ld/testsuite/ld-discard/discard.exp @@ -1,5 +1,5 @@ # Expect script for ld discard tests -# Copyright 2001 Free Software Foundation, Inc. +# Copyright 2001, 2002 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -29,6 +29,11 @@ if { ![istarget *-*-linux*] \ return } +if { [istarget *-*-linux*aout*] \ + || [istarget *-*-linux*oldld*] } { + return +} + load_lib ld-lib.exp set test_list [lsort [glob -nocomplain $srcdir/$subdir/*.d]] diff --git a/ld/testsuite/ld-linkonce/linkonce.exp b/ld/testsuite/ld-linkonce/linkonce.exp index 2e24d28..4544930 100644 --- a/ld/testsuite/ld-linkonce/linkonce.exp +++ b/ld/testsuite/ld-linkonce/linkonce.exp @@ -1,5 +1,5 @@ # Expect script for ld linkonce tests -# Copyright 2001 Free Software Foundation, Inc. +# Copyright 2001, 2002 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -28,6 +28,11 @@ if { ![istarget *-*-linux*] \ return } +if { [istarget *-*-linux*aout*] \ + || [istarget *-*-linux*oldld*] } { + return +} + load_lib ld-lib.exp set rd_test_list [lsort [glob -nocomplain $srcdir/$subdir/*.d]] diff --git a/ld/testsuite/ld-selective/sel-dump.exp b/ld/testsuite/ld-selective/sel-dump.exp index e99d5ae..273271c 100644 --- a/ld/testsuite/ld-selective/sel-dump.exp +++ b/ld/testsuite/ld-selective/sel-dump.exp @@ -25,6 +25,11 @@ if { ![istarget *-*-linux*] return } +if { [istarget *-*-linux*aout*] \ + || [istarget *-*-linux*oldld*] } { + return +} + load_lib ld-lib.exp set test_list [lsort [glob -nocomplain $srcdir/$subdir/*.d]] diff --git a/ld/testsuite/ld-selective/selective.exp b/ld/testsuite/ld-selective/selective.exp index 902600a..e88ce1f 100644 --- a/ld/testsuite/ld-selective/selective.exp +++ b/ld/testsuite/ld-selective/selective.exp @@ -20,7 +20,9 @@ # AOUT based ports do not support selective linking -if {[istarget "vax-*-ultrix*"]} { +if {[istarget "*-*-*aout*"] \ + || [istarget "*-*-*bout*"] \ + || [istarget "vax-*-ultrix*"]} { return } -- 2.7.4