* scripttempl/aout.sc: Pad .text to DATA_ALIGNMENT if relocating;
[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"
f7df1b2b
FF
20else
21 lose_these_too="elf64-sparc.c"
1bea1b6f
KR
22fi
23
08942d11
RP
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
30Things-to-keep:
87756e15 31
08942d11
RP
32COPYING
33ChangeLog
ceeca31c 34ChangeLog.1
08942d11 35Makefile.in
c3e964b9 36PORTING
08942d11 37TODO
8c1891af 38VERSION
60ac749c 39aix386-core.c
c3e964b9
FF
40aout-adobe.c
41aout-encap.c
42aout-target.h
08942d11
RP
43aout32.c
44aout64.c
45aoutf1.h
08942d11
RP
46aoutx.h
47archive.c
48archures.c
901c5bfd 49bfd-in.h
b9653d81 50bfd-in2.h
08942d11 51bfd.c
08942d11
RP
52bout.c
53cache.c
e3b5bfa8
SS
54cf-i386lynx.c
55cf-m68klynx.c
56cf-sparclynx.c
156e3852 57coff-a29k.c
c3e964b9 58coff-alpha.c
97eb2f0c 59coff-apollo.c
71e34032 60coff-h8300.c
ff975a2c 61coff-h8500.c
156e3852
JG
62coff-i386.c
63coff-i960.c
c3e964b9 64coff-m68k.c
156e3852
JG
65coff-m88k.c
66coff-mips.c
67coff-rs6000.c
9faacb92 68coff-sh.c
e3b5bfa8 69coff-sparc.c
df61743d 70coff-u68k.c
c7551f76 71coff-we32k.c
d41ab714 72coff-z8k.c
08942d11 73coffcode.h
075caafd
ILT
74coffgen.c
75coffswap.h
fb1c4481 76config
14616002 77config.bfd
13b351cc 78configure.bat
5a5fa368 79configure.host
c3e964b9 80configure.in
6f715d66 81core.c
c3e964b9
FF
82cpu-a29k.c
83cpu-alpha.c
84cpu-h8300.c
85cpu-h8500.c
86cpu-hppa.c
87cpu-i386.c
88cpu-i960.c
89cpu-m68k.c
90cpu-m88k.c
91cpu-mips.c
92cpu-rs6000.c
93cpu-sh.c
94cpu-sparc.c
95cpu-vax.c
96cpu-we32k.c
97cpu-z8k.c
98ctor.c
08942d11 99demo64.c
97eb2f0c 100dep-in.sed
c3e964b9 101doc
dae31cf5 102ecoff.c
71efdf83 103ecofflink.c
dae31cf5 104ecoffswap.h
cef91d75 105elf.c
d39d83c1 106elf32-gen.c
c268b400
KR
107elf32-hppa.c
108elf32-hppa.h
4743848f
KR
109elf32-i386.c
110elf32-i860.c
111elf32-m68k.c
2c4f2c72
JK
112elf32-m88k.c
113elf32-mips.c
8d936d1f 114elf32-sparc.c
4743848f
KR
115elf32-target.h
116elf32.c
d39d83c1 117elf64-gen.c
b864c03c 118elf64-target.h
4bf86ecb 119elf64.c
ef7e172e 120elfcode.h
08942d11 121filemode.c
6f715d66 122format.c
608de555 123gen-aout.c
da6b2d99
ILT
124genlink.h
125hash.c
08942d11 126host-aout.c
90c7c720 127hosts
c3e964b9 128hp300bsd.c
c268b400 129hp300hpux.c
cef91d75 130hppa_stubs.h
8a71bf96 131hppabsd-core.c
3f933620 132hpux-core.c
b7de6963 133i386aout.c
256b39e0 134i386bsd.c
afff60cd 135i386linux.c
aef0bd99 136i386lynx.c
890eafc0 137i386mach3.c
08942d11 138ieee.c
c3e964b9 139init.c
7ce1a446 140irix-core.c
141c97ea 141libaout.h
901c5bfd 142libbfd-in.h
08942d11
RP
143libbfd.c
144libbfd.h
901c5bfd 145libcoff-in.h
08942d11 146libcoff.h
a3b3dbdd 147libecoff.h
c3e964b9 148libelf.h
76b731f9 149libhppa.h
08942d11 150libieee.h
c3e964b9 151libnlm.h
08942d11 152liboasys.h
da6b2d99 153linker.c
3151f12f 154lynx-core.c
eefe075d 155m68klynx.c
044c1ba9 156mipsbsd.c
08942d11 157newsos3.c
fbd5481a 158netbsd386.c
d1f83f44 159nlm-target.h
c3e964b9 160nlm.c
1bbabdad 161nlm32-alpha.c
c3e964b9 162nlm32-gen.c
8fa7a236 163nlm32-i386.c
38f422db 164nlm32-sparc.c
c3e964b9
FF
165nlm32.c
166nlm64-gen.c
c3e964b9
FF
167nlm64.c
168nlmcode.h
38f422db 169nlmswap.h
08942d11
RP
170oasys.c
171opncls.c
4346ee0f 172osf-core.c
c236d8b3 173ptrace-core.c
6f715d66 174reloc.c
075caafd 175reloc16.c
cf15d9e9 176rs6000-core.c
6f715d66 177section.c
66eca5ee
JK
178som.c
179som.h
e3b5bfa8 180sparclynx.c
08942d11 181srec.c
7de245d3 182stab-syms.c
08942d11 183sunos.c
6f715d66 184syms.c
08942d11 185targets.c
a14b2941 186tekhex.c
08942d11 187trad-core.c
08942d11 188
87756e15
RP
189Things-to-lose:
190
775d4a40 191
08942d11
RP
192Do-last:
193
3d7de4c2 194v9files="configure.in elfcode.h reloc.c bfd-in2.h targets.c config.bfd"
b9653d81 195if ( echo $* | grep keep\-v9 > /dev/null ) ; then
b864c03c
KR
196 if [ -n "${verbose}" ] ; then
197 echo Keeping v9 stuff in $v9files.
198 fi
b9653d81 199else
b864c03c 200 if [ -n "${verbose}" ]; then
1bea1b6f 201 echo -n Cleaning v9 in `pwd`:
b864c03c
KR
202 fi
203 for f in $v9files ; do
204 if [ -n "${verbose}" ] ; then
205 echo -n " " $f
206 fi
1bea1b6f 207 sed '/start\-sanitize\-v9/,/end\-sanitize\-v9/d' < $f > new
b864c03c 208 if [ -n "${safe}" ] ; then
1bea1b6f 209 mv $f .Recover
b864c03c
KR
210 fi
211 mv new $f
212 done
3ba17f70 213 chmod a+x config.bfd
b9653d81
KR
214fi
215
3ba17f70 216
08942d11 217# End of file.
This page took 0.118292 seconds and 4 git commands to generate.