Tweak.
authorJeff Law <law@redhat.com>
Tue, 18 Jun 1996 20:02:10 +0000 (20:02 +0000)
committerJeff Law <law@redhat.com>
Tue, 18 Jun 1996 20:02:10 +0000 (20:02 +0000)
gas/testsuite/gas/h8300/.Sanitize

index 9c0fb2c60c11a1424be035f3b0b71e5aea09a0da..4e30ed1fdd92e3953ddcc6e8d751a088a9c5e896 100644 (file)
 
 Do-first:
 
+h8s_files="addsubs.s bitops1s.s bitops2s.s bitops3s.s bitops4s.s branchess.s cbranchs.s compares.s decimals.s divmuls.s extends.s incdecs.s logicals.s macs.s miscs.s movbs.s movls.s movws.s multiples.s pushpops.s rotshifts.s"
+
+if ( echo $* | grep keep\-h8s > /dev/null ) ; then
+       keep_these_too="${h8s_files} ${keep_these_too}"
+else
+       lose_these_too="${h8s_files} ${lose_these_too}"
+fi
 
 # All files listed between the "Things-to-keep:" line and the
 # "Files-to-sed:" line will be kept.  All other files will be removed.
@@ -70,28 +77,6 @@ rotshifth.s
 
 Things-to-lose:
 
-addsubs.s
-bitops1s.s
-bitops2s.s
-bitops3s.s
-bitops4s.s
-branchess.s
-cbranchs.s
-compares.s
-decimals.s
-divmuls.s
-extends.s
-incdecs.s
-logicals.s
-macs.s
-miscs.s
-movbs.s
-movls.s
-movws.s
-multiples.s
-pushpops.s
-rotshifts.s
-
 Do-last:
 
 if [ -n "${verbose}" ] ; then