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