d8176c29ece0041fb52be54fe61610aecd4a1595
[deliverable/binutils-gdb.git] / bfd / ChangeLog
1 Fri May 10 12:34:48 1991 Steve Chamberlain (steve at cygint.cygnus.com)
2
3 * Makefile.in, m68kcoff.c, targets.c
4 Test new structure code with a 68k coff implementaion
5
6 * coff-code.h, icoff.c, coffswap.c, libcoff.h
7 Fixed all the places where there were problems with the size and
8 alignments of structures on disk and structures in memory. #ifed out
9 all the code in coffswap.c, since it should be done using the target
10 swap routines now.
11
12
13 Thu May 9 11:00:45 1991 Steve Chamberlain (steve at cygint.cygnus.com)
14
15 * ieee.c (do_one, ieee_slurp_section_data): now supports the load
16 multiple reloc command.
17
18 * sunos.c (sunos4_set_section_contents): Made it so that sections
19 are always padded to their alignment size.
20
21 Sat May 4 15:49:43 1991 John Gilmore (gnu at cygint.cygnus.com)
22
23 * archive.c, bfd.c, coff-code.h, opncls.c, sunos.c, trad-core.c:
24 Clean up types and such (saber C problems).
25 * ecoff.c: Clean up types and such. Remove routines that are
26 not used. Fix up reading and swapping of shorts from files.
27
28 Tue Mar 5 01:47:57 1991 John Gilmore (gnu at cygint.cygnus.com)
29
30 * coff-code.h (bfd_coff_swap_sym, bfd_coff_swap_aux,
31 bfd_coff_swap_lineno): Export the routines that byte-swap COFF
32 symbol tables if necessary when reading them in, so gdb can use
33 them. Add "bfd_coff_" to the names so they won't conflict with
34 names in calling programs. FIXME-soon: if coff-code.h is
35 included in two BFD modules, this will cause duplicate
36 definitions; the routines should be exported to a separate,
37 common, module (probably along with a mess of other ones).
38
39 Sat Mar 2 12:11:26 1991 John Gilmore (gnu at cygint.cygnus.com)
40
41 Improve modtime support.
42
43 * bfd.h: Add boolean mtime_set, and declare bfd_get_mtime.
44 Remove #define for bfd_get_mtime. Remove gratuitous comment.
45 * bfd.c (bfd_get_mtime): New fn, caches mtime, gets if not cached.
46 BUG: archive members still do not get correct mod times.
47
48 Improve floating point support for core files.
49
50 * sunos.c (struct core): Change void *fpa_dummy to double fp_stuff.
51 (sunos4_core_file_p): Create a second registers section in the
52 core file, called ".reg2", for the float registers.
53
54 Thu Feb 14 15:49:06 1991 Gumby Vinayak Wallace (gumby at cygint.cygnus.com)
55
56 * many changes to improve archive handling; found a logic flaw in
57 bfd_check_format which only just happened to work by cooncidence.
58
59 Thu Feb 14 07:53:16 1991 Steve Chamberlain (steve at cygint.cygnus.com)
60
61 * bfd.c (bfd_perform_relocation): fixed to use output_offsets
62 correctly.
63
64 * bfd.h: changed type of udata in asymbol to void *, like it
65 should be. Added bfd_reloc_dangerous enum member.
66
67 * coff-code.h: Fixed it so that internally generated symbols get
68 their values relocated correctly in all cases. Removed calls to
69 xmalloc.
70
71 * icoff.c: Not understanding the destination symbol of a reloc is
72 not a failure any more, just 'dangerous'. This allows linking of
73 b.out and coff images.
74
75 * sunos.c: Cleaned up the way that ZMAGIC section sizes are
76 calculated.
77
78
79 Tue Feb 12 13:25:46 1991 Steve Chamberlain (steve at cygint.cygnus.com)
80
81 * sunos.c (translate_to_native_sym_flags): fixed
82 sym_pointer->n_value so that symbols on the way out get their
83 section relative values calculated correctly.
84
85 * coff-code.h (mangle_symbols): fixed problem where tags were not
86 being relocated for structs, enums, unions. Also various lints.
87
88 Mon Feb 11 19:52:26 1991 Gumby Vinayak Wallace (gumby at cygint.cygnus.com)
89
90 * archive.c (get_elt_at_filepos): system_call_error returned
91 incorrectly.
92
93 Sun Feb 10 23:18:40 1991 Gumby Vinayak Wallace (gumby at cygint.cygnus.com)
94
95 * Resolve the use of no_error and system_call_error.
96 The bfd library itself now will never set bfd_error to
97 no_error.
98
99 The code still needs to be combed to make sure all the error
100 codes are correct. I suspect they are not always set correctly.
101
102 * The names of all the messages have _ prepended because the sun
103 bundled compiler can't distinguish from a macro which takes an
104 argument and the same identifier in a non-macro context.
105
106 * The reason for the above being that entry points which used to
107 be trampoline functions are now just macros which expand to a
108 direct call through the bfd's xfer vector.
109
110 * (../include/intel-coff.h) F_AR32WR: fix this constant. Why
111 must gas have its own version of everything (the gas version
112 had the correct value)
113
114 Tue Feb 5 11:46:53 1991 Steve Chamberlain (steve at cygint.cygnus.com)
115
116 * b.out.c: Added patches supplied by chrisb@mipon2.intel.com to
117 properly support i960 architecture and output correct reloc stuff.
118
119 * bfd.h: added prototype for bfd_printable_arch_mach, added
120 BFD_FAIL
121
122 * coff-code.h: Applied patches from chrisb to support i960
123 architecture, zero relocs and swap them correcly and conditionally
124 compiled the timestamp.
125
126 * sunos.c: Made the default section alignment 2^3 so that doubles
127 are done properly. Fixed the same reloc bug that was in b.out.c
128
129 * sysdep.h: Now compiles on a Posix box
130
131 Wed Jan 30 21:36:26 1991 John Gilmore (gnu at cygint.cygnus.com)
132
133 * icoff.c: Fix comment on big-endian version.
134 * coff-code.h: Make HAS_RELOC really work (it's backwards from
135 F_RELFLG). Set F_AR32WR in output files if little endian
136 architecture.
137
138 Tue Jan 29 20:56:10 PST 1991 steve@cygnus.com
139
140 * archures.c fixed =/== typo
141
142 * sunos.c added architecture stuff for output. Fixed
143 bug where files where vma(data) != size(text)
144 were processed wrong.
145
146 * coff-code.h added a lint cast
147
148 * (../include/a.out.sun4.h) fixed it so zmagic
149 worked
150
151 Mon Jan 28 19:15:29 PST 1991 steve@cygnus.com
152
153 * archive.c removed loads of includes, and fixed bug where string
154 table didn't have a null at the end.
155
156 * bfd.c fixed includes, added symbols argument to
157 canonicalize_reloc entry point.
158
159 * libbfd.c fixed includes and added some lint patches.
160
161 * targets.c added both sorts of intel coff.
162
163 * b.out.c fixed included, changed was the canonical
164 relocs were done.
165
166 * icoff.c added support for callj and big and little
167 enidian tables.
168
169 * opncls.c added chmod+xing for files with EXEC_P set.
170
171 * sunos.c fixed includes. Changed default section
172 alignement to words. Fixed relocation stuff to work with
173 new scheme
174
175 * bfd.h various new types added, prototype for new
176 reloc calls, changed bfd->iostream to a void *
177 to including files don't need stdio.h.
178
179 * libcoff.h added conversion table to tie relocs to
180 canonical symbols
181
182 * sysdep.h created
183
184 * coff-code.h fixed includes. Added code to support
185 big and little endian formats. Various lints. Better
186 processing of symbols. Changed reloc stuff to new
187 order
188
189 * libbfd.h fixed includes
190
191
192 Mon Jan 21 11:53:51 PST 1991 steve@cygnus.com
193
194 * bfd.h changed name of alignment entry in sec_struct to
195 alignment_power, because of conflicting uses within bfd.
196 Now it should be obvious that it's a 2**n alignment
197 specifier. Removed start_pad, end_alignment, block, minsize,
198 output_file_alignment, subsection_alignment and original_vma fields.
199 Added align_power() macro. Fixed bfd_section_alignment
200 acessor macros. Added bfd_symbol_same_target macro.
201
202 * b.out.c (b_out_write_object_contents) fixed to use
203 new alignment member. Fixed (callj_callback) to use section
204 relative symbols properly.
205
206 * sunos.c (sunos4_object_p) fixed to use new alignment_power.
207 Fixed (translate_from_native_sym_flags) to correctly make
208 symbols section relative.
209
210 * bfd.c (bfd_errmsg) fixed various enum cast problems.
211 (bfd_make_section) took out initialization of obsolete members.
212 (bfd_print_symbol_vandf) added
213
214 * opncls.c (bfd_create) created.
215
216 * coff-code.h (coff_new_section_hook) took away refs
217 to obsolete members. (make_a_section_from_file) added
218 conversion between alignment types. (coff_symbol_from)
219 added. (coff_count_linenumbers) only counts linenumbers
220 if symbol is of coff-type. (coff_mangle_symbols) only
221 heavily mangles symbols if symbol is coff-type.
222 (coff_write_symbols) various lints. (coff_write_object_contents)
223 various lints and modification for alignment conversion.
224 (coff_slurp_relocs) fixed for use with new asection shape.
225
226 Sat Jan 19 16:10:42 PST 1991 steve@cygnus.com
227
228 * archive.c lots of lint
229
230 * b.out.c added callj relocation support, upgrated reloc howto.
231 Fixed so that asymbol and reloc records are output
232 correctly.
233
234 * bfd.c lots of lint, support for new bfd entry point
235 bfd_print_symbol.
236
237 * bfd.h changed definition of asymbol to contain pointer to
238 owning bfd, removed target dependencies.
239
240 * cache.c took out print statements, put in BFD_ASSERT calls.
241
242 * coff-code.h various lints, corrected linenumber output
243 functionality. Added support for new style asymbols and
244 bfd_print_symbol. Fixed so that asymbol and
245 reloc records are handled correctly. Added timestamp.
246
247 * icoff.c Added support for new howto shape.
248
249 * liba.out.h Added support for new asymbol shape
250
251 * libbfd.c various lints
252
253 * libbfd.h various lints
254
255 * libcoff.h added support for new asymbol shape.
256
257 * sunos.c various lints. Added support for new asymbol shape
258 and bfd_print_symbol.
259
260 Wed Jan 16 21:38:09 PST 1991 steve@cygnus.com
261
262 * b.out.c removed prototype of sunos4_ennativate_symtab, lots of
263 pointer lint. Added support for callj relocation. Fixed bug where
264 the last 32 bytes of the text section were overwritten by data. Fixed bug
265 where archives of b.out didn't work due bfd_slurp_extended_name_table
266 returning false.
267
268 * sunos.c added support for n_other field. Braced the howto table so
269 that it won't be affected by any lengthing of the howto struct typedef.
270 Various lints
271
272 * bfd.h added support for n_other field, added special_function
273 reloc type, modified bfd_perform_relocation prototype. Added bfd_h_get_x
274 macros.
275
276 * bfd.c upgraded bfd_perform_relocation, various lints.
277
278 Wed Jan 16 01:55:53 1991 John Gilmore (gnu at rtl)
279
280 * ChangeLog: Started ChangeLog for BFD.
281 * ToDo: Create file for suggestions.
282
283 * Makefile: Support easy loading into Saber C.
284 Add dependencies for icoff.o and bcs88kcoff.o.
285 Rename coff.c to coff-code.h. Change callers.
286
287 * bfd.c (bfd_check_format): Allow the check_format routines
288 to return the desired target vector, rather than just a Boolean.
289 bfd.h (bfd_check_format): Change function pointer return type.
290 archive.c (bfd_generic_archive_p): change callee.
291 b.out.c (b_out_little_object_p, b_out_big_object_p,
292 b_out_real_object_p): change callee.
293 libbfd.c (_bfd_dummy_target): Dummy routine replacing bfd_false
294 in check_format transfer vectors that need a filler.
295 libbfd.h (bfd_generic_archive_p, _bfd_dummy_target): Fix decls.
296 bcs88kcoff.c: change callee.
297 coff-code.h (coff_real_object_p, coff_big_object_p): change callee.
298 icoff.c: change callee.
299 sunos.c (sunos4_object_p, sunos4_core_file_p): change callee.
300
301 * libbfd.c (zalloc): It should actually zero the storage!
302 This was commented out for some reason.
303
304 * libbfd.h: Add malloc, xmalloc, memcpy, and fatal decls.
305 This is so callers can avoid <stdlib.h> which doesn't exist
306 on older systems.
307
308 * bfd.c (map_over_sections): Add debugging code, since I
309 noticed the section count for sunos core files was bad, but only
310 GDB had detected the problem.
311 (bfd_set_section_lineno_size, bfd_set_section_linenos,
312 bfd_get_section_linenos): Remove obsolete functions.
313 (bfd_apply_relocations): Use longs, not ints, for the math.
314
315 * bfd.h: Declare enum boolean and struct bfd_target as well
316 as typedefs for them. Remove obsolete
317 bfd_get_section_lineno_size.
318
319 * cache.c: Make the "fdopen" support work. Keep better track
320 of how many files are open. Centralize the opening of files
321 and be sure bfd_open[rw] actually try to open the file. Evade
322 linked list initialization problems.
323
324 * b.out.c, coff-code.h, opncls.c, sunos.c: lint.
325
326 * coff-code.h (coff_slurp_symbol_table): Null-terminate symtab names.
327
328 * cplus-dem.c: Delete file, since it is not part of BFD.
329
330 * opncls.c (bfd_openr): Eliminate misplaced #if 0 code.
331 (bfd_openr, bfd_openw): Actually open the file, give error now.
332
333 * sunos.c (sunos4_core_file_p): Set section count.
334 (sunos4_set_section_linenos, stab_names, fprint_name): Eliminiate
335 obsolete definitions.
336 (_write_symbol_table): Initialize <idx> counter.
337 (foop): Eliminate debugging code.
338
339
340
341
This page took 0.037896 seconds and 4 git commands to generate.