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