ld.texinfo:
[binutils-gdb.git] / ld / .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 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
21 keep_these_too=""
22 fi
23
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
28 # with rm -rf.
29
30 Things-to-keep:
31 ChangeLog
32 Makefile.in
33 README
34 TODO
35 a29k.sc-sh
36 a29k.sh
37 aout.sc-sh
38 aout-mipsbsd.sc-sh
39 cdtest-foo.cc
40 cdtest-foo.h
41 cdtest-func.cc
42 cdtest-main.cc
43 cdtest.exp
44 config
45 config.h
46 configure.bat
47 configure.in
48 ebmon29k.sc-sh
49 ebmon29k.sh
50 generic.em
51 genscripts.sh
52 h8-doc.texi
53 ld.1
54 gen-doc.texi
55 gld960.em
56 gld960.sh
57 go32.sh
58 hp300bsd.sh
59 h8300hms.em
60 h8300hms.sc-sh
61 h8300hms.sh
62 h8300xray.em
63 h8300xray.sc-sh
64 h8300xray.sh
65 i386aout.sh
66 i386bsd.sh
67 i386coff.sc-sh
68 i386coff.sh
69 i960.sc-sh
70 ld.h
71 ld.texinfo
72 ldctor.c
73 ldctor.h
74 ldemul.c
75 ldemul.h
76 lderror.c
77 lderror.h
78 ldexp.c
79 ldexp.h
80 ldfile.c
81 ldfile.h
82 ldgram.y
83 ldindr.c
84 ldindr.h
85 ldint.texinfo
86 ldlang.c
87 ldlang.h
88 ldlex.h
89 ldlex.l
90 ldmain.c
91 ldmain.h
92 ldmisc.c
93 ldmisc.h
94 ldsym.c
95 ldsym.h
96 ldver.c
97 ldver.h
98 ldwarn.c
99 ldwarn.h
100 ldwrite.c
101 ldwrite.h
102 lexsup.c
103 lnk960.em
104 lnk960.sh
105 m68kcoff.sc-sh
106 m68kcoff.sh
107 m88kbcs.sc-sh
108 m88kbcs.sh
109 mips.sc-sh
110 mipsbig.sh
111 mipsbsd.sh
112 mipsidt.sh
113 mipslit.sh
114 mri.c
115 mri.h
116 go32.sh
117 mkscript.c
118 news.sh
119 relax.c
120 relax.h
121 st2000.em
122 st2000.sc-sh
123 st2000.sh
124 sa29200.sc-sh
125 sa29200.sh
126 scripts
127 sun3.sh
128 sun4.sh
129 vanilla.em
130 vanilla.sc-sh
131 vanilla.sh
132 z8ksim.em
133 z8ksim.sc-sh
134 z8ksim.sh
135
136 Do-last:
137
138 echo Looking for signs of \"v9\"...
139
140 # Don't try to clean directories here, as the 'mv' command will fail.
141 # Also, grep fails on NFS mounted directories.
142 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
143 for i in * ; do
144 if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
145 echo Keeping v9 stuff in $i
146 fi
147 done
148 else
149 for i in * ; do
150 if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
151 echo Cleaning the \"v9\" out of $i...
152 cp $i new
153 sed '/start\-sanitize\-v9/,/end-\sanitize\-v9/d' < $i > new
154 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
155 echo Caching $i in .Recover...
156 mv $i .Recover
157 fi
158 mv new $i
159 fi
160 done
161 fi
162
163 #
164 #
165 # $Log$
166 # Revision 1.55 1993/03/30 23:24:53 pesch
167 # ld.texinfo:
168 # Conditionalize manual to maintain Cygnus, Hitachi versions in parallel.
169 # (Texinfo conditionals are stable enough to permit this, at last!)
170 # NOTE: @ignore'd passages from earlier versions DELETED; use CVS history
171 # to retrieve if wanted.
172 #
173 # gen-doc.texi, h8-doc.texi: manual configuration definitions.
174 #
175 # Makefile.in: link config defn (`gen' by default) to configdoc.texi, included
176 # by ld.texinfo
177 #
178 # .Sanitize: add gen-doc.texi, h8-doc.texi
179 #
180 # Revision 1.54 1993/03/09 18:12:14 ian
181 # Removed obsolete Makefile.dos.
182 #
183 # Revision 1.53 1993/03/04 20:49:05 ian
184 # * mips.sc-sh: Added variables which may be overridden by a
185 # specific emulation.
186 # * mipsidt.sh: New file; emulation for IDT MIPS board.
187 # * Makefile.in (ALL_EMULATIONS): Added em_mipsidt.o.
188 # (em_mipsidt.c): New target. Uses mipsidt.sh and mips.sc-sh.
189 # * config/mips-idt.mt: New file; sets EMUL to mipsidt.
190 # * configure.in (mips-idt-ecoff): New target; uses mips-idt.
191 #
192 # Revision 1.52 1993/02/28 14:42:15 raeburn
193 # mips-bsd and 386bsd support
194 #
195 # Revision 1.51 1993/02/26 18:53:13 dje
196 # Added initial sparc-v9 support.
197 #
198 # Revision 1.50 1993/02/13 10:15:14 zoo
199 # removing excess verbosity
200 #
201 # Revision 1.49 1993/02/03 17:11:08 ian
202 # Keep forgetting those .Sanitize files.
203 #
204 # Revision 1.48 1993/01/22 22:30:34 ian
205 # Fri Jan 22 14:22:44 1993 Ian Lance Taylor (ian@cygnus.com)
206 #
207 # * mips.sc-sh: New file. Ultrix, and hopefully other MIPS ECOFF
208 # targets, linker script.
209 # * mipslit.sh: New file. Little endian MIPS emulation.
210 # * config/mips-lit.mt: New file. Use mipslit emulation.
211 # * configure.in (mips-dec-ultrix*): Use target mips-lit.
212 # * Makefile.in (ALL_EMULATIONS): Added em_mipslit.o.
213 # (em_mipslit.c): New target. Uses mipslit.sh.
214 #
215 # Revision 1.47 1992/09/25 18:10:41 sac
216 # Fri Sep 25 11:08:01 1992 Steve Chamberlain (sac@thepub.cygnus.com)
217 #
218 # Added initial support for the z8k
219 # * z8ksim.em, z8ksim.sc-sh, z8ksim.sh: new files
220 # * configure.in, Makefile.in: modified to reflect above
221 #
222 # * ldlang.c (lang_check): when linking conflicting architectures,
223 # make the output file reflect at least one of the bad inputs.
224 #
225 # Revision 1.46 1992/09/11 20:43:30 sac
226 # Sanitize slip
227 #
228 # Revision 1.45 1992/09/11 17:47:22 sac
229 # Add i386coff.sh
230 #
231 # Revision 1.44 1992/09/09 18:59:04 ian
232 # Brought in from p3. If anybody knows good numbers for m68k COFF,
233 # please let me know, or plug them in yourself.
234 #
235 # Wed Sep 9 11:52:58 1992 Ian Lance Taylor (ian@cygnus.com)
236 #
237 # * Makefile.in, m68kcoff.sh, m68kcoff.sc-sh, config/m68k-coff.mt:
238 # added m68k-coff emulation mode, stolen from a29k emulation.
239 # Almost certainly wrong, but perhaps better than sun3.
240 #
241 # Also fixed an error message in configure.in so that it started with
242 # '***' like the other error messages do.
243 #
244 # Revision 1.43 1992/09/03 22:56:45 bothner
245 # Add TODO.
246 #
247 # Revision 1.42 1992/09/01 22:14:49 bothner
248 # Add scripts.
249 #
250 # Revision 1.41 1992/08/31 01:14:44 bothner
251 # * cplus-dem.c: Removed. Use the version in libiberty now.
252 # * ldmisc.c: Use new libiberty version of cplus_demangle().
253 #
254 # Revision 1.40 1992/08/17 18:35:55 pesch
255 # Use new name of man page (ld.1).
256 #
257 # Revision 1.39 1992/08/07 01:37:34 bothner
258 # * ldint.texinfo: New internals manual (beginnings thereof).
259 # * PORTING: Removed, merged into ldint.texinfo.
260 #
261 # Revision 1.38 1992/08/05 04:15:24 bothner
262 # * cdtest-main.cc, cdtest-func.cc, cdtest-foo.h, cdtest-foo.cc,
263 # cdtest.exp: A test program (copied from libg++/test-install)
264 # that tests that constructor and destructors are handled
265 # corrrectly.
266 #
267 # Revision 1.37 1992/05/02 02:08:16 sac
268 # New stuff for 29200
269 #
270 # Revision 1.36 1992/05/01 22:08:40 sac
271 # Add mri.h
272 #
273 # Revision 1.35 1992/04/17 15:59:22 sac
274 # * relax.c: added handling for new "padding" seclet type, used to
275 # fill out gaps between section.
276 # * ldgram.y, ldlex.l: now -defsym on the command line is done
277 # properly.
278 #
279 # Revision 1.34 1992/04/15 23:11:53 sac
280 # added mri.c
281 #
282 # Revision 1.33 1992/04/05 01:46:05 sac
283 # New lexer.
284 #
285 # New targets for h8/300 simulator and DOS
286 #
287 # Revision 1.32 1992/03/07 18:32:27 sac
288 # *** empty log message ***
289 #
290 # Revision 1.31 1992/02/27 17:23:59 sac
291 # Why didn't it start emacs
292 #
293 # Revision 1.30 1992/02/22 00:11:38 sac
294 # DJ naming change
295 #
296 # Revision 1.29 1992/02/16 20:49:26 bothner
297 # *** empty log message ***
298 #
299 # Revision 1.28 1992/02/07 22:32:29 hgs
300 # added h8300hms.c and h8300hms.sc
301 #
302 # Revision 1.27 1992/01/29 16:44:08 sac
303 # ldlnk960.c: Special #ifdef to choose little endian ony
304 # ldgram.y: allow forward ref of section
305 #
306 # Revision 1.26 1992/01/24 22:35:55 sac
307 # .Sanitize: added relax.c
308 # ldsym.c ldlang.* more map stuff
309 #
310 # Revision 1.25 1991/12/12 03:42:08 sac
311 # New dos files
312 #
313 # Revision 1.24 1991/12/08 01:27:59 sac
314 # *** empty log message ***
315 #
316 # Revision 1.23 1991/11/15 21:09:49 bothner
317 # Remove ldgld.c, ldgld68k.c, ldm88k.c, since these are
318 # now automatically generated.
319 #
320 # Revision 1.22 1991/11/06 09:26:59 sac
321 # Added three files which had been forgotten
322 #
323 # Revision 1.21 1991/11/05 21:56:06 sac
324 # *** empty log message ***
325 #
326 # Revision 1.20 1991/11/05 20:36:54 sac
327 # *** empty log message ***
328 #
329 # Revision 1.19 1991/11/04 00:46:44 steve
330 # i386 aout changes from Bob Kukura
331 #
332 # Revision 1.18 1991/10/12 06:43:01 bothner
333 # Fixed typo.
334 #
335 # Revision 1.17 1991/10/11 19:31:38 steve
336 # *** empty log message ***
337 #
338 # Revision 1.16 1991/10/10 11:59:25 rich
339 # updating
340 #
341 # Revision 1.15 1991/10/09 20:40:37 bothner
342 # Added h8300hds.{c,sc}.
343 #
344 # Revision 1.14 1991/10/05 04:55:04 gnu
345 # * Makefile.in: Avoid using $< in non-suffix rules (breaks on Sun Make).
346 # * ldfile.c, ldlang.c, ldmain.c, ldwrite.c: Cope with renames of a
347 # few BFD types & enums.
348 # * ChangeLog: Create.
349 #
350 # Revision 1.13 1991/09/27 20:19:25 bothner
351 # Update for deleted (and some added) files.
352 #
353 # Revision 1.12 1991/09/24 02:30:20 rich
354 # ldgram.h is not cvs'd source.
355 #
356 # Revision 1.11 1991/09/23 20:59:12 steve
357 # Cleaned it up for 88k
358 #
359 # Revision 1.5 1991/08/27 00:21:34 steve
360 # Added config.sub
361 #
362 # Revision 1.4 1991/08/06 21:28:21 steve
363 # Patches to fix bugs reported by roland McGrath
364 #
365 # Revision 1.3 1991/08/01 23:59:06 steve
366 # *** empty log message ***
367 #
368 # Revision 1.2 1991/07/16 00:31:15 steve
369 # *** empty log message ***
370 #
371 # Revision 1.1 1991/05/23 21:45:12 rich
372 # Initial revision
373 #
374 #
375 #
376
377 # End of file.