* gas/h8300/cbranchh.s: Switch into h8300h mode.
[platform/upstream/binutils.git] / gas / testsuite / gas / h8300 / .Sanitize
1 # Sanitize.in for devo.
2 # $Id$
3 #
4
5 # Each directory to survive it's way into a release will need a file
6 # like this one called "./.Sanitize".  All keyword lines must exist,
7 # and must exist in the order specified by this file.  Each directory
8 # in the tree will be processed, top down, in the following order.
9
10 # Hash started lines like this one are comments and will be deleted
11 # before anything else is done.  Blank lines will also be squashed
12 # out.
13
14 # The lines between the "Do-first:" line and the "Things-to-keep:"
15 # line are executed as a /bin/sh shell script before anything else is
16 # done in this 
17
18 Do-first:
19
20
21 # All files listed between the "Things-to-keep:" line and the
22 # "Files-to-sed:" line will be kept.  All other files will be removed.
23 # Directories listed in this section will have their own Sanitize
24 # called.  Directories not listed will be removed in their entirety
25 # with rm -rf.
26
27 Things-to-keep:
28
29 addsub.s
30 addsubh.s
31 bitops1.s
32 bitops1h.s
33 bitops2.s
34 bitops2h.s
35 bitops3.s
36 bitops3h.s
37 bitops4.s
38 bitops4h.s
39 branches.s
40 branchesh.s
41 cbranch.s
42 cbranchh.s
43 cmpsi2.s
44 compare.s
45 compareh.s
46 decimal.s
47 decimalh.s
48 divmul.s
49 divmulh.s
50 extendh.s
51 ffxx1.d
52 ffxx1.s
53 h8300.exp
54 incdec.s
55 incdech.s
56 logical.s
57 logicalh.s
58 misc.s
59 misch.s
60 mov32bug.s
61 movb.s
62 movbh.s
63 movlh.s
64 movw.s
65 movwh.s
66 pushpop.s
67 pushpoph.s
68 rotshift.s
69 rotshifth.s
70
71 Things-to-lose:
72
73 addsubs.s
74 bitops1s.s
75 bitops2s.s
76 bitops3s.s
77 bitops4s.s
78 branchess.s
79 cbranchs.s
80 compares.s
81 decimals.s
82 divmuls.s
83 extends.s
84 incdecs.s
85 logicals.s
86 macs.s
87 miscs.s
88 movbs.s
89 movls.s
90 movws.s
91 multiples.s
92 pushpops.s
93 rotshifts.s
94
95 Do-last:
96
97 if [ -n "${verbose}" ] ; then
98         echo Processing \"h8s\"...
99 fi
100
101 h8s_files="h8300.exp"
102 if ( echo $* | grep keep\-h8s > /dev/null ) ; then
103         for i in $h8s_files ; do
104                 if test ! -d $i && (grep sanitize-h8s $i > /dev/null) ; then
105                         if [ -n "${verbose}" ] ; then
106                                 echo Keeping h8s stuff in $i
107                         fi
108                 fi
109         done
110 else
111         for i in $h8s_files ; do
112                 if test ! -d $i && (grep sanitize-h8s $i > /dev/null) ; then
113                         if [ -n "${verbose}" ] ; then
114                                 echo Removing traces of \"h8s\" from $i...
115                         fi
116                         cp $i new
117                         sed '/start\-sanitize\-h8s/,/end-\sanitize\-h8s/d' < $i > new
118                         if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
119                                 if [ -n "${verbose}" ] ; then
120                                         echo Caching $i in .Recover...
121                                 fi
122                                 mv $i .Recover
123                         fi
124                         mv new $i
125                 fi
126         done
127 fi
128
129 # End of file.