]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/testsuite/sim/m32r/.Sanitize
* config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
[thirdparty/binutils-gdb.git] / sim / testsuite / sim / m32r / .Sanitize
CommitLineData
cf6145bc
DE
1# .Sanitize for devo/sim/testsuite/sim/m32r
2
3# Each directory to survive it's way into a release will need a file
4# like this one called "./.Sanitize". All keyword lines must exist,
5# and must exist in the order specified by this file. Each directory
6# in the tree will be processed, top down, in the following order.
7
8# Hash started lines like this one are comments and will be deleted
9# before anything else is done. Blank lines will also be squashed
10# out.
11
12# The lines between the "Do-first:" line and the "Things-to-keep:"
13# line are executed as a /bin/sh shell script before anything else is
14# done in this
15
16Do-first:
17
579d9a97 18cygnus_files="
cf6145bc
DE
19bcl24.cgs
20bcl8.cgs
21bncl24.cgs
22bncl8.cgs
f3c7eb69 23bra8-2.cgs
cf6145bc
DE
24cmpeq.cgs
25cmpz.cgs
26divh.cgs
27jc.cgs
28jnc.cgs
29maclh1.cgs
489564e2 30maclh1-2.cgs
cf6145bc
DE
31machi-a.cgs
32maclo-a.cgs
fe63ffef
DE
33macwhi-a.cgs
34macwlo-a.cgs
cf6145bc
DE
35macwu1.cgs
36msblo.cgs
37mulhi-a.cgs
38mullo-a.cgs
fe63ffef
DE
39mulwhi-a.cgs
40mulwlo-a.cgs
cf6145bc
DE
41mulwu1.cgs
42mvfachi-a.cgs
43mvfaclo-a.cgs
44mvfacmi-a.cgs
45mvtachi-a.cgs
46mvtaclo-a.cgs
47pcmpbz.cgs
cf6145bc 48rac-dsi.cgs
cf6145bc
DE
49rach-dsi.cgs
50sadd.cgs
51sat.cgs
52satb.cgs
53sath.cgs
54sc.cgs
55snc.cgs"
56
579d9a97
JL
57if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
58 keep_these_too="${cygnus_files} ${keep_these_too}"
cf6145bc 59else
579d9a97 60 lose_these_too="${cygnus_files} ${lose_these_too}"
cf6145bc
DE
61fi
62
63Things-to-keep:
64
65allinsn.exp
66misc.exp
67testutils.inc
68
69add.cgs
70add3.cgs
71addi.cgs
72addv.cgs
73addv3.cgs
74addx.cgs
75and.cgs
76and3.cgs
77bc24.cgs
78bc8.cgs
79beq.cgs
80beqz.cgs
81bgez.cgs
82bgtz.cgs
83bl24.cgs
84bl8.cgs
85blez.cgs
86bltz.cgs
87bnc24.cgs
88bnc8.cgs
89bne.cgs
90bnez.cgs
91bra24.cgs
92bra8.cgs
93cmp.cgs
94cmpi.cgs
95cmpu.cgs
96cmpui.cgs
97div.cgs
98divu.cgs
99jl.cgs
100jmp.cgs
101ld-d.cgs
102ld-plus.cgs
103ld.cgs
104ld24.cgs
105ldb-d.cgs
106ldb.cgs
107ldh-d.cgs
108ldh.cgs
109ldi16.cgs
110ldi8.cgs
111ldub-d.cgs
112ldub.cgs
113lduh-d.cgs
114lduh.cgs
115lock.cgs
116machi.cgs
117maclo.cgs
118macwhi.cgs
119macwlo.cgs
120mul.cgs
121mulhi.cgs
122mullo.cgs
123mulwhi.cgs
124mulwlo.cgs
125mv.cgs
126mvfachi.cgs
127mvfaclo.cgs
128mvfacmi.cgs
129mvfc.cgs
130mvtachi.cgs
131mvtaclo.cgs
132mvtc.cgs
133neg.cgs
134nop.cgs
135not.cgs
136or.cgs
137or3.cgs
138rac.cgs
139rach.cgs
140rem.cgs
141remu.cgs
142rte.cgs
143seth.cgs
144sll.cgs
145sll3.cgs
146slli.cgs
147sra.cgs
148sra3.cgs
149srai.cgs
150srl.cgs
151srl3.cgs
152srli.cgs
153st-d.cgs
154st-minus.cgs
155st-plus.cgs
156st.cgs
157stb-d.cgs
158stb.cgs
159sth-d.cgs
160sth.cgs
161sub.cgs
162subv.cgs
163subx.cgs
164trap.cgs
165unlock.cgs
166xor.cgs
167xor3.cgs
168
169hello.ms
8686807e 170hw-trap.ms
b58ffc7b
DE
171uread16.ms
172uread32.ms
173uwrite16.ms
174uwrite32.ms
cf6145bc
DE
175
176Things-to-lose:
177
178Do-last:
179
579d9a97
JL
180cygnus_files="allinsn.exp misc.exp testutils.inc"
181if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
182 for i in $cygnus_files ; do
183 if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
cf6145bc 184 if [ -n "${verbose}" ] ; then
579d9a97 185 echo Keeping cygnus stuff in $i
cf6145bc
DE
186 fi
187 fi
188 done
189else
579d9a97
JL
190 for i in $cygnus_files ; do
191 if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
cf6145bc 192 if [ -n "${verbose}" ] ; then
579d9a97 193 echo Removing traces of \"cygnus\" from $i...
cf6145bc
DE
194 fi
195 cp $i new
579d9a97 196 sed '/start\-sanitize\-cygnus/,/end-\sanitize\-cygnus/d' < $i > new
cf6145bc
DE
197 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
198 if [ -n "${verbose}" ] ; then
199 echo Caching $i in .Recover...
200 fi
201 mv $i .Recover
202 fi
203 mv new $i
204 fi
205 done
579d9a97 206 # Remove cygnus from `mach'.
cf6145bc
DE
207 for i in *.cgs ; do
208 if [ -n "${verbose}" ] ; then
579d9a97 209 echo Removing traces of \"cygnus\" from $i...
cf6145bc
DE
210 fi
211 cp $i new
579d9a97 212 sed -e 's/cygnus//' < $i > new
cf6145bc
DE
213 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
214 if [ -n "${verbose}" ] ; then
215 echo Caching $i in .Recover...
216 fi
217 mv $i .Recover
218 fi
219 mv new $i
220 done
221fi
222
223# End of file.