64-bit MIPS ELF ABI objdump support:
[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 rce_files="cpu-rce.c aout-rce.c"
19
20 if ( echo $* | grep keep\-rce > /dev/null ) ; then
21 keep_these_too="${rce_files} ${keep_these_too}"
22 else
23 lose_these_too="${rce_files} ${lose_these_too}"
24 fi
25
26 arc_files="cpu-arc.c elf32-arc.c"
27
28 if ( echo $* | grep keep\-arc > /dev/null ) ; then
29 keep_these_too="${arc_files} ${keep_these_too}"
30 else
31 lose_these_too="${arc_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.in
47 PORTING
48 TODO
49 VERSION
50 acconfig.h
51 aclocal.m4
52 aix386-core.c
53 aout-adobe.c
54 aout-arm.c
55 aout-encap.c
56 aout-ns32k.c
57 aout-target.h
58 aout0.c
59 aout32.c
60 aout64.c
61 aoutf1.h
62 aoutx.h
63 archive.c
64 archures.c
65 bfd-in.h
66 bfd-in2.h
67 bfd.c
68 binary.c
69 bout.c
70 cache.c
71 cf-i386lynx.c
72 cf-m68klynx.c
73 cf-sparclynx.c
74 cisco-core.c
75 coff-a29k.c
76 coff-alpha.c
77 coff-apollo.c
78 coff-arm.c
79 coff-aux.c
80 coff-go32.c
81 coff-h8300.c
82 coff-h8500.c
83 coff-i386.c
84 coff-i860.c
85 coff-i960.c
86 coff-m68k.c
87 coff-m88k.c
88 coff-mips.c
89 coff-pmac.c
90 coff-ppc.c
91 coff-rs6000.c
92 coff-sh.c
93 coff-sparc.c
94 coff-u68k.c
95 coff-we32k.c
96 coff-w65.c
97 coff-z8k.c
98 coffcode.h
99 coffgen.c
100 cofflink.c
101 coffswap.h
102 config.bfd
103 config.in
104 configure
105 configure.bat
106 configure.host
107 configure.in
108 corefile.c
109 cpu-a29k.c
110 cpu-alpha.c
111 cpu-arm.c
112 cpu-h8300.c
113 cpu-h8500.c
114 cpu-hppa.c
115 cpu-i386.c
116 cpu-i860.c
117 cpu-i960.c
118 cpu-m68k.c
119 cpu-m88k.c
120 cpu-mips.c
121 cpu-ns32k.c
122 cpu-powerpc.c
123 cpu-rs6000.c
124 cpu-sh.c
125 cpu-sparc.c
126 cpu-vax.c
127 cpu-we32k.c
128 cpu-w65.c
129 cpu-z8k.c
130 demo64.c
131 dep-in.sed
132 doc
133 ecoff.c
134 ecofflink.c
135 ecoffswap.h
136 elf-bfd.h
137 elf.c
138 elf32-gen.c
139 elf32-hppa.c
140 elf32-hppa.h
141 elf32-i386.c
142 elf32-i860.c
143 elf32-m68k.c
144 elf32-m88k.c
145 elf32-mips.c
146 elf32-ppc.c
147 elf32-sparc.c
148 elf32.c
149 elf64-gen.c
150 elf64-mips.c
151 elf64-sparc.c
152 elf64.c
153 elfxx-target.h
154 elfcode.h
155 elfcore.h
156 elflink.c
157 elflink.h
158 filemode.c
159 format.c
160 freebsd.h
161 gen-aout.c
162 genlink.h
163 hash.c
164 host-aout.c
165 hosts
166 hp300bsd.c
167 hp300hpux.c
168 hppa_stubs.h
169 hppabsd-core.c
170 hpux-core.c
171 i386aout.c
172 i386bsd.c
173 i386dynix.c
174 i386freebsd.c
175 i386linux.c
176 i386netbsd.c
177 i386lynx.c
178 i386mach3.c
179 i386msdos.c
180 i386os9k.c
181 ieee.c
182 ihex.c
183 init.c
184 irix-core.c
185 libaout.h
186 libbfd-in.h
187 libbfd.c
188 libbfd.h
189 libcoff-in.h
190 libcoff.h
191 libecoff.h
192 libhppa.h
193 libieee.h
194 libnlm.h
195 liboasys.h
196 linker.c
197 lynx-core.c
198 m68k4knetbsd.c
199 m68klinux.c
200 m68klynx.c
201 m68knetbsd.c
202 m88kmach3.c
203 makefile.dos
204 mipsbsd.c
205 mpw-config.in
206 mpw-make.sed
207 newsos3.c
208 netbsd-core.c
209 netbsd.h
210 nlm-target.h
211 nlm.c
212 nlm32-alpha.c
213 nlm32-i386.c
214 nlm32-ppc.c
215 nlm32-sparc.c
216 nlm32.c
217 nlm64.c
218 nlmcode.h
219 nlmswap.h
220 ns32k.h
221 ns32knetbsd.c
222 oasys.c
223 opncls.c
224 osf-core.c
225 pc532-mach.c
226 pe-arm.c
227 pe-i386.c
228 pe-ppc.c
229 pei-arm.c
230 pei-i386.c
231 pei-ppc.c
232 peicode.h
233 ppcboot.c
234 ptrace-core.c
235 reloc.c
236 reloc16.c
237 riscix.c
238 rs6000-core.c
239 section.c
240 som.c
241 som.h
242 sparclynx.c
243 sparcnetbsd.c
244 srec.c
245 stabs.c
246 stab-syms.c
247 sunos.c
248 syms.c
249 sysdep.h
250 targets.c
251 tekhex.c
252 trad-core.c
253 versados.c
254 xcofflink.c
255
256 Things-to-lose:
257
258
259 Do-last:
260
261 rce_files="ChangeLog ChangeLog.2 Makefile.in archures.c bfd-in2.h config.bfd configure.in configure targets.c aoutx.h libaout.h"
262 if ( echo $* | grep keep\-rce > /dev/null ) ; then
263 for i in $rce_files ; do
264 if test ! -d $i && (grep sanitize-rce $i > /dev/null) ; then
265 if [ -n "${verbose}" ] ; then
266 echo Keeping rce stuff in $i
267 fi
268 fi
269 done
270 else
271 for i in $rce_files ; do
272 if test ! -d $i && (grep sanitize-rce $i > /dev/null) ; then
273 if [ -n "${verbose}" ] ; then
274 echo Removing traces of \"rce\" from $i...
275 fi
276 cp $i new
277 sed '/start\-sanitize\-rce/,/end-\sanitize\-rce/d' < $i > new
278 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
279 if [ -n "${verbose}" ] ; then
280 echo Caching $i in .Recover...
281 fi
282 mv $i .Recover
283 fi
284 mv new $i
285 fi
286 done
287 fi
288
289 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"
290 if ( echo $* | grep keep\-arc > /dev/null ) ; then
291 for i in $arc_files ; do
292 if test ! -d $i && (grep sanitize-arc $i > /dev/null) ; then
293 if [ -n "${verbose}" ] ; then
294 echo Keeping arc stuff in $i
295 fi
296 fi
297 done
298 else
299 for i in $arc_files ; do
300 if test ! -d $i && (grep sanitize-arc $i > /dev/null) ; then
301 if [ -n "${verbose}" ] ; then
302 echo Removing traces of \"arc\" from $i...
303 fi
304 cp $i new
305 sed '/start\-sanitize\-arc/,/end-\sanitize\-arc/d' < $i > new
306 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
307 if [ -n "${verbose}" ] ; then
308 echo Caching $i in .Recover...
309 fi
310 mv $i .Recover
311 fi
312 mv new $i
313 fi
314 done
315 fi
316
317 gm_files="ChangeLog ChangeLog.2 config.bfd"
318 if ( echo $* | grep keep\-gm > /dev/null ) ; then
319 for i in $gm_files ; do
320 if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then
321 if [ -n "${verbose}" ] ; then
322 echo Keeping gm stuff in $i
323 fi
324 fi
325 done
326 else
327 for i in $gm_files ; do
328 if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then
329 if [ -n "${verbose}" ] ; then
330 echo Removing traces of \"gm\" from $i...
331 fi
332 cp $i new
333 sed '/start\-sanitize\-gm/,/end-\sanitize\-gm/d' < $i > new
334 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
335 if [ -n "${verbose}" ] ; then
336 echo Caching $i in .Recover...
337 fi
338 mv $i .Recover
339 fi
340 mv new $i
341 fi
342 done
343 fi
344
345 for i in * ; do
346 if test ! -d $i && (grep sanitize $i > /dev/null) ; then
347 echo '***' Some mentions of Sanitize are still left in $i! 1>&2
348 fi
349 done
350
351 # End of file.
This page took 0.057337 seconds and 4 git commands to generate.