remove d10v sanitization
[deliverable/binutils-gdb.git] / gas / config / .Sanitize
1 # .Sanitize for devo/gas/config
2
3 # Each directory to survive its 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
16 Do-first:
17
18 arc_files="tc-arc.c tc-arc.h"
19
20 if ( echo $* | grep keep\-arc > /dev/null ) ; then
21 keep_these_too="${arc_files} ${keep_these_too}"
22 else
23 lose_these_too="${arc_files} ${lose_these_too}"
24 fi
25
26 d30v_files="tc-d30v.c tc-d30v.h"
27
28 if ( echo $* | grep keep\-d30v > /dev/null ) ; then
29 keep_these_too="${d30v_files} ${keep_these_too}"
30 else
31 lose_these_too="${d30v_files} ${lose_these_too}"
32 fi
33
34 v850_files="tc-v850.c tc-v850.h"
35
36 if ( echo $* | grep keep\-v850 > /dev/null ) ; then
37 keep_these_too="${v850_files} ${keep_these_too}"
38 else
39 lose_these_too="${v850_files} ${lose_these_too}"
40 fi
41
42 tic80_files="tc-tic80.c tc-tic80.h"
43
44 if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
45 keep_these_too="${tic80_files} ${keep_these_too}"
46 else
47 lose_these_too="${tic80_files} ${lose_these_too}"
48 fi
49
50 # All files listed between the "Things-to-keep:" line and the
51 # "Files-to-sed:" line will be kept. All other files will be removed.
52 # Directories listed in this section will have their own Sanitize
53 # called. Directories not listed will be removed in their entirety
54 # with rm -rf.
55
56 Things-to-keep:
57
58 aout_gnu.h
59 arm-big.mt
60 arm-lit.mt
61 atof-ieee.c
62 atof-tahoe.c
63 atof-vax.c
64 go32.cfg
65 e-i386coff.c
66 e-i386elf.c
67 e-mipsecoff.c
68 e-mipself.c
69 i386coff.mt
70 itbl-mips.h
71 m68k-parse.h
72 m68k-parse.y
73 m68kcoff.mt
74 m88k-opcode.h
75 m88kcoff.mt
76 mips-big.mt
77 mips-lit.mt
78 obj-aout.c
79 obj-aout.h
80 obj-bout.c
81 obj-bout.h
82 obj-coff.c
83 obj-coff.h
84 obj-ecoff.c
85 obj-ecoff.h
86 obj-elf.c
87 obj-elf.h
88 obj-evax.c
89 obj-evax.h
90 obj-generic.c
91 obj-generic.h
92 obj-hp300.c
93 obj-hp300.h
94 obj-ieee.c
95 obj-ieee.h
96 obj-multi.c
97 obj-multi.h
98 obj-som.c
99 obj-som.h
100 obj-vms.c
101 obj-vms.h
102 ppc-big.mt
103 ppc-lit.mt
104 ppc-sol.mt
105 sco5.mt
106 tc-a29k.c
107 tc-a29k.h
108 tc-alpha.c
109 tc-alpha.h
110 tc-arm.c
111 tc-arm.h
112 tc-d10v.c
113 tc-d10v.h
114 tc-generic.c
115 tc-generic.h
116 tc-h8300.c
117 tc-h8300.h
118 tc-h8500.c
119 tc-h8500.h
120 tc-hppa.c
121 tc-hppa.h
122 tc-i386.c
123 tc-i386.h
124 tc-i860.c
125 tc-i860.h
126 tc-i960.c
127 tc-i960.h
128 tc-m68851.h
129 tc-m68k.c
130 tc-m68k.h
131 tc-m88k.c
132 tc-m88k.h
133 tc-mips.c
134 tc-mips.h
135 tc-mn10200.c
136 tc-mn10200.h
137 tc-mn10300.c
138 tc-mn10300.h
139 tc-ns32k.c
140 tc-ns32k.h
141 tc-ppc.c
142 tc-ppc.h
143 tc-sh.c
144 tc-sh.h
145 tc-sparc.c
146 tc-sparc.h
147 tc-tahoe.c
148 tc-tahoe.h
149 tc-vax.c
150 tc-vax.h
151 tc-w65.c
152 tc-w65.h
153 tc-z8k.c
154 tc-z8k.h
155 te-386bsd.h
156 te-aux.h
157 te-delta.h
158 te-delt88.h
159 te-dpx2.h
160 te-dynix.h
161 te-generic.h
162 te-go32.h
163 te-hp300.h
164 te-hppa.h
165 te-i386aix.h
166 te-ic960.h
167 te-linux.h
168 te-lnews.h
169 te-lynx.h
170 te-mach.h
171 te-macos.h
172 te-multi.h
173 te-nbsd.h
174 te-nbsd532.h
175 te-pc532mach.h
176 te-pe.h
177 te-ppcnw.h
178 te-psos.h
179 te-riscix.h
180 te-sco386.h
181 te-sparcaout.h
182 te-sun3.h
183 te-svr4.h
184 te-sysv32.h
185 vax-inst.h
186 vms-conf.h
187 vms-a-conf.h
188
189 Things-to-lose:
190
191 Do-last:
192
193 r5900_files="tc-mips.c"
194
195 if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
196 for i in $r5900_files ; do
197 if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
198 if [ -n "${verbose}" ] ; then
199 echo Keeping r5900 stuff in $i
200 fi
201 fi
202 done
203 else
204 for i in * ; do
205 if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
206 if [ -n "${verbose}" ] ; then
207 echo Removing traces of \"r5900\" from $i...
208 fi
209 cp $i new
210 sed '/start\-sanitize\-r5900/,/end-\sanitize\-r5900/d' < $i > new
211 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
212 if [ -n "${verbose}" ] ; then
213 echo Caching $i in .Recover...
214 fi
215 mv $i .Recover
216 fi
217 mv new $i
218 fi
219 done
220 fi
221
222 tic80_files="obj-coff.h"
223
224 if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
225 for i in $tic80_files ; do
226 if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
227 if [ -n "${verbose}" ] ; then
228 echo Keeping tic80 stuff in $i
229 fi
230 fi
231 done
232 else
233 for i in * ; do
234 if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
235 if [ -n "${verbose}" ] ; then
236 echo Removing traces of \"tic80\" from $i...
237 fi
238 cp $i new
239 sed '/start\-sanitize\-tic80/,/end-\sanitize\-tic80/d' < $i > new
240 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
241 if [ -n "${verbose}" ] ; then
242 echo Caching $i in .Recover...
243 fi
244 mv $i .Recover
245 fi
246 mv new $i
247 fi
248 done
249 fi
250
251
252 # End of file.
This page took 0.039734 seconds and 5 git commands to generate.