aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite/lib
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-07-10 14:59:48 +0000
committerAlan Modra <amodra@gmail.com>2000-07-10 14:59:48 +0000
commit12c616f16e85d318aa0cb1842abcb557e4cf2d40 (patch)
treee6b4fbf8c191e93be0adac4a1f6a9585cc195172 /binutils/testsuite/lib
parent3c9f43b196df798c2f2e6556a220caceaa96edea (diff)
downloadgdb-12c616f16e85d318aa0cb1842abcb557e4cf2d40.zip
gdb-12c616f16e85d318aa0cb1842abcb557e4cf2d40.tar.gz
gdb-12c616f16e85d318aa0cb1842abcb557e4cf2d40.tar.bz2
Remove some of the hppa testsuite fudges for hppa-linux.
Diffstat (limited to 'binutils/testsuite/lib')
-rw-r--r--binutils/testsuite/lib/utils-lib.exp9
1 files changed, 5 insertions, 4 deletions
diff --git a/binutils/testsuite/lib/utils-lib.exp b/binutils/testsuite/lib/utils-lib.exp
index e27f217..de1535d 100644
--- a/binutils/testsuite/lib/utils-lib.exp
+++ b/binutils/testsuite/lib/utils-lib.exp
@@ -90,10 +90,11 @@ proc default_binutils_assemble { source object } {
# This is a hack in that it won't scale well if other targets need
# similar transformations to assemble. We'll generalize the hack
# if/when other targets need similar handling.
- if [istarget "hppa*-*-*" ] then {
- send_log "sed -f $srcdir/config/hppa.sed < $source > asm.s\n"
- verbose "sed -f $srcdir/config/hppa.sed < $source > asm.s"
- catch "exec sed -f $srcdir/config/hppa.sed < $source > asm.s";
+ if { [istarget "hppa*-*-*"] && ![istarget "*-*-linux*" ] } then {
+ set sed_file $srcdir/config/hppa.sed
+ send_log "sed -f $sed_file < $source > asm.s\n"
+ verbose "sed -f $sed_file < $source > asm.s"
+ catch "exec sed -f $sed_file < $source > asm.s";
set source asm.s
}