1 # Sanitize.in for devo.
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.
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
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
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
103 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
104 echo Keeping v9 in aoutx.h
106 echo Sanitizing v9 in aoutx.h
108 while grep -s start-sanitize-v9 aoutx.h ; do
109 sed -e '/start-sanitize-v9/,/end-sanitize-v9/d' <aoutx.h >new
110 if [ -n "${safe}" ] ; then
124 # Revision 1.35 1992/01/24 22:42:49 sac
125 # Uses the new small reloc type now.
127 # Currently self hosts on sun4 and sun3
129 # Revision 1.34 1991/12/18 23:01:48 bothner
130 # Use aout-target.h more extensively.
131 # Replace Berkeley functions (e.g. bcopy) with ANSI ones (e.g. memcpy).
132 # Other improvements (see ChangeLog).
134 # Revision 1.33 1991/12/12 03:19:36 sac
135 # Added configdos.bat makefile.dos
137 # Revision 1.32 1991/11/27 16:58:22 sac
140 # Revision 1.31 1991/11/22 05:00:08 bothner
141 # Moved bfd_stab_name() and bfd_stab_names[]
142 # from syms.c to new file stab-syms.c.
143 # Renamed to aout_stab_name() and aout_stab_names[].
144 # Also, since GNU extended type codes such as N_SETT are no longer
145 # in ../include/stab.def, include them manually.
147 # Revision 1.30 1991/11/21 01:56:17 gnu
148 # Avoid duplicate echo.
150 # Revision 1.29 1991/11/17 21:38:05 bothner
151 # * targets.c: Make the default target_vector contain
152 # just &DEFAULT_VECTOR. This makes executables a lot smaller.
153 # Old behavior can be gotten by defining ALL_TARGETS.
154 # * aoutf1.h, demo64.c, i386aout.c, newsos3.c, sunos.c:
155 # Factored out common code into new file aout-target.h.
156 # Saves a lot of duplicate code for a.out variants.
158 # Revision 1.28 1991/11/04 00:37:06 steve
159 # Added ctor.c (I remembered this time)
161 # Revision 1.27 1991/10/25 10:17:41 gnu
162 # * Rename COFF-related files in `coff-ARCH.c' form.
163 # coff-a29k.c, coff-i386.c, coff-i960.c, coff-m68k.c, coff-m88k.c,
164 # coff-mips.c, coff-rs6000.c to be exact.
166 # Revision 1.26 1991/10/25 07:16:59 gnu
169 # Revision 1.25 1991/10/15 07:29:13 bothner
170 # Add hosts directory.
172 # Revision 1.24 1991/10/08 22:31:51 gnu
175 # Revision 1.23 1991/10/05 06:16:44 gnu
176 # howto.c, configure, config.sub gone.
178 # Revision 1.22 1991/10/03 22:23:56 gnu
181 # Revision 1.21 1991/10/01 03:55:34 steve
182 # Insert the incidentals and things I forgot to ci last time, same log message:
184 # Mon Sep 30 15:13:46 1991 Steve Chamberlain (steve at cygnus.com)
186 # * cpu-a29k.c, cpu-i386.c, cpu-m68k.c, cpu-mips.c, cpu-vax.c,
187 # cpu-h8300.c, cpu-i960.c, cpu-m88k.c, cpu-sparc.c: added. These
188 # files will eventually contain processor specific bits for bfd,
189 # like strange relocation information and dis/assembly. So far only
190 # the H8 has been even partially done. This work also ties in with
191 # the change in handling architectures.
193 # * amdcoff.c: (a29k_reloc) fix error message.
195 # * aout-f1.h: (choose_reloc_size) now calls bfd_get_arch to
196 # discover the architecture of the bfd. (sunos4_callback) calls the
197 # function bfd_set_arch_mach rather than stuffing stuff directly
198 # into the bfd. (sunos4_write_object_contents), changed names of
199 # accessor functions.
201 # * aoutx.h: (set_arch_mach) now calls bfd_default_set_arch_mach to
202 # setup the environment.
204 # * archive.c: (bfd_slurp_coff_armap) coff archives always have the
205 # headers in big endian format, regardless of the endianess of the
208 # * archures.c: totally changed. Now an architecture is represented
209 # with a pointer to an info structure rather than an enumerated type
210 # and a long. The old info is available as two elements in the
211 # structure. Future enhancements to architecure support will
212 # involve pointers to methods being placed into the info structure.
214 # * bfd.c: changed the definition of the bfd structure for the new
215 # architecture stuff.
217 # * bout.c: (b_out_set_arch_mach) changed to use the new
218 # architecture mechanism.
220 # * coffcode.h: (coff_set_arch_mach, coff_set_flags) changed to use
221 # the new architecture mechanism.
223 # * configure.in: added h8 stuff.
225 # * ieee.c: too many changes to note. Now ieee files written with
226 # bfd gas and ld can be read by gld and ieee only linkers and
229 # * libbfd.c, libbfd.h: changed prototype of bfd_write.
231 # * newsos3.c: (newos3_callback) now calls bfd_set_arch_mach rather
232 # than fixing the structure directly.
234 # * oasys.c: (oasys_object_p) now calls bfd_default_set_arch_mach rather
235 # than fixing the structure directly.
237 # * opncls.c: (new_bfd) makes sure that bfd_init has been called
238 # before opening a bfd.
240 # * srec.c: (srec_set_arch_mach) now calls bfd_default_set_arch_mach
241 # rather than fixing the structure directly.
243 # * targets.c: (target_vector) now by defining SELECT_VECS (perhaps
244 # in the t/hmake file) a user can select which backends they want
245 # linked with bfd without changing the source.
247 # * init.c: new, looks after initializing modules.
249 # * howto.c: for future use, will allow an application to work out
250 # what cookie to use as a handle on a relcoatio howto.
252 # Revision 1.20 1991/09/04 03:59:15 rich
253 # Added "recover"'ability.
255 # Revision 1.19 1991/09/03 22:21:30 rich
258 # Revision 1.18 1991/08/29 00:35:06 gnu
259 # paperwork handled for AMD Coff.
261 # Revision 1.17 1991/08/22 20:23:12 steve
262 # *** empty log message ***
264 # Revision 1.16 1991/08/22 07:31:21 gnu
267 # Revision 1.15 1991/08/22 07:20:49 gnu
268 # Improve our Sanity.
270 # Revision 1.14 1991/08/17 00:17:00 steve
273 # Revision 1.13 1991/08/01 14:37:51 steve
274 # *** empty log message ***
276 # Revision 1.12 1991/08/01 05:33:39 gnu
277 # Forgot one more place to remove amdcoff.c reference (sigh).
279 # Revision 1.11 1991/08/01 01:27:44 gnu
280 # Delete CVS.adm from the release!
282 # Revision 1.10 1991/07/31 22:28:30 gnu
285 # Revision 1.9 1991/07/31 17:37:00 gnu
286 # Remove amdcoff.c (and its name from Makefile.in) by default, because
287 # its copyright is not yet assigned to FSF.
289 # Revision 1.8 1991/07/31 07:54:31 gnu
290 # Better sanitize aoutx.h too!
292 # Revision 1.7 1991/07/16 00:39:03 steve
293 # *** empty log message ***
295 # Revision 1.6 1991/07/16 00:35:56 steve
296 # *** empty log message ***
298 # Revision 1.5 1991/07/15 23:32:40 steve
299 # *** empty log message ***
301 # Revision 1.4 1991/07/04 16:52:54 steve
302 # Now full of documentation. Yum Yum.
304 # Revision 1.3 1991/05/31 11:22:12 gnu
305 # Remove coff-code.h and liba.out.h, add libaout.h.
307 # Revision 1.2 1991/05/29 02:40:08 gnu
308 # Fix up .Sanitize file, remove files that are not referenced.
310 # Revision 1.1 1991/05/23 21:14:00 rich