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