Split non-target-dependent code out of target_attach routines.
[deliverable/binutils-gdb.git] / bfd / .Sanitize
CommitLineData
aee06af3 1# Sanitize.in for devo/bfd.
08942d11
RP
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
08942d11
RP
18# All files listed between the "Things-to-keep:" line and the
19# "Files-to-sed:" line will be kept. All other files will be removed.
20# Directories listed in this section will have their own Sanitize
21# called. Directories not listed will be removed in their entirety
22# with rm -rf.
23
24Things-to-keep:
08942d11 25COPYING
9ef1e2da 26PORTING
86835b01 27doc
08942d11 28ChangeLog
13b351cc 29Makefile.dos
08942d11
RP
30Makefile.in
31TODO
8c1891af 32VERSION
08942d11
RP
33aout32.c
34aout64.c
35aoutf1.h
08942d11 36aoutx.h
9e2b3581 37aout-encap.c
a89f7423 38aout-target.h
08942d11
RP
39archive.c
40archures.c
901c5bfd 41bfd-in.h
08942d11 42bfd.c
08942d11
RP
43bout.c
44cache.c
e181b631 45ctor.c
156e3852 46coff-a29k.c
71e34032 47coff-h8300.c
156e3852
JG
48coff-i386.c
49coff-i960.c
50coff-m68k.c
51coff-m88k.c
52coff-mips.c
583f79e9 53coff-msym.c
156e3852 54coff-rs6000.c
c7551f76 55coff-we32k.c
d41ab714 56coff-z8k.c
08942d11 57coffcode.h
fb1c4481 58config
13b351cc 59configure.bat
08942d11 60configure.in
6f715d66 61core.c
08942d11 62demo64.c
ea3768dc 63elf.c
08942d11 64filemode.c
6f715d66 65format.c
608de555 66gen-aout.c
08942d11 67host-aout.c
90c7c720 68hosts
76b731f9 69hppa.c
b7de6963 70i386aout.c
afff60cd 71i386linux.c
08942d11 72ieee.c
141c97ea 73libaout.h
901c5bfd 74libbfd-in.h
63ffe5ef
SC
75cpu-a29k.c
76cpu-i386.c
77cpu-m68k.c
78cpu-mips.c
79cpu-vax.c
80cpu-h8300.c
76b731f9 81cpu-hppa.c
63ffe5ef
SC
82cpu-i960.c
83cpu-m88k.c
cc97dfbb 84cpu-rs6000.c
c7551f76 85cpu-we32k.c
d41ab714 86cpu-z8k.c
1d535e75 87hp300bsd.c
63ffe5ef 88init.c
63ffe5ef 89cpu-sparc.c
08942d11
RP
90libbfd.c
91libbfd.h
901c5bfd 92libcoff-in.h
08942d11 93libcoff.h
76b731f9 94libhppa.h
08942d11
RP
95libieee.h
96liboasys.h
08942d11
RP
97newsos3.c
98oasys.c
99opncls.c
6f715d66 100reloc.c
cf15d9e9 101rs6000-core.c
42c39b69 102sco-core.c
e98e6ec1 103seclet.c
dc72b0b6 104seclet.h
6f715d66 105section.c
08942d11 106srec.c
7de245d3 107stab-syms.c
08942d11 108sunos.c
6f715d66 109syms.c
08942d11 110targets.c
a14b2941 111tekhex.c
08942d11
RP
112trad-core.c
113trad-core.h
114
115Do-last:
116
446545dd 117if ( echo $* | grep keep\-v9 > /dev/null ) ; then
5d74c1e5 118 echo Keeping v9 in aoutx.h
446545dd
JG
119else
120 echo Sanitizing v9 in aoutx.h
121 rm -f new
122 while grep -s start-sanitize-v9 aoutx.h ; do
123 sed -e '/start-sanitize-v9/,/end-sanitize-v9/d' <aoutx.h >new
01f0a88e
RP
124 if [ -n "${safe}" ] ; then
125 mv aoutx.h .Recover
126 else
127 rm aoutx.h
128 fi
446545dd
JG
129 mv new aoutx.h
130 done
131fi
132
08942d11
RP
133echo Done in `pwd`.
134
08942d11 135# End of file.
This page took 0.056284 seconds and 4 git commands to generate.