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 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
24 # All files listed between the "Things-to-keep:" line and the
25 # "Files-to-sed:" line will be kept. All other files will be removed.
26 # Directories listed in this section will have their own Sanitize
27 # called. Directories not listed will be removed in their entirety
136 echo Looking for signs of \"v9\"...
138 # Don't try to clean directories here, as the 'mv' command will fail.
139 # Also, grep fails on NFS mounted directories.
140 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
142 if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
143 echo Keeping v9 stuff in $i
148 if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
149 echo Cleaning the \"v9\" out of $i...
151 sed '/start\-sanitize\-v9/,/end-\sanitize\-v9/d' < $i > new
152 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
153 echo Caching $i in .Recover...
164 # Revision 1.52 1993/02/28 14:42:15 raeburn
165 # mips-bsd and 386bsd support
167 # Revision 1.51 1993/02/26 18:53:13 dje
168 # Added initial sparc-v9 support.
170 # Revision 1.50 1993/02/13 10:15:14 zoo
171 # removing excess verbosity
173 # Revision 1.49 1993/02/03 17:11:08 ian
174 # Keep forgetting those .Sanitize files.
176 # Revision 1.48 1993/01/22 22:30:34 ian
177 # Fri Jan 22 14:22:44 1993 Ian Lance Taylor (ian@cygnus.com)
179 # * mips.sc-sh: New file. Ultrix, and hopefully other MIPS ECOFF
180 # targets, linker script.
181 # * mipslit.sh: New file. Little endian MIPS emulation.
182 # * config/mips-lit.mt: New file. Use mipslit emulation.
183 # * configure.in (mips-dec-ultrix*): Use target mips-lit.
184 # * Makefile.in (ALL_EMULATIONS): Added em_mipslit.o.
185 # (em_mipslit.c): New target. Uses mipslit.sh.
187 # Revision 1.47 1992/09/25 18:10:41 sac
188 # Fri Sep 25 11:08:01 1992 Steve Chamberlain (sac@thepub.cygnus.com)
190 # Added initial support for the z8k
191 # * z8ksim.em, z8ksim.sc-sh, z8ksim.sh: new files
192 # * configure.in, Makefile.in: modified to reflect above
194 # * ldlang.c (lang_check): when linking conflicting architectures,
195 # make the output file reflect at least one of the bad inputs.
197 # Revision 1.46 1992/09/11 20:43:30 sac
200 # Revision 1.45 1992/09/11 17:47:22 sac
203 # Revision 1.44 1992/09/09 18:59:04 ian
204 # Brought in from p3. If anybody knows good numbers for m68k COFF,
205 # please let me know, or plug them in yourself.
207 # Wed Sep 9 11:52:58 1992 Ian Lance Taylor (ian@cygnus.com)
209 # * Makefile.in, m68kcoff.sh, m68kcoff.sc-sh, config/m68k-coff.mt:
210 # added m68k-coff emulation mode, stolen from a29k emulation.
211 # Almost certainly wrong, but perhaps better than sun3.
213 # Also fixed an error message in configure.in so that it started with
214 # '***' like the other error messages do.
216 # Revision 1.43 1992/09/03 22:56:45 bothner
219 # Revision 1.42 1992/09/01 22:14:49 bothner
222 # Revision 1.41 1992/08/31 01:14:44 bothner
223 # * cplus-dem.c: Removed. Use the version in libiberty now.
224 # * ldmisc.c: Use new libiberty version of cplus_demangle().
226 # Revision 1.40 1992/08/17 18:35:55 pesch
227 # Use new name of man page (ld.1).
229 # Revision 1.39 1992/08/07 01:37:34 bothner
230 # * ldint.texinfo: New internals manual (beginnings thereof).
231 # * PORTING: Removed, merged into ldint.texinfo.
233 # Revision 1.38 1992/08/05 04:15:24 bothner
234 # * cdtest-main.cc, cdtest-func.cc, cdtest-foo.h, cdtest-foo.cc,
235 # cdtest.exp: A test program (copied from libg++/test-install)
236 # that tests that constructor and destructors are handled
239 # Revision 1.37 1992/05/02 02:08:16 sac
240 # New stuff for 29200
242 # Revision 1.36 1992/05/01 22:08:40 sac
245 # Revision 1.35 1992/04/17 15:59:22 sac
246 # * relax.c: added handling for new "padding" seclet type, used to
247 # fill out gaps between section.
248 # * ldgram.y, ldlex.l: now -defsym on the command line is done
251 # Revision 1.34 1992/04/15 23:11:53 sac
254 # Revision 1.33 1992/04/05 01:46:05 sac
257 # New targets for h8/300 simulator and DOS
259 # Revision 1.32 1992/03/07 18:32:27 sac
260 # *** empty log message ***
262 # Revision 1.31 1992/02/27 17:23:59 sac
263 # Why didn't it start emacs
265 # Revision 1.30 1992/02/22 00:11:38 sac
268 # Revision 1.29 1992/02/16 20:49:26 bothner
269 # *** empty log message ***
271 # Revision 1.28 1992/02/07 22:32:29 hgs
272 # added h8300hms.c and h8300hms.sc
274 # Revision 1.27 1992/01/29 16:44:08 sac
275 # ldlnk960.c: Special #ifdef to choose little endian ony
276 # ldgram.y: allow forward ref of section
278 # Revision 1.26 1992/01/24 22:35:55 sac
279 # .Sanitize: added relax.c
280 # ldsym.c ldlang.* more map stuff
282 # Revision 1.25 1991/12/12 03:42:08 sac
285 # Revision 1.24 1991/12/08 01:27:59 sac
286 # *** empty log message ***
288 # Revision 1.23 1991/11/15 21:09:49 bothner
289 # Remove ldgld.c, ldgld68k.c, ldm88k.c, since these are
290 # now automatically generated.
292 # Revision 1.22 1991/11/06 09:26:59 sac
293 # Added three files which had been forgotten
295 # Revision 1.21 1991/11/05 21:56:06 sac
296 # *** empty log message ***
298 # Revision 1.20 1991/11/05 20:36:54 sac
299 # *** empty log message ***
301 # Revision 1.19 1991/11/04 00:46:44 steve
302 # i386 aout changes from Bob Kukura
304 # Revision 1.18 1991/10/12 06:43:01 bothner
307 # Revision 1.17 1991/10/11 19:31:38 steve
308 # *** empty log message ***
310 # Revision 1.16 1991/10/10 11:59:25 rich
313 # Revision 1.15 1991/10/09 20:40:37 bothner
314 # Added h8300hds.{c,sc}.
316 # Revision 1.14 1991/10/05 04:55:04 gnu
317 # * Makefile.in: Avoid using $< in non-suffix rules (breaks on Sun Make).
318 # * ldfile.c, ldlang.c, ldmain.c, ldwrite.c: Cope with renames of a
319 # few BFD types & enums.
320 # * ChangeLog: Create.
322 # Revision 1.13 1991/09/27 20:19:25 bothner
323 # Update for deleted (and some added) files.
325 # Revision 1.12 1991/09/24 02:30:20 rich
326 # ldgram.h is not cvs'd source.
328 # Revision 1.11 1991/09/23 20:59:12 steve
329 # Cleaned it up for 88k
331 # Revision 1.5 1991/08/27 00:21:34 steve
334 # Revision 1.4 1991/08/06 21:28:21 steve
335 # Patches to fix bugs reported by roland McGrath
337 # Revision 1.3 1991/08/01 23:59:06 steve
338 # *** empty log message ***
340 # Revision 1.2 1991/07/16 00:31:15 steve
341 # *** empty log message ***
343 # Revision 1.1 1991/05/23 21:45:12 rich