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