Initial revision
[deliverable/binutils-gdb.git] / bfd / .Sanitize
1 # Sanitize.in for devo.
2 # $Id$
3 #
4
5 # Each directory to survive it's way into a release will need a file
6 # like this one called "./.Sanitize". All keyword lines must exist,
7 # and must exist in the order specified by this file. Each directory
8 # in the tree will be processed, top down, in the following order.
9
10 # Hash started lines like this one are comments and will be deleted
11 # before anything else is done. Blank lines will also be squashed
12 # out.
13
14 # The lines between the "Do-first:" line and the "Things-to-keep:"
15 # line are executed as a /bin/sh shell script before anything else is
16 # done in this
17
18 Do-first:
19
20 echo Sanitizing `pwd`.
21
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
28 Things-to-keep:
29 COPYING
30 doc
31 ChangeLog
32 Makefile.in
33 TODO
34 VERSION
35 aout32.c
36 aout64.c
37 aoutf1.h
38 aoutx.h
39 archive.c
40 archures.c
41 bfd-in.h
42 bfd.c
43 bout.c
44 cache.c
45 coff-a29k.c
46 coff-i386.c
47 coff-i960.c
48 coff-m68k.c
49 coff-m88k.c
50 coff-mips.c
51 coff-rs6000.c
52 coffcode.h
53 config
54 configure.in
55 core.c
56 demo64.c
57 elf.c
58 filemode.c
59 format.c
60 host-aout.c
61 hosts
62 i386aout.c
63 ieee.c
64 libaout.h
65 libbfd-in.h
66 cpu-a29k.c
67 cpu-i386.c
68 cpu-m68k.c
69 cpu-mips.c
70 cpu-vax.c
71 cpu-h8300.c
72 cpu-i960.c
73 cpu-m88k.c
74 cpu-rs6000.c
75 init.c
76 cpu-sparc.c
77 libbfd.c
78 libbfd.h
79 libcoff-in.h
80 libcoff.h
81 libieee.h
82 liboasys.h
83 newsos3.c
84 oasys.c
85 opncls.c
86 reloc.c
87 section.c
88 srec.c
89 sunos.c
90 syms.c
91 targets.c
92 trad-core.c
93 trad-core.h
94
95 Do-last:
96
97 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
98 echo Keeping v9 in aoutx.h
99 else
100 echo Sanitizing v9 in aoutx.h
101 rm -f new
102 while grep -s start-sanitize-v9 aoutx.h ; do
103 sed -e '/start-sanitize-v9/,/end-sanitize-v9/d' <aoutx.h >new
104 if [ -n "${safe}" ] ; then
105 mv aoutx.h .Recover
106 else
107 rm aoutx.h
108 fi
109 mv new aoutx.h
110 done
111 fi
112
113 echo Done in `pwd`.
114
115 #
116 #
117 # $Log$
118 # Revision 1.27 1991/10/25 10:17:41 gnu
119 # * Rename COFF-related files in `coff-ARCH.c' form.
120 # coff-a29k.c, coff-i386.c, coff-i960.c, coff-m68k.c, coff-m88k.c,
121 # coff-mips.c, coff-rs6000.c to be exact.
122 #
123 # Revision 1.26 1991/10/25 07:16:59 gnu
124 # RS/6000 support
125 #
126 # Revision 1.25 1991/10/15 07:29:13 bothner
127 # Add hosts directory.
128 #
129 # Revision 1.24 1991/10/08 22:31:51 gnu
130 # Add i386aout.c
131 #
132 # Revision 1.23 1991/10/05 06:16:44 gnu
133 # howto.c, configure, config.sub gone.
134 #
135 # Revision 1.22 1991/10/03 22:23:56 gnu
136 # Add elf.c
137 #
138 # Revision 1.21 1991/10/01 03:55:34 steve
139 # Insert the incidentals and things I forgot to ci last time, same log message:
140 #
141 # Mon Sep 30 15:13:46 1991 Steve Chamberlain (steve at cygnus.com)
142 #
143 # * cpu-a29k.c, cpu-i386.c, cpu-m68k.c, cpu-mips.c, cpu-vax.c,
144 # cpu-h8300.c, cpu-i960.c, cpu-m88k.c, cpu-sparc.c: added. These
145 # files will eventually contain processor specific bits for bfd,
146 # like strange relocation information and dis/assembly. So far only
147 # the H8 has been even partially done. This work also ties in with
148 # the change in handling architectures.
149 #
150 # * amdcoff.c: (a29k_reloc) fix error message.
151 #
152 # * aout-f1.h: (choose_reloc_size) now calls bfd_get_arch to
153 # discover the architecture of the bfd. (sunos4_callback) calls the
154 # function bfd_set_arch_mach rather than stuffing stuff directly
155 # into the bfd. (sunos4_write_object_contents), changed names of
156 # accessor functions.
157 #
158 # * aoutx.h: (set_arch_mach) now calls bfd_default_set_arch_mach to
159 # setup the environment.
160 #
161 # * archive.c: (bfd_slurp_coff_armap) coff archives always have the
162 # headers in big endian format, regardless of the endianess of the
163 # host or target.
164 #
165 # * archures.c: totally changed. Now an architecture is represented
166 # with a pointer to an info structure rather than an enumerated type
167 # and a long. The old info is available as two elements in the
168 # structure. Future enhancements to architecure support will
169 # involve pointers to methods being placed into the info structure.
170 #
171 # * bfd.c: changed the definition of the bfd structure for the new
172 # architecture stuff.
173 #
174 # * bout.c: (b_out_set_arch_mach) changed to use the new
175 # architecture mechanism.
176 #
177 # * coffcode.h: (coff_set_arch_mach, coff_set_flags) changed to use
178 # the new architecture mechanism.
179 #
180 # * configure.in: added h8 stuff.
181 #
182 # * ieee.c: too many changes to note. Now ieee files written with
183 # bfd gas and ld can be read by gld and ieee only linkers and
184 # simulators.
185 #
186 # * libbfd.c, libbfd.h: changed prototype of bfd_write.
187 #
188 # * newsos3.c: (newos3_callback) now calls bfd_set_arch_mach rather
189 # than fixing the structure directly.
190 #
191 # * oasys.c: (oasys_object_p) now calls bfd_default_set_arch_mach rather
192 # than fixing the structure directly.
193 #
194 # * opncls.c: (new_bfd) makes sure that bfd_init has been called
195 # before opening a bfd.
196 #
197 # * srec.c: (srec_set_arch_mach) now calls bfd_default_set_arch_mach
198 # rather than fixing the structure directly.
199 #
200 # * targets.c: (target_vector) now by defining SELECT_VECS (perhaps
201 # in the t/hmake file) a user can select which backends they want
202 # linked with bfd without changing the source.
203 #
204 # * init.c: new, looks after initializing modules.
205 #
206 # * howto.c: for future use, will allow an application to work out
207 # what cookie to use as a handle on a relcoatio howto.
208 #
209 # Revision 1.20 1991/09/04 03:59:15 rich
210 # Added "recover"'ability.
211 #
212 # Revision 1.19 1991/09/03 22:21:30 rich
213 # "recover" aoutx.h
214 #
215 # Revision 1.18 1991/08/29 00:35:06 gnu
216 # paperwork handled for AMD Coff.
217 #
218 # Revision 1.17 1991/08/22 20:23:12 steve
219 # *** empty log message ***
220 #
221 # Revision 1.16 1991/08/22 07:31:21 gnu
222 # New config.sub
223 #
224 # Revision 1.15 1991/08/22 07:20:49 gnu
225 # Improve our Sanity.
226 #
227 # Revision 1.14 1991/08/17 00:17:00 steve
228 # Documentation
229 #
230 # Revision 1.13 1991/08/01 14:37:51 steve
231 # *** empty log message ***
232 #
233 # Revision 1.12 1991/08/01 05:33:39 gnu
234 # Forgot one more place to remove amdcoff.c reference (sigh).
235 #
236 # Revision 1.11 1991/08/01 01:27:44 gnu
237 # Delete CVS.adm from the release!
238 #
239 # Revision 1.10 1991/07/31 22:28:30 gnu
240 # Remove archures.h
241 #
242 # Revision 1.9 1991/07/31 17:37:00 gnu
243 # Remove amdcoff.c (and its name from Makefile.in) by default, because
244 # its copyright is not yet assigned to FSF.
245 #
246 # Revision 1.8 1991/07/31 07:54:31 gnu
247 # Better sanitize aoutx.h too!
248 #
249 # Revision 1.7 1991/07/16 00:39:03 steve
250 # *** empty log message ***
251 #
252 # Revision 1.6 1991/07/16 00:35:56 steve
253 # *** empty log message ***
254 #
255 # Revision 1.5 1991/07/15 23:32:40 steve
256 # *** empty log message ***
257 #
258 # Revision 1.4 1991/07/04 16:52:54 steve
259 # Now full of documentation. Yum Yum.
260 #
261 # Revision 1.3 1991/05/31 11:22:12 gnu
262 # Remove coff-code.h and liba.out.h, add libaout.h.
263 #
264 # Revision 1.2 1991/05/29 02:40:08 gnu
265 # Fix up .Sanitize file, remove files that are not referenced.
266 #
267 # Revision 1.1 1991/05/23 21:14:00 rich
268 # Initial revision
269 #
270 #
271 #
272
273 # End of file.
This page took 0.035596 seconds and 4 git commands to generate.