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