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