Remove some of the hppa testsuite fudges for hppa-linux.
[deliverable/binutils-gdb.git] / binutils / testsuite / lib / utils-lib.exp
index e27f21710c9e8d67f44c42bdb1d1565dd1ce12be..de1535dc70406330c9527945f307b82ef6e47915 100644 (file)
@@ -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
     }
 
This page took 0.023703 seconds and 4 git commands to generate.