Commit | Line | Data |
---|---|---|
08942d11 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 | ||
18 | Do-first: | |
19 | ||
446545dd | 20 | echo Sanitizing `pwd`. |
08942d11 RP |
21 | |
22 | # All files listed between the "Things-to-keep:" line and the | |
23 | # "Files-to-sed:" line will be kept. All other files will be removed. | |
24 | # Directories listed in this section will have their own Sanitize | |
25 | # called. Directories not listed will be removed in their entirety | |
26 | # with rm -rf. | |
27 | ||
28 | Things-to-keep: | |
08942d11 | 29 | COPYING |
86835b01 | 30 | doc |
08942d11 RP |
31 | ChangeLog |
32 | Makefile.in | |
33 | TODO | |
8c1891af | 34 | VERSION |
08942d11 RP |
35 | aout32.c |
36 | aout64.c | |
37 | aoutf1.h | |
08942d11 | 38 | aoutx.h |
a89f7423 | 39 | aout-target.h |
08942d11 RP |
40 | archive.c |
41 | archures.c | |
901c5bfd | 42 | bfd-in.h |
08942d11 | 43 | bfd.c |
08942d11 RP |
44 | bout.c |
45 | cache.c | |
e181b631 | 46 | ctor.c |
156e3852 JG |
47 | coff-a29k.c |
48 | coff-i386.c | |
49 | coff-i960.c | |
50 | coff-m68k.c | |
51 | coff-m88k.c | |
52 | coff-mips.c | |
53 | coff-rs6000.c | |
08942d11 | 54 | coffcode.h |
fb1c4481 | 55 | config |
08942d11 | 56 | configure.in |
6f715d66 | 57 | core.c |
08942d11 | 58 | demo64.c |
ea3768dc | 59 | elf.c |
08942d11 | 60 | filemode.c |
6f715d66 | 61 | format.c |
08942d11 | 62 | host-aout.c |
90c7c720 | 63 | hosts |
b7de6963 | 64 | i386aout.c |
08942d11 | 65 | ieee.c |
141c97ea | 66 | libaout.h |
901c5bfd | 67 | libbfd-in.h |
63ffe5ef SC |
68 | cpu-a29k.c |
69 | cpu-i386.c | |
70 | cpu-m68k.c | |
71 | cpu-mips.c | |
72 | cpu-vax.c | |
73 | cpu-h8300.c | |
74 | cpu-i960.c | |
75 | cpu-m88k.c | |
cc97dfbb | 76 | cpu-rs6000.c |
63ffe5ef | 77 | init.c |
63ffe5ef | 78 | cpu-sparc.c |
08942d11 RP |
79 | libbfd.c |
80 | libbfd.h | |
901c5bfd | 81 | libcoff-in.h |
08942d11 RP |
82 | libcoff.h |
83 | libieee.h | |
84 | liboasys.h | |
08942d11 RP |
85 | newsos3.c |
86 | oasys.c | |
87 | opncls.c | |
6f715d66 SC |
88 | reloc.c |
89 | section.c | |
08942d11 RP |
90 | srec.c |
91 | sunos.c | |
6f715d66 | 92 | syms.c |
08942d11 RP |
93 | targets.c |
94 | trad-core.c | |
95 | trad-core.h | |
96 | ||
97 | Do-last: | |
98 | ||
446545dd JG |
99 | if ( echo $* | grep keep\-v9 > /dev/null ) ; then |
100 | echo Keeping v9 in aoutx.h | |
101 | else | |
102 | echo Sanitizing v9 in aoutx.h | |
103 | rm -f new | |
104 | while grep -s start-sanitize-v9 aoutx.h ; do | |
105 | sed -e '/start-sanitize-v9/,/end-sanitize-v9/d' <aoutx.h >new | |
01f0a88e RP |
106 | if [ -n "${safe}" ] ; then |
107 | mv aoutx.h .Recover | |
108 | else | |
109 | rm aoutx.h | |
110 | fi | |
446545dd JG |
111 | mv new aoutx.h |
112 | done | |
113 | fi | |
114 | ||
08942d11 RP |
115 | echo Done in `pwd`. |
116 | ||
117 | # | |
118 | # | |
119 | # $Log$ | |
a89f7423 PB |
120 | # Revision 1.29 1991/11/17 21:38:05 bothner |
121 | # * targets.c: Make the default target_vector contain | |
122 | # just &DEFAULT_VECTOR. This makes executables a lot smaller. | |
123 | # Old behavior can be gotten by defining ALL_TARGETS. | |
124 | # * aoutf1.h, demo64.c, i386aout.c, newsos3.c, sunos.c: | |
125 | # Factored out common code into new file aout-target.h. | |
126 | # Saves a lot of duplicate code for a.out variants. | |
127 | # | |
128 | # Revision 1.28 1991/11/04 00:37:06 steve | |
e181b631 SC |
129 | # Added ctor.c (I remembered this time) |
130 | # | |
131 | # Revision 1.27 1991/10/25 10:17:41 gnu | |
156e3852 JG |
132 | # * Rename COFF-related files in `coff-ARCH.c' form. |
133 | # coff-a29k.c, coff-i386.c, coff-i960.c, coff-m68k.c, coff-m88k.c, | |
134 | # coff-mips.c, coff-rs6000.c to be exact. | |
135 | # | |
136 | # Revision 1.26 1991/10/25 07:16:59 gnu | |
cc97dfbb JG |
137 | # RS/6000 support |
138 | # | |
139 | # Revision 1.25 1991/10/15 07:29:13 bothner | |
90c7c720 PB |
140 | # Add hosts directory. |
141 | # | |
142 | # Revision 1.24 1991/10/08 22:31:51 gnu | |
b7de6963 JG |
143 | # Add i386aout.c |
144 | # | |
145 | # Revision 1.23 1991/10/05 06:16:44 gnu | |
c167d2a6 JG |
146 | # howto.c, configure, config.sub gone. |
147 | # | |
148 | # Revision 1.22 1991/10/03 22:23:56 gnu | |
ea3768dc JG |
149 | # Add elf.c |
150 | # | |
151 | # Revision 1.21 1991/10/01 03:55:34 steve | |
63ffe5ef SC |
152 | # Insert the incidentals and things I forgot to ci last time, same log message: |
153 | # | |
154 | # Mon Sep 30 15:13:46 1991 Steve Chamberlain (steve at cygnus.com) | |
155 | # | |
156 | # * cpu-a29k.c, cpu-i386.c, cpu-m68k.c, cpu-mips.c, cpu-vax.c, | |
157 | # cpu-h8300.c, cpu-i960.c, cpu-m88k.c, cpu-sparc.c: added. These | |
158 | # files will eventually contain processor specific bits for bfd, | |
159 | # like strange relocation information and dis/assembly. So far only | |
160 | # the H8 has been even partially done. This work also ties in with | |
161 | # the change in handling architectures. | |
162 | # | |
163 | # * amdcoff.c: (a29k_reloc) fix error message. | |
164 | # | |
165 | # * aout-f1.h: (choose_reloc_size) now calls bfd_get_arch to | |
166 | # discover the architecture of the bfd. (sunos4_callback) calls the | |
167 | # function bfd_set_arch_mach rather than stuffing stuff directly | |
168 | # into the bfd. (sunos4_write_object_contents), changed names of | |
169 | # accessor functions. | |
170 | # | |
171 | # * aoutx.h: (set_arch_mach) now calls bfd_default_set_arch_mach to | |
172 | # setup the environment. | |
173 | # | |
174 | # * archive.c: (bfd_slurp_coff_armap) coff archives always have the | |
175 | # headers in big endian format, regardless of the endianess of the | |
176 | # host or target. | |
177 | # | |
178 | # * archures.c: totally changed. Now an architecture is represented | |
179 | # with a pointer to an info structure rather than an enumerated type | |
180 | # and a long. The old info is available as two elements in the | |
181 | # structure. Future enhancements to architecure support will | |
182 | # involve pointers to methods being placed into the info structure. | |
183 | # | |
184 | # * bfd.c: changed the definition of the bfd structure for the new | |
185 | # architecture stuff. | |
186 | # | |
187 | # * bout.c: (b_out_set_arch_mach) changed to use the new | |
188 | # architecture mechanism. | |
189 | # | |
190 | # * coffcode.h: (coff_set_arch_mach, coff_set_flags) changed to use | |
191 | # the new architecture mechanism. | |
192 | # | |
193 | # * configure.in: added h8 stuff. | |
194 | # | |
195 | # * ieee.c: too many changes to note. Now ieee files written with | |
196 | # bfd gas and ld can be read by gld and ieee only linkers and | |
197 | # simulators. | |
198 | # | |
199 | # * libbfd.c, libbfd.h: changed prototype of bfd_write. | |
200 | # | |
201 | # * newsos3.c: (newos3_callback) now calls bfd_set_arch_mach rather | |
202 | # than fixing the structure directly. | |
203 | # | |
204 | # * oasys.c: (oasys_object_p) now calls bfd_default_set_arch_mach rather | |
205 | # than fixing the structure directly. | |
206 | # | |
207 | # * opncls.c: (new_bfd) makes sure that bfd_init has been called | |
208 | # before opening a bfd. | |
209 | # | |
210 | # * srec.c: (srec_set_arch_mach) now calls bfd_default_set_arch_mach | |
211 | # rather than fixing the structure directly. | |
212 | # | |
213 | # * targets.c: (target_vector) now by defining SELECT_VECS (perhaps | |
214 | # in the t/hmake file) a user can select which backends they want | |
215 | # linked with bfd without changing the source. | |
216 | # | |
217 | # * init.c: new, looks after initializing modules. | |
218 | # | |
219 | # * howto.c: for future use, will allow an application to work out | |
220 | # what cookie to use as a handle on a relcoatio howto. | |
221 | # | |
222 | # Revision 1.20 1991/09/04 03:59:15 rich | |
01f0a88e RP |
223 | # Added "recover"'ability. |
224 | # | |
225 | # Revision 1.19 1991/09/03 22:21:30 rich | |
48543e05 RP |
226 | # "recover" aoutx.h |
227 | # | |
228 | # Revision 1.18 1991/08/29 00:35:06 gnu | |
20ccfb09 JG |
229 | # paperwork handled for AMD Coff. |
230 | # | |
231 | # Revision 1.17 1991/08/22 20:23:12 steve | |
86835b01 SC |
232 | # *** empty log message *** |
233 | # | |
234 | # Revision 1.16 1991/08/22 07:31:21 gnu | |
fa557803 JG |
235 | # New config.sub |
236 | # | |
237 | # Revision 1.15 1991/08/22 07:20:49 gnu | |
901c5bfd JG |
238 | # Improve our Sanity. |
239 | # | |
240 | # Revision 1.14 1991/08/17 00:17:00 steve | |
c618de01 SC |
241 | # Documentation |
242 | # | |
243 | # Revision 1.13 1991/08/01 14:37:51 steve | |
e961483f SC |
244 | # *** empty log message *** |
245 | # | |
246 | # Revision 1.12 1991/08/01 05:33:39 gnu | |
fab4b2d3 JG |
247 | # Forgot one more place to remove amdcoff.c reference (sigh). |
248 | # | |
249 | # Revision 1.11 1991/08/01 01:27:44 gnu | |
3c123e24 JG |
250 | # Delete CVS.adm from the release! |
251 | # | |
252 | # Revision 1.10 1991/07/31 22:28:30 gnu | |
96d38440 JG |
253 | # Remove archures.h |
254 | # | |
255 | # Revision 1.9 1991/07/31 17:37:00 gnu | |
de02577e JG |
256 | # Remove amdcoff.c (and its name from Makefile.in) by default, because |
257 | # its copyright is not yet assigned to FSF. | |
258 | # | |
259 | # Revision 1.8 1991/07/31 07:54:31 gnu | |
446545dd JG |
260 | # Better sanitize aoutx.h too! |
261 | # | |
262 | # Revision 1.7 1991/07/16 00:39:03 steve | |
fb1c4481 SC |
263 | # *** empty log message *** |
264 | # | |
265 | # Revision 1.6 1991/07/16 00:35:56 steve | |
a4c407e5 SC |
266 | # *** empty log message *** |
267 | # | |
268 | # Revision 1.5 1991/07/15 23:32:40 steve | |
a737c70b SC |
269 | # *** empty log message *** |
270 | # | |
271 | # Revision 1.4 1991/07/04 16:52:54 steve | |
6f715d66 SC |
272 | # Now full of documentation. Yum Yum. |
273 | # | |
274 | # Revision 1.3 1991/05/31 11:22:12 gnu | |
141c97ea JG |
275 | # Remove coff-code.h and liba.out.h, add libaout.h. |
276 | # | |
277 | # Revision 1.2 1991/05/29 02:40:08 gnu | |
8c1891af JG |
278 | # Fix up .Sanitize file, remove files that are not referenced. |
279 | # | |
280 | # Revision 1.1 1991/05/23 21:14:00 rich | |
08942d11 RP |
281 | # Initial revision |
282 | # | |
283 | # | |
284 | # | |
285 | ||
286 | # End of file. |