Add initialisation of the processors field of the v850_opcode structure.
[deliverable/binutils-gdb.git] / bfd / .Sanitize
1 # .Sanitize for devo/bfd.
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 directory.
15
16 Do-first:
17
18 d30v_files="cpu-d30v.c elf32-d30v.c"
19
20 if ( echo $* | grep keep\-d30v > /dev/null ) ; then
21 keep_these_too="${d30v_files} ${keep_these_too}"
22 else
23 lose_these_too="${d30v_files} ${lose_these_too}"
24 fi
25
26 tic80_files="cpu-tic80.c coff-tic80.c"
27
28 if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
29 keep_these_too="${tic80_files} ${keep_these_too}"
30 else
31 lose_these_too="${tic80_files} ${lose_these_too}"
32 fi
33
34 # All files listed between the "Things-to-keep:" line and the
35 # "Files-to-sed:" line will be kept. All other files will be removed.
36 # Directories listed in this section will have their own Sanitize
37 # called. Directories not listed will be removed in their entirety
38 # with rm -rf.
39
40 Things-to-keep:
41
42 COPYING
43 ChangeLog
44 ChangeLog.1
45 ChangeLog.2
46 Makefile.am
47 Makefile.in
48 PORTING
49 README
50 TODO
51 acconfig.h
52 acinclude.m4
53 aclocal.m4
54 aix386-core.c
55 aout-adobe.c
56 aout-arm.c
57 aout-encap.c
58 aout-ns32k.c
59 aout-sparcle.c
60 aout-target.h
61 aout0.c
62 aout32.c
63 aout64.c
64 aoutf1.h
65 aoutx.h
66 archive.c
67 archures.c
68 bfd-in.h
69 bfd-in2.h
70 bfd.c
71 binary.c
72 bout.c
73 cache.c
74 cf-i386lynx.c
75 cf-m68klynx.c
76 cf-sparclynx.c
77 cisco-core.c
78 coff-a29k.c
79 coff-alpha.c
80 coff-apollo.c
81 coff-arm.c
82 coff-aux.c
83 coff-go32.c
84 coff-h8300.c
85 coff-h8500.c
86 coff-i386.c
87 coff-i860.c
88 coff-i960.c
89 coff-m68k.c
90 coff-m88k.c
91 coff-mips.c
92 coff-pmac.c
93 coff-ppc.c
94 coff-rs6000.c
95 coff-sh.c
96 coff-sparc.c
97 coff-stgo32.c
98 coff-svm68k.c
99 coff-u68k.c
100 coff-we32k.c
101 coff-w65.c
102 coff-z8k.c
103 coffcode.h
104 coffgen.c
105 cofflink.c
106 coffswap.h
107 config.bfd
108 config.in
109 configure
110 configure.bat
111 configure.com
112 configure.host
113 configure.in
114 corefile.c
115 cpu-a29k.c
116 cpu-alpha.c
117 cpu-arc.c
118 cpu-arm.c
119 cpu-d10v.c
120 cpu-h8300.c
121 cpu-h8500.c
122 cpu-hppa.c
123 cpu-i386.c
124 cpu-i860.c
125 cpu-i960.c
126 cpu-m32r.c
127 cpu-m68k.c
128 cpu-m88k.c
129 cpu-mips.c
130 cpu-m10200.c
131 cpu-m10300.c
132 cpu-ns32k.c
133 cpu-powerpc.c
134 cpu-rs6000.c
135 cpu-sh.c
136 cpu-sparc.c
137 cpu-vax.c
138 cpu-we32k.c
139 cpu-w65.c
140 cpu-v850.c
141 cpu-z8k.c
142 demo64.c
143 dep-in.sed
144 doc
145 ecoff.c
146 ecofflink.c
147 ecoffswap.h
148 elf-bfd.h
149 elf.c
150 elf32-arc.c
151 elf32-d10v.c
152 elf32-gen.c
153 elf32-hppa.c
154 elf32-hppa.h
155 elf32-i386.c
156 elf32-i860.c
157 elf32-m32r.c
158 elf32-m68k.c
159 elf32-m88k.c
160 elf32-mips.c
161 elf32-v850.c
162 elf-m10200.c
163 elf-m10300.c
164 elf32-ppc.c
165 elf32-sh.c
166 elf32-sparc.c
167 elf32.c
168 elf64-alpha.c
169 elf64-gen.c
170 elf64-mips.c
171 elf64-sparc.c
172 elf64.c
173 elfxx-target.h
174 elfcode.h
175 elfcore.h
176 elflink.c
177 elflink.h
178 evax.h
179 evax-alpha.c
180 evax-egsd.c
181 evax-emh.c
182 evax-etir.c
183 evax-misc.c
184 filemode.c
185 format.c
186 freebsd.h
187 gen-aout.c
188 genlink.h
189 go32stub.h
190 hash.c
191 host-aout.c
192 hosts
193 hp300bsd.c
194 hp300hpux.c
195 hppa_stubs.h
196 hppabsd-core.c
197 hpux-core.c
198 i386aout.c
199 i386bsd.c
200 i386dynix.c
201 i386freebsd.c
202 i386linux.c
203 i386netbsd.c
204 i386lynx.c
205 i386mach3.c
206 i386msdos.c
207 i386os9k.c
208 ieee.c
209 ihex.c
210 init.c
211 irix-core.c
212 libaout.h
213 libbfd-in.h
214 libbfd.c
215 libbfd.h
216 libcoff-in.h
217 libcoff.h
218 libecoff.h
219 libhppa.h
220 libieee.h
221 libnlm.h
222 liboasys.h
223 linker.c
224 lynx-core.c
225 m68k4knetbsd.c
226 m68klinux.c
227 m68klynx.c
228 m68knetbsd.c
229 m88kmach3.c
230 makefile.dos
231 makefile.vms
232 mipsbsd.c
233 mpw-config.in
234 mpw-make.sed
235 newsos3.c
236 netbsd-core.c
237 netbsd.h
238 nlm-target.h
239 nlm.c
240 nlm32-alpha.c
241 nlm32-i386.c
242 nlm32-ppc.c
243 nlm32-sparc.c
244 nlm32.c
245 nlm64.c
246 nlmcode.h
247 nlmswap.h
248 ns32k.h
249 ns32knetbsd.c
250 oasys.c
251 opncls.c
252 osf-core.c
253 pc532-mach.c
254 pe-arm.c
255 pe-i386.c
256 pe-ppc.c
257 pei-arm.c
258 pei-i386.c
259 pei-ppc.c
260 peicode.h
261 ppcboot.c
262 ptrace-core.c
263 reloc.c
264 reloc16.c
265 riscix.c
266 rs6000-core.c
267 section.c
268 som.c
269 som.h
270 sparclinux.c
271 sparclynx.c
272 sparcnetbsd.c
273 srec.c
274 stabs.c
275 stab-syms.c
276 stamp-h.in
277 sunos.c
278 syms.c
279 sysdep.h
280 targets.c
281 targmatch.sed
282 tekhex.c
283 trad-core.c
284 versados.c
285 xcofflink.c
286
287 Things-to-lose:
288
289
290 Do-last:
291
292 d30v_files="ChangeLog ChangeLog.2 Makefile.in Makefile.am archures.c reloc.c targets.c config.bfd configure.in configure bfd-in2.h elf.c libbfd.h"
293 if ( echo $* | grep keep\-d30v > /dev/null ) ; then
294 for i in $d30v_files ; do
295 if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
296 if [ -n "${verbose}" ] ; then
297 echo Keeping d30v stuff in $i
298 fi
299 fi
300 done
301 else
302 for i in $d30v_files ; do
303 if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
304 if [ -n "${verbose}" ] ; then
305 echo Removing traces of \"d30v\" from $i...
306 fi
307 cp $i new
308 sed '/start\-sanitize\-d30v/,/end-\sanitize\-d30v/d' < $i > new
309 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
310 if [ -n "${verbose}" ] ; then
311 echo Caching $i in .Recover...
312 fi
313 mv $i .Recover
314 fi
315 mv new $i
316 fi
317 done
318 fi
319
320 v850_files="ChangeLog Makefile.in Makefile.am archures.c reloc.c targets.c config.bfd configure.in configure bfd-in2.h elf.c libbfd.h elf32-v850.c cpu-v850.c"
321 if ( echo $* | grep keep\-v850eq > /dev/null ) ; then
322 for i in $v850_files ; do
323 if test -r $i && (grep sanitize-v850eq $i > /dev/null) ; then
324 if [ -n "${verbose}" ] ; then
325 echo Keeping v850eq stuff in $i
326 fi
327 fi
328 done
329 else
330 for i in $v850_files ; do
331 if test -f $i && (grep sanitize-v850eq $i > /dev/null) ; then
332 if [ -n "${verbose}" ] ; then
333 echo Removing traces of \"v850eq\" from $i...
334 fi
335 cp $i new
336 sed '/start\-sanitize\-v850eq/,/end\-sanitize\-v850eq/d' < $i > new
337 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
338 if [ -n "${verbose}" ] ; then
339 echo Caching $i in .Recover...
340 fi
341 mv $i .Recover
342 fi
343 mv new $i
344 fi
345 done
346 fi
347 if ( echo $* | grep keep\-v850e > /dev/null ) ; then
348 for i in $v850_files ; do
349 if test -r $i && (grep sanitize-v850e $i > /dev/null) ; then
350 if [ -n "${verbose}" ] ; then
351 echo Keeping v850e stuff in $i
352 fi
353 fi
354 done
355 else
356 for i in $v850_files ; do
357 if test -f $i && (grep sanitize-v850e $i > /dev/null) ; then
358 if [ -n "${verbose}" ] ; then
359 echo Removing traces of \"v850e\" from $i...
360 fi
361 cp $i new
362 sed '/start\-sanitize\-v850e/,/end\-sanitize\-v850e/d' < $i > new
363 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
364 if [ -n "${verbose}" ] ; then
365 echo Caching $i in .Recover...
366 fi
367 mv $i .Recover
368 fi
369 mv new $i
370 fi
371 done
372 fi
373
374 r5900_files="ChangeLog config.bfd"
375 if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
376 for i in $r5900_files ; do
377 if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
378 if [ -n "${verbose}" ] ; then
379 echo Keeping r5900 stuff in $i
380 fi
381 fi
382 done
383 else
384 for i in $r5900_files ; do
385 if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
386 if [ -n "${verbose}" ] ; then
387 echo Removing traces of \"r5900\" from $i...
388 fi
389 cp $i new
390 sed '/start\-sanitize\-r5900/,/end-\sanitize\-r5900/d' < $i > new
391 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
392 if [ -n "${verbose}" ] ; then
393 echo Caching $i in .Recover...
394 fi
395 mv $i .Recover
396 fi
397 mv new $i
398 fi
399 done
400 fi
401
402 sh4_files="ChangeLog config.bfd archures.c bfd-in2.h cpu-sh.c"
403 if ( echo $* | grep keep\-sh4 > /dev/null ) ; then
404 for i in $sh4_files ; do
405 if test ! -d $i && (grep sanitize-sh4 $i > /dev/null) ; then
406 if [ -n "${verbose}" ] ; then
407 echo Keeping sh4 stuff in $i
408 fi
409 fi
410 done
411 else
412 for i in $sh4_files ; do
413 if test ! -d $i && (grep sanitize-sh4 $i > /dev/null) ; then
414 if [ -n "${verbose}" ] ; then
415 echo Removing traces of \"sh4\" from $i...
416 fi
417 cp $i new
418 sed '/start\-sanitize\-sh4/,/end-\sanitize\-sh4/d' < $i > new
419 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
420 if [ -n "${verbose}" ] ; then
421 echo Caching $i in .Recover...
422 fi
423 mv $i .Recover
424 fi
425 mv new $i
426 fi
427 done
428 fi
429
430 tic80_files="ChangeLog Makefile.in Makefile.am archures.c bfd-in2.h config.bfd configure configure.in targets.c coffcode.h coffswap.h"
431 if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
432 for i in $tic80_files ; do
433 if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
434 if [ -n "${verbose}" ] ; then
435 echo Keeping tic80 stuff in $i
436 fi
437 fi
438 done
439 else
440 for i in $tic80_files ; do
441 if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
442 if [ -n "${verbose}" ] ; then
443 echo Removing traces of \"tic80\" from $i...
444 fi
445 cp $i new
446 sed '/start\-sanitize\-tic80/,/end-\sanitize\-tic80/d' < $i > new
447 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
448 if [ -n "${verbose}" ] ; then
449 echo Caching $i in .Recover...
450 fi
451 mv $i .Recover
452 fi
453 mv new $i
454 fi
455 done
456 fi
457
458 gm_files="ChangeLog ChangeLog.2 config.bfd"
459 if ( echo $* | grep keep\-gm > /dev/null ) ; then
460 for i in $gm_files ; do
461 if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then
462 if [ -n "${verbose}" ] ; then
463 echo Keeping gm stuff in $i
464 fi
465 fi
466 done
467 else
468 for i in $gm_files ; do
469 if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then
470 if [ -n "${verbose}" ] ; then
471 echo Removing traces of \"gm\" from $i...
472 fi
473 cp $i new
474 sed '/start\-sanitize\-gm/,/end-\sanitize\-gm/d' < $i > new
475 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
476 if [ -n "${verbose}" ] ; then
477 echo Caching $i in .Recover...
478 fi
479 mv $i .Recover
480 fi
481 mv new $i
482 fi
483 done
484 fi
485
486 for i in * ; do
487 if test ! -d $i && (grep sanitize $i > /dev/null) ; then
488 echo '***' Some mentions of Sanitize are still left in $i! 1>&2
489 fi
490 done
491
492 # End of file.
This page took 0.040571 seconds and 4 git commands to generate.