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