* elf.c, elfcode.h, libelf.h: Serious reorganization.
[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
1bea1b6f
KR
18if ( echo $* | grep keep\-v9 > /dev/null ) ; then
19 keep_these_too="elf64-sparc.c"
20fi
21
08942d11
RP
22# All files listed between the "Things-to-keep:" line and the
23# "Files-to-sed:" line will be kept. All other files will be removed.
24# Directories listed in this section will have their own Sanitize
25# called. Directories not listed will be removed in their entirety
26# with rm -rf.
27
28Things-to-keep:
87756e15 29
08942d11 30COPYING
9ef1e2da 31PORTING
86835b01 32doc
08942d11
RP
33ChangeLog
34Makefile.in
c268b400 35README.hppaelf
08942d11 36TODO
8c1891af 37VERSION
60ac749c 38aix386-core.c
08942d11
RP
39aout32.c
40aout64.c
41aoutf1.h
08942d11 42aoutx.h
4846e30f 43aout-adobe.c
9e2b3581 44aout-encap.c
a89f7423 45aout-target.h
08942d11
RP
46archive.c
47archures.c
901c5bfd 48bfd-in.h
b9653d81 49bfd-in2.h
08942d11 50bfd.c
08942d11
RP
51bout.c
52cache.c
e181b631 53ctor.c
5f8f6d56 54coff-alpha.c
156e3852 55coff-a29k.c
71e34032 56coff-h8300.c
ff975a2c 57coff-h8500.c
156e3852
JG
58coff-i386.c
59coff-i960.c
60coff-m68k.c
a4b6affa 61coff-m68k-un.c
156e3852
JG
62coff-m88k.c
63coff-mips.c
583f79e9 64coff-msym.c
156e3852 65coff-rs6000.c
9faacb92 66coff-sh.c
c7551f76 67coff-we32k.c
d41ab714 68coff-z8k.c
08942d11 69coffcode.h
075caafd
ILT
70coffgen.c
71coffswap.h
fb1c4481 72config
13b351cc 73configure.bat
08942d11 74configure.in
5a5fa368 75configure.host
6f715d66 76core.c
08942d11 77demo64.c
cef91d75 78elf.c
6418521d 79elf32-generic.c
c268b400
KR
80elf32-hppa.c
81elf32-hppa.h
4743848f
KR
82elf32-i386.c
83elf32-i860.c
84elf32-m68k.c
2c4f2c72
JK
85elf32-m88k.c
86elf32-mips.c
8d936d1f 87elf32-sparc.c
4743848f
KR
88elf32-target.h
89elf32.c
b864c03c 90elf64-generic.c
b864c03c 91elf64-target.h
4bf86ecb 92elf64.c
ef7e172e 93elfcode.h
08942d11 94filemode.c
6f715d66 95format.c
608de555 96gen-aout.c
08942d11 97host-aout.c
90c7c720 98hosts
c268b400 99hp300hpux.c
76b731f9 100hppa.c
cef91d75 101hppa_stubs.h
b7de6963 102i386aout.c
256b39e0 103i386bsd.c
afff60cd 104i386linux.c
aef0bd99 105i386lynx.c
08942d11 106ieee.c
141c97ea 107libaout.h
901c5bfd 108libbfd-in.h
4743848f 109libelf.h
5f8f6d56 110cpu-alpha.c
63ffe5ef
SC
111cpu-a29k.c
112cpu-i386.c
113cpu-m68k.c
114cpu-mips.c
115cpu-vax.c
116cpu-h8300.c
ff975a2c 117cpu-h8500.c
76b731f9 118cpu-hppa.c
63ffe5ef
SC
119cpu-i960.c
120cpu-m88k.c
cc97dfbb 121cpu-rs6000.c
9faacb92 122cpu-sh.c
c7551f76 123cpu-we32k.c
d41ab714 124cpu-z8k.c
1d535e75 125hp300bsd.c
63ffe5ef 126init.c
63ffe5ef 127cpu-sparc.c
08942d11
RP
128libbfd.c
129libbfd.h
901c5bfd 130libcoff-in.h
08942d11 131libcoff.h
a3b3dbdd 132libecoff.h
76b731f9 133libhppa.h
08942d11
RP
134libieee.h
135liboasys.h
044c1ba9 136mipsbsd.c
08942d11
RP
137newsos3.c
138oasys.c
139opncls.c
6f715d66 140reloc.c
075caafd 141reloc16.c
cf15d9e9 142rs6000-core.c
42c39b69 143sco-core.c
e98e6ec1 144seclet.c
dc72b0b6 145seclet.h
6f715d66 146section.c
08942d11 147srec.c
7de245d3 148stab-syms.c
08942d11 149sunos.c
6f715d66 150syms.c
08942d11 151targets.c
a14b2941 152tekhex.c
08942d11 153trad-core.c
08942d11 154
87756e15
RP
155Things-to-lose:
156
08942d11
RP
157Do-last:
158
1bea1b6f 159v9files="configure.in elfcode.h reloc.c bfd-in2.h"
b9653d81 160if ( echo $* | grep keep\-v9 > /dev/null ) ; then
b864c03c
KR
161 if [ -n "${verbose}" ] ; then
162 echo Keeping v9 stuff in $v9files.
163 fi
b9653d81 164else
b864c03c 165 if [ -n "${verbose}" ]; then
1bea1b6f 166 echo -n Cleaning v9 in `pwd`:
b864c03c
KR
167 fi
168 for f in $v9files ; do
169 if [ -n "${verbose}" ] ; then
170 echo -n " " $f
171 fi
1bea1b6f 172 sed '/start\-sanitize\-v9/,/end\-sanitize\-v9/d' < $f > new
b864c03c 173 if [ -n "${safe}" ] ; then
1bea1b6f 174 mv $f .Recover
b864c03c
KR
175 fi
176 mv new $f
177 done
b9653d81
KR
178fi
179
08942d11 180# End of file.
This page took 0.124743 seconds and 4 git commands to generate.