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