Added new files for linker support, and removed old seclet files.
[platform/upstream/binutils.git] / bfd / .Sanitize
1 # Sanitize.in for devo/bfd.
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
16 Do-first:
17
18 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
19         keep_these_too="elf64-sparc.c"
20 else
21         lose_these_too="elf64-sparc.c"
22 fi
23
24 # All files listed between the "Things-to-keep:" line and the
25 # "Files-to-sed:" line will be kept.  All other files will be removed.
26 # Directories listed in this section will have their own Sanitize
27 # called.  Directories not listed will be removed in their entirety
28 # with rm -rf.
29
30 Things-to-keep:
31
32 COPYING
33 ChangeLog
34 ChangeLog.1
35 Makefile.in
36 PORTING
37 TODO
38 VERSION
39 aix386-core.c
40 aout-adobe.c
41 aout-encap.c
42 aout-target.h
43 aout32.c
44 aout64.c
45 aoutf1.h
46 aoutx.h
47 archive.c
48 archures.c
49 bfd-in.h
50 bfd-in2.h
51 bfd.c
52 bout.c
53 cache.c
54 cf-i386lynx.c
55 cf-m68klynx.c
56 cf-sparclynx.c
57 coff-a29k.c
58 coff-alpha.c
59 coff-apollo.c
60 coff-h8300.c
61 coff-h8500.c
62 coff-i386.c
63 coff-i960.c
64 coff-m68k.c
65 coff-m88k.c
66 coff-mips.c
67 coff-rs6000.c
68 coff-sh.c
69 coff-sparc.c
70 coff-u68k.c
71 coff-we32k.c
72 coff-z8k.c
73 coffcode.h
74 coffgen.c
75 coffswap.h
76 config
77 config.bfd
78 configure.bat
79 configure.host
80 configure.in
81 core.c
82 cpu-a29k.c
83 cpu-alpha.c
84 cpu-h8300.c
85 cpu-h8500.c
86 cpu-hppa.c
87 cpu-i386.c
88 cpu-i960.c
89 cpu-m68k.c
90 cpu-m88k.c
91 cpu-mips.c
92 cpu-rs6000.c
93 cpu-sh.c
94 cpu-sparc.c
95 cpu-vax.c
96 cpu-we32k.c
97 cpu-z8k.c
98 ctor.c
99 demo64.c
100 dep-in.sed
101 doc
102 ecoff.c
103 ecofflink.c
104 ecoffswap.h
105 elf.c
106 elf32-gen.c
107 elf32-hppa.c
108 elf32-hppa.h
109 elf32-i386.c
110 elf32-i860.c
111 elf32-m68k.c
112 elf32-m88k.c
113 elf32-mips.c
114 elf32-sparc.c
115 elf32-target.h
116 elf32.c
117 elf64-gen.c
118 elf64-target.h
119 elf64.c
120 elfcode.h
121 filemode.c
122 format.c
123 gen-aout.c
124 genlink.h
125 hash.c
126 host-aout.c
127 hosts
128 hp300bsd.c
129 hp300hpux.c
130 hppa_stubs.h
131 hppabsd-core.c
132 hpux-core.c
133 i386aout.c
134 i386bsd.c
135 i386linux.c
136 i386lynx.c
137 i386mach3.c
138 ieee.c
139 init.c
140 irix-core.c
141 libaout.h
142 libbfd-in.h
143 libbfd.c
144 libbfd.h
145 libcoff-in.h
146 libcoff.h
147 libecoff.h
148 libelf.h
149 libhppa.h
150 libieee.h
151 libnlm.h
152 liboasys.h
153 linker.c
154 lynx-core.c
155 m68klynx.c
156 mipsbsd.c
157 newsos3.c
158 netbsd386.c
159 nlm-target.h
160 nlm.c
161 nlm32-alpha.c
162 nlm32-gen.c
163 nlm32-i386.c
164 nlm32-sparc.c
165 nlm32.c
166 nlm64-gen.c
167 nlm64.c
168 nlmcode.h
169 nlmswap.h
170 oasys.c
171 opncls.c
172 osf-core.c
173 ptrace-core.c
174 reloc.c
175 reloc16.c
176 rs6000-core.c
177 section.c
178 som.c
179 som.h
180 sparclynx.c
181 srec.c
182 stab-syms.c
183 sunos.c
184 syms.c
185 targets.c
186 tekhex.c
187 trad-core.c
188
189 Things-to-lose:
190
191
192 Do-last:
193
194 v9files="configure.in elfcode.h reloc.c bfd-in2.h targets.c config.bfd"
195 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
196         if [ -n "${verbose}" ] ; then
197                 echo Keeping v9 stuff in $v9files.
198         fi
199 else
200         if [ -n "${verbose}" ]; then
201                 echo -n Cleaning v9 in `pwd`:
202         fi
203         for f in $v9files ; do
204                 if [ -n "${verbose}" ] ; then
205                         echo -n " " $f
206                 fi
207                 sed '/start\-sanitize\-v9/,/end\-sanitize\-v9/d' < $f > new
208                 if [ -n "${safe}" ] ; then
209                         mv $f .Recover
210                 fi
211                 mv new $f
212         done
213         chmod a+x config.bfd
214 fi
215
216
217 # End of file.