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