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