From: Alan Modra Date: Mon, 10 Jul 2000 14:59:48 +0000 (+0000) Subject: Remove some of the hppa testsuite fudges for hppa-linux. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=12c616f16e85d318aa0cb1842abcb557e4cf2d40;p=binutils-gdb.git Remove some of the hppa testsuite fudges for hppa-linux. --- diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index 95434fd986c..a3d0a3adeb8 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2000-07-10 Alan Modra + + * lib/utils-lib.exp (default_binutils_assemble): Don't do the hppa + sed fudges for hppa-linux. + 2000-07-01 Frank Ch. Eigler * binutils-all/objdump.exp (cpus_expected, cpus_regex): Reorganize diff --git a/binutils/testsuite/lib/utils-lib.exp b/binutils/testsuite/lib/utils-lib.exp index e27f21710c9..de1535dc704 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 }