aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite/lib/utils-lib.exp
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/testsuite/lib/utils-lib.exp')
-rw-r--r--binutils/testsuite/lib/utils-lib.exp4
1 files changed, 3 insertions, 1 deletions
diff --git a/binutils/testsuite/lib/utils-lib.exp b/binutils/testsuite/lib/utils-lib.exp
index 45c1f03..ace30e6 100644
--- a/binutils/testsuite/lib/utils-lib.exp
+++ b/binutils/testsuite/lib/utils-lib.exp
@@ -117,7 +117,9 @@ proc default_binutils_assemble_flags { source object asflags } {
# 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*-*-*"] && ![istarget "*-*-linux*" ] } then {
+ if { [istarget "hppa*-*-*"] \
+ && ![istarget "*-*-linux*"] \
+ && ![istarget "*-*-netbsd*" ] } {
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"