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