Commit | Line | Data |
---|---|---|
a0271667 ILT |
1 | Thu Jan 11 11:23:30 1996 Ian Lance Taylor <ian@cygnus.com> |
2 | ||
5b3b9ff6 ILT |
3 | * elf32-mips.c: Extensive changes for a start at dynamic linking |
4 | support, from Kazumoto Kojima <kkojima@info.kanagawa-u.ac.jp>. | |
5 | ||
6 | * elf-bfd.h (struct elf_backend_data): Add type_change_ok field. | |
7 | (struct elf_backend_data): Remove | |
8 | elf_backend_create_program_headers field. Add | |
9 | elf_backend_additional_program_headers and | |
10 | elf_backend_modify_segment_map fields. | |
11 | * elfxx-target.h (elf_backend_type_change_ok): Define if not | |
12 | defined. | |
13 | (elf_backend_additional_program_headers): Likewise. | |
14 | (elf_backend_modify_segment_map): Likewise. | |
15 | (elf_backend_create_program_headers): Don't define. | |
16 | (elfNN_bed): Change to account for field changes. | |
17 | * elf.c (assign_file_positions_for_segments): Call new | |
18 | modify_segment_map backend function. Don't call old | |
19 | create_program_headers backend function. | |
20 | (get_program_header_size): Call additional_program_headers rather | |
21 | than create_program_headers. | |
22 | * elflink.h (elf_link_add_object_symbols): Initialize | |
23 | type_change_ok from new backend field. | |
24 | (elf_link_output_extsym): Don't warn if _rld_new_interface is | |
25 | defined. | |
26 | (elf_reloc_link_order): Treat a reloc against a defined symbol as | |
27 | a reloc against the appropriate section. | |
28 | ||
761f377f ILT |
29 | * elf-bfd.h (struct bfd_elf_section_data): Add tdata field. |
30 | (struct elf_obj_tdata): Rename ppc_flags_init field to flags_init. | |
31 | (elf_flags_init): Rename from elf_ppc_flags_init. | |
32 | * elf32-ppc.c (ppc_elf_set_private_flags): Use elf_flags_init, not | |
33 | elf_ppc_flags_init. | |
34 | (ppc_elf_copy_private_bfd_data): Likewise. | |
35 | (ppc_elf_merge_private_bfd_data): Likewise. | |
36 | ||
a0271667 ILT |
37 | * elf32-m68k.c (howto_table): Change src_mask to 0 for all |
38 | relocation entries. | |
39 | ||
64d5f5d0 ILT |
40 | Tue Jan 9 15:22:53 1996 David Mosberger-Tang <davidm@azstarnet.com> |
41 | ||
42 | * coff-alpha.c (alpha_relocate_section): During final link, allow | |
43 | output .lita section to be bigger than 64k by adjusting gp value | |
44 | on a per-input section basis. | |
45 | * libecoff.h (struct ecoff_tdata): Add issued_multiple_gp_warning | |
46 | field. | |
47 | (struct ecoff_section_tdata): Add gp field. | |
48 | ||
c40d9c77 ILT |
49 | Tue Jan 9 12:00:36 1996 Ian Lance Taylor <ian@cygnus.com> |
50 | ||
64d5f5d0 ILT |
51 | Handle Alpha ECOFF changes in OSF/1 3.2. |
52 | * libecoff.h (struct ecoff_backend_data): Add get_elt_at_filepos | |
53 | field. | |
54 | * coff-alpha.c: Include "aout/ar.h". | |
55 | (alpha_ecoff_get_relocated_section_contents): Don't require an | |
56 | ALPHA_R_IGNORE reloc after an ALPHA_R_GPDISP reloc, since OSF/1 | |
57 | 3.2 doesn't generate one. | |
58 | (alpha_relocate_section): Likewise. | |
59 | (alpha_ecoff_slurp_armap): Define. | |
60 | (alpha_ecoff_slurp_extended_name_table): Define. | |
61 | (alpha_ecoff_construct_extended_name_table): Define. | |
62 | (alpha_ecoff_truncate_arname): Define. | |
63 | (alpha_ecoff_write_armap): Define. | |
64 | (alpha_ecoff_generic_stat_arch_elt): Define. | |
65 | (alpha_ecoff_update_armap_timestamp): Define. | |
66 | (ARFZMAG): Define. | |
67 | (alpha_ecoff_read_ar_hdr): New static function. | |
68 | (alpha_ecoff_get_elt_at_filepos): New static function. | |
69 | (alpha_ecoff_openr_next_archived_file): New static function. | |
70 | (alpha_ecoff_get_elt_at_index): New static function. | |
71 | (alpha_ecoff_backend_data): Initialize get_elt_at_filepos field. | |
72 | (ecoffalpha_little_vec): Change BFD_JUMP_TABLE_ARCHIVE from | |
73 | _bfd_ecoff to alpha_ecoff. | |
74 | * ecoff.c (ecoff_link_add_archive_symbols): Use get_elt_at_filepos | |
75 | field from backend structure, rather than always calling | |
76 | _bfd_get_elt_at_filepos. | |
77 | * coff-mips.c (mips_ecoff_backend_data): Initialize | |
78 | get_elt_at_filepos field. | |
79 | * archive.c (_bfd_generic_read_ar_hdr_mag): New function, copied | |
80 | from _bfd_generic_read_ar_hdr with minor changes. | |
81 | (_bfd_generic_read_ar_hdr): Use _bfd_generic_read_ar_hdr_mag. | |
82 | * libbfd-in.h (_bfd_generic_read_ar_hdr_mag): Declare. | |
83 | * libbfd.h: Rebuild. | |
84 | ||
85 | * bfd-in.h (BFD_IN_MEMORY): Define. | |
86 | * libbfd-in.h (struct bfd_in_memory): Define. | |
87 | * libbfd.c (bfd_read): Handle BFD_IN_MEMORY flag. | |
88 | (bfd_get_file_window): Don't try to map a BFD_IN_MEMORY file. | |
89 | (bfd_write, bfd_stat): Abort if BFD_IN_MEMORY is set. | |
90 | (bfd_tell, bfd_flush, bfd_seek): Handle BFD_IN_MEMORY flag. | |
91 | * bfd.c (struct _bfd): Change iostream field from char * to PTR. | |
92 | (bfd_get_size): Handle BFD_IN_MEMORY flag. | |
93 | * cache.c (bfd_cache_close): Ignore BFD_IN_MEMORY files. | |
94 | (bfd_open_file): Cast to PTR, not char *, when setting iostream. | |
95 | (bfd_cache_lookup_worker): Abort if BFD_IN_MEMORY is set. | |
96 | * opncls.c (bfd_fdopenr): Cast to PTR, not char *, when setting | |
97 | iostream. | |
98 | (bfd_openstreamr): Likewise. | |
99 | * aoutx.h (NAME(aout,some_aout_object_p)): Only fstat iostream if | |
100 | BFD_IN_MEMORY is not set. | |
101 | * riscix.c (riscix_some_aout_object_p): Likewise. | |
102 | * bfd-in2.h, libbfd.h: Rebuild. | |
103 | ||
104 | * targets.c (bfd_target): Add _bfd_get_elt_at_index field. | |
105 | (BFD_JUMP_TABLE_ARCHIVE): Add _get_elt_at_index. | |
106 | (bfd_get_elt_at_index): Define. | |
107 | * archive.c (_bfd_generic_get_elt_at_index): Rename from | |
108 | bfd_get_elt_at_index. Change index parameter from int to | |
109 | symindex. | |
110 | * libbfd-in.h (_bfd_generic_get_elt_at_index): Declare. | |
111 | (_bfd_noarchive_get_elt_at_index): Define. | |
112 | (_bfd_archive_bsd_get_elt_at_index): Define. | |
113 | (_bfd_archive_coff_get_elt_at_index): Define. | |
114 | * bfd-in2.h, libbfd.h: Rebuild. | |
115 | * aout-target.h (MY_get_elt_at_index): Define if not defined. | |
116 | * coff-rs6000.c (xcoff_get_elt_at_index): Define. | |
117 | * ieee.c (ieee_get_elt_at_index): Define. | |
118 | * libecoff.h (_bfd_ecoff_get_elt_at_index): Define. | |
119 | * oasys.c (oasys_get_elt_at_index): Define. | |
120 | * som.c (som_get_elt_at_index): Define. | |
121 | ||
c40d9c77 ILT |
122 | * ecoff.c (_bfd_ecoff_find_nearest_line): Don't restrict line |
123 | numbers to the .text section. | |
124 | ||
efa77952 ILT |
125 | Mon Jan 8 17:00:57 1996 Ian Lance Taylor <ian@cygnus.com> |
126 | ||
127 | * ieee.c (ieee_write_debug_part): Change return type to boolean. | |
128 | If there is a SEC_DEBUGGING section, get the contents of the debug | |
129 | information part from it. | |
130 | (ieee_set_section_contents): Store the contents of a SEC_DEBUGGING | |
131 | section in memory. | |
132 | (ieee_write_object_contents): Check ieee_write_debug_part return. | |
133 | ||
767f22d5 FF |
134 | Thu Jan 4 17:12:37 1996 Fred Fish <fnf@cygnus.com> |
135 | ||
136 | * config.bfd (i[345]86-*-freebsd*): Add target. | |
137 | * configure.in (i386freebsd_vec): Add vec. | |
138 | * configure: Regenerate. | |
139 | * Makefile.in (BFD32_BACKENDS): Add i386freebsd.o. | |
140 | (BFD32_BACKENDS_CFILES): Add i386freebsd.c. | |
141 | Rebuild dependencies.. | |
142 | * freebsd.h: New file. | |
143 | * i386freebsd.c: New file. | |
144 | * targets.c (i386freebsd_vec): Declare. | |
145 | (bfd_target_vector): Add i386freebsd_vec. | |
146 | * i386linux.c (SEGMENT_SIZE): Define as TARGET_PAGE_SIZE | |
147 | * i386netbsd.c (SEGMENT_SIZE): Define as TARGET_PAGE_SIZE | |
148 | ||
f8254a3c ILT |
149 | Thu Jan 4 16:27:46 1996 Ian Lance Taylor <ian@cygnus.com> |
150 | ||
151 | * ieee.c (ieee_slurp_debug): New static function. | |
152 | (ieee_object_p): Call it. | |
153 | (ieee_slurp_section_data): Skip debugging sections. | |
154 | (ieee_get_reloc_upper_bound): Likewise. | |
155 | (ieee_get_section_contents): Likewise. | |
156 | (ieee_canonicalize_reloc): Likewise. | |
157 | (ieee_write_section_part): Likewise. | |
158 | (ieee_write_debug_part): Likewise. | |
159 | (ieee_write_data_part): Likewise. | |
160 | (init_for_output): Likewise. | |
161 | ||
07a159db MM |
162 | Wed Jan 3 19:42:47 1996 Michael Meissner <meissner@wogglebug.tiac.net> |
163 | ||
164 | * elf32-ppc.c (ppc_elf_relocate_section): Make @GOT relocations | |
165 | work. | |
166 | (ppc_elf_howto_raw): Just use bfd_elf_generic_reloc for all howto | |
167 | relocs, since ppc_elf_relocate_section handles the linker case. | |
168 | (ppc_elf_{addr16_ha,got16,toc16,brtaken}_reloc): Delete, no longer | |
169 | used. | |
170 | (ppc_elf_{addr16_ha,got16,toc16,brtaken}_inner): Merge these into | |
171 | ppc_elf_relocate_section since that is now the only caller. | |
172 | (ppc_elf_relocate_section): Ditto. | |
173 | ||
d812945a ILT |
174 | Wed Jan 3 15:11:30 1996 Ian Lance Taylor <ian@cygnus.com> |
175 | ||
176 | * coffcode.h (coff_write_object_contents): If we don't know the | |
177 | section of the entry point for an XCOFF executable, always set the | |
178 | entry address to -1. | |
179 | ||
3a56d0b4 MM |
180 | Tue Jan 2 14:17:15 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
181 | ||
182 | * elf.c (bfd_section_from_shdr): Add support for note sections. | |
183 | ||
c4406e50 ILT |
184 | Tue Jan 2 13:10:25 1996 Ian Lance Taylor <ian@cygnus.com> |
185 | ||
d812945a ILT |
186 | * bfd-in.h (struct _symbol_info): Add stab_type field. |
187 | * bfd-in2.h: Rebuild. | |
188 | * aoutx.h (NAME(aout,get_symbol_info)): Set stab_type. | |
189 | ||
c4406e50 ILT |
190 | * elf32-ppc.c: Remove trailing newline from calls to |
191 | _bfd_error_handler. | |
192 | (ppc_elf_merge_private_bfd_data): Only warn about endianness | |
193 | difference if target endianness is known. | |
194 | ||
08556813 MM |
195 | Thu Dec 21 12:43:49 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
196 | ||
197 | * elf32-ppc.c (ppc_elf_howto_raw): Add a phony reloc to handle the | |
198 | old style TOC16 references without using R_PPC_GOT. | |
199 | (ppc_reloc_type): Ditto. | |
200 | (ppc_elf_reloc_type_lookup): Add support for TOC16. | |
201 | (ppc_elf_toc16_inner): Renamed from ppc_elf_got16_inner. | |
202 | (ppc_elf_toc16_reloc): Renamed from ppc_elf_toc16_reloc. | |
203 | (ppc_elf_got16_{inner,reloc}): Stubs for real GOT support. | |
204 | (ppc_elf_check_relocs): New function for GOT/PLT support that is | |
205 | work in progress. | |
206 | (ppc_elf_adjust_dynamic_symbol): Ditto. | |
207 | (ppc_elf_adjust_dynindx): Ditto. | |
208 | (ppc_elf_size_dynamic_sections): Ditto. | |
209 | (ppc_elf_finish_dynamic_symbol): Ditto. | |
210 | (ppc_elf_finish_dynamic_sections): Ditto. | |
211 | (ELF_DYNAMIC_INTERPRETER): Define. | |
212 | ||
86587dd4 KR |
213 | Wed Dec 20 19:14:18 1995 Ken Raeburn <raeburn@cygnus.com> |
214 | ||
215 | * elf.c (copy_private_bfd_data): When attaching sections to | |
216 | segments ignore sections that won't be allocated. Patch from | |
217 | Andreas Schwab. | |
218 | ||
bf7f243f KR |
219 | Tue Dec 19 20:01:43 1995 Ken Raeburn <raeburn@cygnus.com> |
220 | ||
221 | * config.bfd: Match on m68k-cbm-* only if OS doesn't match | |
222 | anything else. | |
223 | ||
d9518e2e ILT |
224 | Tue Dec 19 16:38:59 1995 Ian Lance Taylor <ian@cygnus.com> |
225 | ||
226 | * coff-i960.c (CALC_ADDEND): Define. | |
227 | (coff_i960_relocate_section): Add the input section VMA to the | |
228 | addend for PC relative relocs. | |
229 | ||
230 | Sun Dec 17 20:11:55 1995 Kim Knuttila <krk@cygnus.com> | |
231 | ||
232 | * peicode.h (pe_print_pdata): Must test the entire entry for zero | |
233 | to correctly terminate. | |
234 | ||
010a405a ILT |
235 | Fri Dec 15 12:05:57 1995 Ian Lance Taylor <ian@cygnus.com> |
236 | ||
dc092b6b ILT |
237 | * targets.c (enum bfd_endian): Define. |
238 | (bfd_target): Rename byteorder_big_p to byteorder, and change it | |
239 | from boolean to enum bfd_endian. Change header_byteorder_big_p | |
240 | correspondingly. | |
241 | * bfd-in.h (bfd_big_endian, bfd_little_endian): New macros. | |
242 | (bfd_header_big_endian, bfd_header_little_endian): New macros. | |
243 | * bfd-in2.h: Rebuild. | |
244 | * All targets: Change initialization of byteorder and | |
245 | header_byteorder to use enum bfd_endian values rather than | |
246 | booleans. | |
247 | * All files: Change all references to byteorder_big_p and | |
248 | header_byteorder_big_p to use new bfd_*_endian macros. | |
249 | ||
010a405a ILT |
250 | * coffgen.c (make_a_section_from_file): Set lma to s_paddr, not |
251 | s_vaddr. | |
252 | * coffcode.h (coff_write_object_contents): Set s_paddr to lma, not | |
253 | vma. | |
254 | * ecoff.c (_bfd_ecoff_write_object_contents): Likewise. | |
255 | ||
fcb43906 SC |
256 | Fri Dec 15 07:32:09 1995 steve chamberlain <sac@slash.cygnus.com> |
257 | ||
258 | * pe[i]-i386.c (TARGET_UNDERSCORE): Define to '_'. | |
259 | ||
0d709d31 ILT |
260 | Thu Dec 14 13:45:37 1995 Ian Lance Taylor <ian@cygnus.com> |
261 | ||
14578105 ILT |
262 | * ieee.c: Lots of minor cleanups. Make many functions return |
263 | errors rather than calling abort. Also: | |
264 | (ieee_write_twobyte): Remove; change callers to call existing | |
265 | ieee_write_2bytes function. | |
266 | (ieee_write_expression): Don't output the section twice when | |
267 | outputting a local symbol. Don't emit an extraneous zero if there | |
268 | is only one term. | |
269 | (ieee_slurp_sections): Set the lma as well as the vma. | |
270 | (ieee_archive_p): Use bfd_alloc_grow rather than an obstack. | |
271 | ||
0d709d31 ILT |
272 | * ihex.c (ihex_set_arch_mach): Don't accept any architecture, just |
273 | a recognized one or bfd_arch_unknown. | |
274 | (ihex_get_symtab_upper_bound): Define as bfd_0l, to permit objcopy | |
275 | to succeed. | |
276 | (ihex_get_symtab): Likewise. | |
277 | ||
14dc2f77 ILT |
278 | Wed Dec 13 15:44:06 1995 Ian Lance Taylor <ian@cygnus.com> |
279 | ||
280 | * aoutx.h: Include <ctype.h>. | |
281 | (struct aout_link_includes_table): Define. | |
282 | (struct aout_link_includes_totals): Define. | |
283 | (struct aout_link_includes_entry): Define. | |
284 | (aout_link_includes_lookup): Define macro. | |
285 | (struct aout_final_link_info): Add includes field. | |
286 | (aout_link_includes_newfunc): New static function. | |
287 | (NAME(aout,final_link)): Initialize includes hash table. | |
288 | (aout_link_write_symbols): Eliminate duplicate N_BINCL entries. | |
289 | ||
480ccad5 SS |
290 | Wed Dec 13 10:52:14 1995 Stan Shebs <shebs@andros.cygnus.com> |
291 | ||
292 | * mpw-config.in: Match on mips-*-* instead of mips-idt-ecoff. | |
293 | ||
3920d9c9 KK |
294 | Wed Dec 13 11:07:45 1995 Kim Knuttila <krk@cygnus.com> |
295 | ||
296 | * coff-ppc.c (coff_ppc_relocate_section): removed debugging code. | |
297 | ||
207345f2 KK |
298 | Tue Dec 12 17:42:06 1995 Kim Knuttila <krk@cygnus.com> |
299 | ||
300 | * peicode.h (pe_print_reloc): New function to dump the .reloc section. | |
301 | (pe_print_private_bfd_data): call pe_print_reloc. | |
302 | * coffcode.h (coff_set_alignment_hook): .reloc section alignment. | |
303 | * coff-ppc.c (in_reloc_p): Added missing non-eligible relocs. Spiffed | |
304 | up some debugging as well. | |
305 | ||
273c019e ILT |
306 | Tue Dec 12 11:34:23 1995 Ian Lance Taylor <ian@cygnus.com> |
307 | ||
308 | * config.bfd: Handle sparc-*-elf*. From Ronald F. Guilmette | |
309 | <rfg@monkeys.com>. | |
310 | ||
010d9f2d ILT |
311 | Fri Dec 8 17:47:07 1995 Ian Lance Taylor <ian@cygnus.com> |
312 | ||
313 | * elflink.h (elf_link_add_object_symbols): Set section_count to 0 | |
314 | when setting sections to NULL. | |
315 | ||
4a4a66bd ILT |
316 | Wed Dec 6 17:05:37 1995 Ian Lance Taylor <ian@cygnus.com> |
317 | ||
318 | * xcofflink.c (struct xcoff_loader_info): Add export_defineds | |
319 | field. | |
320 | (bfd_xcoff_size_dynamic_sections): Add export_defineds parameter. | |
321 | (xcoff_build_ldsyms): If export_defineds is set, set XCOFF_EXPORT | |
322 | for all symbols. | |
323 | * bfd-in.h (bfd_xcoff_size_dynamic_sections): Update declaration. | |
324 | * bfd-in2.h: Rebuild. | |
325 | ||
545bf026 KK |
326 | Mon Dec 4 16:40:47 1995 Kim Knuttila <krk@cygnus.com> |
327 | ||
328 | * coffcode.h (coff_set_alignment_hook): Removed some debugging printf's | |
329 | ||
1f4ae0d6 ILT |
330 | Mon Dec 4 11:25:39 1995 Ian Lance Taylor <ian@cygnus.com> |
331 | ||
55cac920 ILT |
332 | * ihex.c (ihex_scan): Handle record types 4 and 5. |
333 | (ihex_object_p): Permit types 4 and 5. | |
334 | (ihex_set_section_contents): Remove check for out of range | |
335 | addresses. | |
336 | (ihex_write_object_contents): Generate types 4 and 5. | |
337 | ||
1f4ae0d6 ILT |
338 | * elflink.h (elf_link_output_extsym): Just ignore warning and |
339 | indirect references to symbols which don't really exist. | |
340 | ||
53d45489 KK |
341 | Sun Dec 3 19:00:27 1995 Kim Knuttila <krk@cygnus.com> |
342 | ||
343 | * peicode.h (pe_print_idata): Minor format fixes | |
344 | (pe_print_edata): New function. Under private printing, this formats | |
345 | the edata section of a PE file. | |
346 | (pe_print_private_bfd_data): Added call to pe_print_edata. | |
347 | ||
361e8876 DE |
348 | Sun Dec 3 16:46:54 1995 Richard Earnshaw (rearnsha@armltd.co.uk) |
349 | ||
350 | * aout-arm.c (MY_swap_std_reloc_out): Use KEEPIT to get the symbol | |
351 | index, don't call stoi. | |
352 | ||
58142f10 ILT |
353 | Fri Dec 1 14:46:51 1995 Ian Lance Taylor <ian@cygnus.com> |
354 | ||
ffd15489 ILT |
355 | * srec.c (srec_scan): Set lma as well as vma. |
356 | ||
357 | * ihex.c: New file; support for Intel Hex format. | |
358 | * targets.c (enum bfd_flavour): Add bfd_target_ihex_flavour. | |
359 | (ihex_vec): Declare. | |
360 | (bfd_target_vector): Always include ihex_vec. | |
361 | * bfd.c (struct _bfd): Add ihex_data field to tdata union. | |
362 | * Makefile.in: Rebuild dependencies. | |
363 | (BFD_LIBS): Add ihex.o | |
364 | (BFD_LIBS_CFILES): Add ihex.c. | |
365 | * bfd-in2.h: Rebuild. | |
366 | ||
ae0a6bea ILT |
367 | * elf.c (assign_file_positions_for_segments): Sort the sections in |
368 | each segment. | |
369 | (get_program_header_size): Return the right size if segment_map is | |
370 | not NULL. | |
371 | (copy_private_bfd_data): Don't bother to sort the sections. | |
372 | ||
373 | * bfd.c (bfd_record_phdr): New function. | |
374 | * bfd-in.h (bfd_record_phdr): Declare. | |
375 | * bfd_in2.h: Rebuild. | |
376 | ||
ce0ee4bf ILT |
377 | * elf32-sparc.c (elf32_sparc_relocate_section): Remove bogus |
378 | BFD_ASSERT. | |
379 | ||
58142f10 ILT |
380 | * libbfd.c (bfd_malloc, bfd_realloc): New functions. |
381 | (bfd_zmalloc): Return PTR, not char *. Take size_t, not | |
382 | bfd_size_type. | |
383 | * libbfd-in.h (bfd_malloc, bfd_realloc): Declare. | |
384 | (bfd_zmalloc): Change declaration. | |
385 | * libbfd.h: Rebuild. | |
386 | * Many files: Use bfd_malloc and bfd_realloc rather than malloc | |
387 | and realloc. Don't set bfd_error_no_memory if they fail. | |
388 | ||
59066248 KK |
389 | Thu Nov 30 19:32:26 1995 Kim Knuttila <krk@cygnus.com> |
390 | ||
391 | * coff-ppc.c: Added macros to tidy up toc cell treatment. Numerous | |
392 | uses as well. Added a new howto to deal with TOCREL16 relocs that | |
393 | are TOCDEFN as well. | |
394 | (coff_ppc_relocate_section): Expanded treatment of ADDR32NB relocs | |
395 | to handle RVA relocs from dlltool. | |
396 | (ppc_coff_rtype2howto): TOCDEFN reloc addition. | |
397 | (coff_ppc_rtype_to_howto): TOCDEFN reloc addition. | |
398 | (ppc_coff_reloc_type_lookup): TOCDEFN reloc addition. | |
399 | ||
400 | * coffcode.h (coff_set_alignment_hook): check idata$X sections | |
401 | to get the right section alignment. | |
402 | ||
6933148a ILT |
403 | Thu Nov 30 16:48:18 1995 Ian Lance Taylor <ian@cygnus.com> |
404 | ||
405 | * elf.c (_bfd_elf_make_section_from_shdr): Don't set lma based on | |
406 | p_paddr if p_paddr is zero. | |
407 | (make_mapping): Set includes_filehdr and includes_phdrs for first | |
408 | PT_LOAD segment. | |
409 | (map_sections_to_segments): Set includes_phdrs for PT_PHDR | |
410 | segment. | |
411 | (assign_file_positions_for_segments): Handle includes_filehdr and | |
412 | includes_phdrs. Remove special handling of PT_PHDR and first | |
413 | PT_LOAD segments. | |
414 | (copy_private_bfd_data): Set includes_filehdr and includes_phdr | |
415 | when appropriate. Remove special handling of PT_PHDR segment. | |
416 | Use a more complex condition for when a section is included in a | |
417 | segment to handle Solaris linker oddities. | |
418 | ||
f62fed1c ILT |
419 | Thu Nov 30 11:17:33 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de> |
420 | ||
421 | * coff-m88k.c (howto_table): Reformatted for easier reading; | |
422 | special_function now points to new function m88k_special_reloc. | |
423 | (howto_hvrt16): Function previously used for handling HVRT16 relocs | |
424 | removed. | |
425 | (rtype2howto): Do not add reloc's r_offset to the addend, this will | |
426 | be done correctly by m88k_special_reloc. | |
427 | (reloc_processing): New function to be used by RELOC_PROCESSING. | |
428 | (RELOC_PROCESSING): Define to call reloc_processing. | |
429 | ||
64ecde46 ILT |
430 | Wed Nov 29 12:42:36 1995 Ian Lance Taylor <ian@cygnus.com> |
431 | ||
b00c57ec ILT |
432 | * peicode.h (pe_print_idata): Call malloc rather than xmalloc. |
433 | (pe_print_pdata): Likewise. | |
434 | ||
a9713b91 ILT |
435 | * opncls.c (bfd_alloc_by_size_t): Set bfd_error_no_memory if |
436 | obstack_alloc fails. | |
437 | (bfd_alloc_finish): Set bfd_error_no_memory if obstack_finish | |
438 | fails. | |
439 | * libbfd.c (bfd_zmalloc): Set bfd_error_no_memory if malloc fails. | |
440 | * Many files: don't set bfd_error_no_memory if one of the above | |
441 | routines fails. | |
442 | ||
3dbf33ee ILT |
443 | * elf.c (assign_file_positions_for_segments): Don't adjust p_paddr |
444 | if p_paddr_valid is set. | |
445 | (copy_private_bfd_data): New static function. | |
446 | (_bfd_elf_copy_private_section_data): Call copy_private_bfd_data. | |
447 | ||
44ef8897 ILT |
448 | * elf.c (assign_file_positions_for_segments): Fix case where extra |
449 | program headers were allocated. | |
450 | ||
27fb8f29 ILT |
451 | * elf.c (_bfd_elf_print_private_bfd_data): New function. |
452 | * elf-bfd.h (_bfd_elf_print_private_bfd_data): Declare. | |
453 | * elfxx-target.h (bfd_elfNN_bfd_print_private_bfd_data): Define to | |
454 | _bfd_elf_print_private_bfd_data. | |
455 | ||
64ecde46 ILT |
456 | * coff-alpha.c (alpha_ecoff_swap_reloc_in): Don't abort if |
457 | r_symndx is RELOC_SECTION_NONE for an ALPHA_R_IGNORE reloc. | |
458 | Change a RELOC_SECTION_LITA symndx to RELOC_SECTION_ABS. | |
459 | (alpha_ecoff_swap_reloc_out): Change RELOC_SECTION_ABS to | |
460 | RELOC_SECTION_LITA for ALPHA_R_IGNORE. | |
461 | (alpha_adjust_reloc_out): For ALPHA_R_IGNORE, don't change | |
462 | RELOC_SECTION_ABS to RELOC_SECTION_NONE. | |
463 | ||
fd0198f0 ILT |
464 | Tue Nov 28 16:59:50 1995 Ian Lance Taylor <ian@cygnus.com> |
465 | ||
466 | * elf-bfd.h (struct elf_obj_tdata): Add segment_map field. | |
467 | * elf.c (make_mapping): New static function. | |
468 | (map_sections_to_segments): New static function. | |
469 | (elf_sort_sections): New static function. | |
470 | (assign_file_positions_for_segments): New static function. | |
471 | (map_program_segments): Remove. | |
472 | (get_program_header_size): Remove sorted_hdrs, count, and | |
473 | maxpagesize parameters. Simplify. | |
474 | (assign_file_positions_except_relocs): When generating an | |
475 | executable, use assign_file_positions_for_segments. | |
476 | (elf_sort_hdrs): Remove. | |
477 | (_bfd_elf_sizeof_headers): Remove eliminated parameters from call | |
478 | to get_program_header_size. | |
479 | ||
3b3f7625 ILT |
480 | Mon Nov 27 12:27:46 1995 Ian Lance Taylor <ian@cygnus.com> |
481 | ||
1ff0461b ILT |
482 | * hp300hpux.c (MY(callback)): Set lma as well as vma. |
483 | ||
80c8485c ILT |
484 | * configure, config.in: Regenerate with autoconf 2.7. |
485 | ||
3b3f7625 ILT |
486 | * elf32-i386.c (elf_backend_plt_readonly): Set correctly, to 1. |
487 | * elf32-sparc.c (elf_backend_plt_readonly): Set correctly, to 0. | |
488 | ||
fa63d1ef ILT |
489 | Wed Nov 22 12:02:09 1995 Ian Lance Taylor <ian@cygnus.com> |
490 | ||
a877f591 ILT |
491 | * ecoff.c (_bfd_ecoff_new_section_hook): Handle .rconst section. |
492 | (ecoff_sec_to_styp_flags): Likewise. | |
493 | (_bfd_ecoff_styp_to_sec_flags): Handle STYP_RCONST. | |
494 | (ecoff_set_symbol_info): Handle scRConst. | |
495 | (ecoff_slurp_reloc_table): Handle RELOC_SECTION_RCONST. | |
496 | (ecoff_compute_section_file_positions): Handle .rconst section. | |
497 | (_bfd_ecoff_write_object_contents): Likewise. | |
498 | (ecoff_link_check_archive_element): Handle scRConst. | |
499 | (ecoff_link_add_externals): Likewise. | |
500 | (ecoff_link_write_external): Handle .rconst section. | |
501 | (ecoff_reloc_link_order): Likewise. | |
502 | * ecofflink.c (bfd_ecoff_debug_accumulate): Handle scRConst. | |
503 | * coff-alpha.c (alpha_convert_external_reloc): Handle .rconst | |
504 | section. | |
505 | (alpha_relocate_section): Handle RELOC_SECTION_RCONST. | |
506 | ||
fa63d1ef ILT |
507 | * sunos.c (sunos_scan_dynamic_symbol): Only set written if the |
508 | DEF_DYNAMIC flag is set. | |
509 | ||
25bada65 KR |
510 | Tue Nov 21 13:25:29 1995 Ken Raeburn <raeburn@cygnus.com> |
511 | ||
512 | * host-aout.c: If TRAD_HEADER is defined, include it. | |
513 | ||
7938b4cb ILT |
514 | Tue Nov 21 13:03:57 1995 Ian Lance Taylor <ian@cygnus.com> |
515 | ||
85e493f0 ILT |
516 | * aclocal.m4 (AC_PROG_CC): Remove local definition. |
517 | (BFD_BINARY_FOPEN): Require AC_CANONICAL_SYSTEM. | |
518 | (BFD_NEED_DECLARATION): New function. | |
519 | * configure.in: Use BFD_NEED_DECLARATION. | |
bd77213b ILT |
520 | * acconfig.h: Put NEED_DECLARATION_* in @TOP@ section. |
521 | * configure, config.in: Rebuild with autoconf 2.6. | |
85e493f0 | 522 | |
83dcdc61 ILT |
523 | * xcofflink.c (bfd_xcoff_size_dynamic_sections): Clear |
524 | special_sections before returning when called with a non XCOFF | |
525 | BFD. | |
526 | ||
7938b4cb ILT |
527 | * coffgen.c (coff_renumber_symbols): Sort common symbols with |
528 | global symbols. | |
529 | ||
530 | * coffcode.h (coff_compute_section_file_positions): Only pad the | |
531 | previous section to force file alignment when creating an | |
532 | executable. | |
533 | ||
b5403ad7 ILT |
534 | Mon Nov 20 14:54:09 1995 Ian Lance Taylor <ian@cygnus.com> |
535 | ||
a418e05d ILT |
536 | * coffcode.h (coff_compute_section_file_positions): If |
537 | RS6000COFF_C, set up the .debug section. | |
538 | ||
b5403ad7 ILT |
539 | * xcofflink.c (xcoff_link_input_bfd): Adjust the TOC anchor value |
540 | if it is not large enough to accomodate the entire TOC area with | |
541 | signed 16 bit offsets. | |
542 | (xcoff_write_global_symbol): Handle negative TOC offsets in global | |
543 | linkage code. | |
544 | (_bfd_ppc_xcoff_relocate_section): Adjust relocations against a | |
545 | TOC anchor to use the TOC value used in the output file. | |
546 | ||
90a7abbc ILT |
547 | Sat Nov 18 18:01:41 1995 Ian Lance Taylor <ian@cygnus.com> |
548 | ||
549 | * coffgen.c (_bfd_coff_get_external_symbols): Cast malloc return. | |
550 | (_bfd_coff_read_string_table): Likewise. | |
551 | ||
177b1932 DE |
552 | Sat Nov 18 19:43:04 1995 Richard Earnshaw (rearnsha@armltd.co.uk) |
553 | ||
554 | * pe-arm.c: Fix typos. | |
555 | * coff-arm.c: Likewise. | |
556 | ||
557 | Fri Nov 17 16:22:04 1995 Kim Knuttila <krk@cygnus.com> | |
558 | ||
559 | * coff-ppc.c (list_ele): Added "cat"egory member. | |
560 | (record_toc): New category parameter (priv or pub). | |
561 | (ppc_record_toc_entry): Check to see if toc bounds exceeded. | |
562 | (ppc_process_before_allocation): Removed embrionic data-in-toc from | |
563 | the mainline. It addes extra toc cells in error. | |
564 | (ppc_coff_swap_sym_in_hook): Added some documentation. | |
565 | (dump_toc): Can now diagnose "virtual toc" chicanery. | |
566 | ||
e34314c4 ILT |
567 | Fri Nov 17 10:41:25 1995 Philippe De Muyter <phdm@info.ucl.ac.be> |
568 | ||
569 | * elf-bfd.h (struct elf_link_hash_table): Change type of | |
570 | dynsymcount and bucketcount fields from size_t to bfd_size_type. | |
571 | ||
73a68447 ILT |
572 | Fri Nov 17 10:02:58 1995 Ian Lance Taylor <ian@cygnus.com> |
573 | ||
535e9e29 ILT |
574 | * coffcode.h (coff_pointerize_aux_hook): I960 version: don't |
575 | pointerize C_LEAFSTAT or C_LEAFEXT entries. | |
576 | ||
73a68447 ILT |
577 | * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Only create |
578 | DT_INIT and DT_FINI entries if the _init or _fini symbol is | |
579 | defined or mentioned in a regular file. | |
580 | ||
cd2b2402 KK |
581 | Thu Nov 16 15:16:42 1995 Kim Knuttila <krk@cygnus.com> |
582 | ||
583 | * coff-ppc.c (ppc_record_data_in_toc_entry): new function | |
584 | (coff_ppc_relocate_section): Handle TOCDEFN attribute | |
585 | (coff_ppc_relocate_section): Correct REL24 handling | |
586 | (ppc_process_before_allocation): Correct TOCDEFN handling | |
587 | ||
588 | * peicode.h (dir_names): Added name descriptions | |
589 | ||
b218076e KR |
590 | Thu Nov 16 03:38:03 1995 Ken Raeburn <raeburn@cygnus.com> |
591 | ||
592 | * VERSION: Updated to cygnus-2.6. | |
593 | ||
594 | Wed Nov 15 19:30:07 1995 Ken Raeburn <raeburn@cygnus.com> | |
595 | ||
596 | * targets.c (m68k4knetbsd_vec): Declare. | |
597 | ||
e9f30616 ILT |
598 | Wed Nov 15 18:05:52 1995 Ian Lance Taylor <ian@cygnus.com> |
599 | ||
600 | * targets.c (bfd_target): Change type of second argument to | |
601 | _bfd_print_private_bfd_data from void * to PTR. | |
602 | * libbfd-in.h (_bfd_generic_bfd_print_private_bfd_data): Cast | |
603 | using PTR rather than void *. | |
604 | * bfd-in2, libbfd.h: Rebuild. | |
605 | * peicode.h (pe_print_private_bfd_data): Change vfile from void * | |
606 | to PTR. | |
607 | * elfxx-target.h (bfd_elfNN_bfd_print_private_bfd_data): Define as | |
608 | _bfd_generic_bfd_print_private_bfd_data rather than casting | |
609 | bfd_true. | |
610 | ||
ae75c4a4 KR |
611 | Wed Nov 15 04:09:14 1995 Ken Raeburn <raeburn@cygnus.com> |
612 | ||
613 | * Makefile.in (.dep1): Fix stupid typo in last change. Remove any | |
614 | "DO NOT DELETE" lines or blank lines that mkdep writes on some | |
615 | systems. | |
616 | (BFD_LIBS_CFILES, ALL_MACHINES_CFILES, BFD32_BACKENDS_CFILES, | |
617 | BFD64_BACKENDS_CFILES): New variables. | |
618 | (CFILES): Use them. | |
619 | ||
bebcd3db ILT |
620 | Tue Nov 14 11:52:23 1995 Ian Lance Taylor <ian@cygnus.com> |
621 | ||
4b71e164 ILT |
622 | * peicode.h (coff_swap_aouthdr_out): For PPC PE, start isize at 0, |
623 | not at the file position of the first section. | |
624 | * coffcode.h (coff_compute_section_file_positions): Avoid using | |
625 | unportable #elif. | |
626 | (coff_write_object_contents): When generating a PPC PE executable | |
627 | with no symbols, round up the file size to a COFF_PAGE_SIZE | |
628 | boundary. | |
629 | * cofflink.c (_bfd_coff_final_link): If there are no symbols, | |
630 | don't write out a string table. | |
631 | ||
631b10f4 ILT |
632 | * elf.c (bfd_section_from_shdr): When using a different section |
633 | header, pass the new one to _bfd_elf_make_section_from_shdr. | |
634 | (elf_fake_sections): Don't set sh_info and sh_entsize fields. | |
635 | (elf_map_symbols): Add section VMA to symbol value when comparing | |
636 | against 0. | |
637 | (_bfd_elf_compute_section_file_positions): Only build symbol table | |
638 | if there are some symbols. Set file offset of symtab and strtab | |
639 | sections. | |
640 | (assign_file_positions_except_relocs): Remove dosyms parameter. | |
641 | Change all callers. Never set file offset of symtab and strtab | |
642 | sections. | |
643 | (_bfd_elf_copy_private_section_data): New function. | |
644 | (MAP_ONESYMTAB, MAP_DYNSYMTAB, MAP_STRTAB, MAP_SHSTRTAB): Define. | |
645 | (_bfd_elf_copy_private_symbol_data): New function. | |
646 | (swap_out_syms): Check for special mapping of st_shndx created by | |
647 | copy_private_symbol_data. | |
648 | * elfxx-target.h: Use new copy routines. | |
649 | * elf-bfd.h (_bfd_elf_copy_private_symbol_data): Declare. | |
650 | (_bfd_elf_copy_private_section_data): Declare. | |
651 | ||
652 | * config.bfd (sh-*-*): Set targ_defvec to shcoff_vec. | |
653 | ||
654 | * coffcode.h (coff_slurp_symbol_table): If COFF_WITH_PE, handle | |
655 | C_NT_WEAK. | |
656 | ||
bebcd3db ILT |
657 | * coff-sh.c (shlcoff_vec): Use _bfd_generic_archive_p, not |
658 | _bfd_dummy_target, matching the recent change to archive | |
659 | recognition. | |
660 | ||
7ad4ba81 ILT |
661 | Mon Nov 13 13:24:38 1995 Ian Lance Taylor <ian@cygnus.com> |
662 | ||
afa67334 ILT |
663 | * libbfd.c (bfd_get_file_window): Use casts to avoid doing |
664 | arithmetic on PTR types. | |
665 | ||
f2bd8915 ILT |
666 | * aout-target.h (MY(callback)): Set the lma of the sections. |
667 | ||
7ad4ba81 ILT |
668 | * ecoff.c (ecoff_reloc_link_order): Turn a reloc against a defined |
669 | symbol into a reloc against the section. | |
670 | ||
93b6a3f8 KK |
671 | Mon Nov 13 07:31:35 1995 Kim Knuttila <krk@cygnus.com> |
672 | ||
673 | * coff-ppc.c (ppc_coff_link_hash_entry): added support for inline | |
674 | glue for the relocs: IMGLUE and IFGLUE. | |
675 | (record_toc): new function - tracks toc contents | |
676 | (ppc_mark_symbol_as_glue): new function - supports the IMGLUE reloc | |
677 | (coff_ppc_relocate_section): Added support and fixes for IMGLUE/IFGLUE | |
678 | (ppc_coff_rtype2howto): removed invalid IMGLUE hack | |
679 | (coff_ppc_rtype_to_howto): removed invalid IMGLUE hack | |
125d37c4 | 680 | (ppc_record_toc_entry): Removed a debug define (duh) |
93b6a3f8 KK |
681 | |
682 | * peicode.h (coff_swap_scnhdr_out): Fixed invalid strcmp for ".reldata" | |
683 | (pe_print_idata): New function - formats the idata section data | |
684 | (pe_print_pdata): New function - formats the pdata section data | |
685 | (pe_print_private_bfd_data): calls to above | |
686 | ||
c769947b SS |
687 | Sun Nov 12 12:23:24 1995 Stan Shebs <shebs@andros.cygnus.com> |
688 | ||
689 | * Makefile.in (bfd_libs_here, etc): Provide empty definitions. | |
690 | * coff-rs6000.c (rs6000coff_vec): Add conditional defines | |
691 | TARGET_SYM and TARGET_NAME for vector and BFD name. | |
692 | * coff-pmac.c (pmac_xcoff_vec): Remove. | |
693 | (TARGET_SYM, TARGET_NAME): Define. | |
694 | * coffcode.h (coff_set_arch_mach_hook) [POWERMAC]: Set the | |
695 | machine to 0, not all PowerMacs are 601s. | |
696 | ||
697 | Fri Nov 10 12:10:14 1995 Ian Lance Taylor <ian@cygnus.com> | |
698 | ||
699 | * elfcode.h (elf_object_p): Read in any program headers. | |
700 | * elf.c (_bfd_elf_make_section_from_shdr): Adjust section lma | |
701 | based on the program headers, if any. | |
702 | (elf_fake_sections): Set sh_addr from the vma, not the lma. | |
703 | (map_program_segments): Set p_paddr of program headers based on | |
704 | the lma. | |
705 | ||
ee174815 ILT |
706 | Thu Nov 9 13:01:31 1995 Ian Lance Taylor <ian@cygnus.com> |
707 | ||
839087b7 ILT |
708 | * archive.c (bfd_generic_archive_p): Preserve tdata in case of |
709 | failure. | |
710 | ||
922530a6 ILT |
711 | * aoutx.h (NAME(aout,final_link)): Report a reasonable error when |
712 | trying to do a relocateable link with a non-a.out object file. | |
713 | ||
714 | * archive.c (bfd_generic_archive_p): Check the first object file | |
715 | in an archive even if target_defaulted is set. If the object file | |
716 | has the wrong xvec, reject it. | |
717 | ||
a1774c51 ILT |
718 | * aoutx.h (NAME(aout,set_section_contents)): If a section can not |
719 | be represented, report the name via _bfd_error_handler. | |
720 | (translate_to_native_sym_flags): Likewise. | |
721 | * elf32-mips.c (mips_elf_final_link): Likewise. | |
722 | * oasys.c (oasys_write_sections): Likewise. | |
723 | ||
4a378b13 ILT |
724 | * coffcode.h (coff_set_alignment_hook): Write RS6000COFF_C version |
725 | which checks for STYP_OVRFLO sections. | |
726 | (coff_compute_section_file_positions): If RS6000COFF_C, handle | |
727 | reloc and lineno count overflows. | |
728 | (coff_write_object_contents): Call coff_count_linenumbers before | |
729 | coff_compute_section_file_positions. If RS6000COFF_C, handle | |
730 | reloc and lineno count overflows. | |
731 | * xcofflink.c (_bfd_xcoff_bfd_final_link): Count line numbers and | |
732 | relocs before dealing with .pad sections. Count overflow section | |
733 | headers when handling .pad sections. | |
734 | ||
7906bf87 ILT |
735 | * coffcode.h (coff_write_object_contents): Set a.out vstamp to 1 |
736 | if RS6000COFF_C. | |
737 | ||
ee174815 ILT |
738 | * xcofflink.c (XCOFF_DESCRIPTOR): Define. |
739 | (struct xcoff_link_hash_table): Add descriptor_section and | |
740 | special_sections fields. | |
741 | (_bfd_xcoff_bfd_link_hash_table_create): Initialize new fields. | |
742 | (xcoff_link_add_symbols): Set linkage section alignment. Create | |
743 | descriptor section. Check for magic symbol names (_text, etc.), | |
744 | and record them in special_sections if found. Set | |
745 | XCOFF_DESCRIPTOR flag for a function descriptor, and set its | |
746 | descriptor field to point back to the function code symbol. | |
747 | (xcoff_sweep): Always mark the special descriptor_section. | |
748 | (bfd_xcoff_export_symbol): Check whether the symbol might be a | |
749 | function descriptor, and mark it if it is. | |
750 | (bfd_xcoff_size_dynamic_sections): Add new special_sections | |
751 | parameter, and fill it in. Allocate space for the descriptor | |
752 | section. | |
753 | (xcoff_build_ldsyms): Set XCOFF_DEF_REGULAR flag when defining | |
754 | global linkage code. If an undefined function descriptor is | |
755 | exported, arrange to define it. Warn about any other undefined | |
756 | exported symbol. | |
757 | (_bfd_xcoff_bfd_final_link): Write out the descriptor section. | |
758 | (xcoff_write_global_symbol): Create a function descriptor when | |
759 | necessary. | |
760 | * bfd-in.h (bfd_xcoff_size_dynamic_sections): Update declaration. | |
761 | * bfd-in2.h: Rebuild. | |
762 | ||
0e829f18 KK |
763 | Thu Nov 9 08:40:23 1995 Kim Knuttila <krk@cygnus.com> |
764 | ||
765 | * coff-ppc.c (ppc_coff_link_hash_entry): new types for hashing | |
766 | (ppc_coff_link_hash_table): new types for hashing | |
767 | (ppc_coff_link_hash_newfunc): hash entry constructor | |
768 | (ppc_coff_link_hash_table_init): hash table initializer | |
769 | (ppc_coff_link_hash_table_create): hash table constructor | |
770 | (ppc_record_toc_entry): changed references to hash table | |
771 | (coff_ppc_relocate_section): changed references to hash table | |
772 | ||
773 | * libcoff-in.h (coff_link_hash_entry): removed toc_offset | |
774 | * libcoff.h: Rebuild | |
775 | ||
776 | * cofflink.c (_bfd_coff_link_hash_newfunc): removed toc_offset init | |
777 | (coff_link_add_symbols): removed toc_offset init | |
778 | ||
7ac84736 KR |
779 | Thu Nov 9 04:00:38 1995 Ken Raeburn <raeburn@cygnus.com> |
780 | ||
b27cc4bc KR |
781 | * Makefile.in (.dep1): Make sure the file mkdep is to write exists |
782 | first. | |
783 | ||
7ac84736 KR |
784 | * configure.in: Added new option --with[out]-mmap. Set USE_MMAP |
785 | if it is given and mmep is available. | |
786 | * acconfig.h: Undef USE_MMAP. | |
787 | * configure, config.in: Regenerated. | |
788 | * aoutx.h: If USE_MMAP is not defined, do all symbol and string | |
789 | table handling the old way. | |
790 | (aout_get_external_symbols): Don't complain if last byte of string | |
791 | table is nonzero. | |
792 | * libbfd.c [HAVE_MADVISE]: Include sys/types.h and sys/mman.h. | |
793 | (bfd_free_window) [! USE_MMAP]: Don't define. | |
794 | (bfd_get_file_window, | |
795 | _bfd_generic_get_section_contents_in_window) [! USE_MMAP]: Abort. | |
796 | ||
1b3b0c03 ILT |
797 | Wed Nov 8 20:03:44 1995 Eric Freudenthal <freudenthal@nyu.edu> |
798 | ||
799 | * coff-a29k.c (SIGN_EXTEND_HWORD): Use ~0xffff rather than | |
800 | 0xffff0000. | |
801 | ||
092abcdf ILT |
802 | Wed Nov 8 11:31:11 1995 Ian Lance Taylor <ian@cygnus.com> |
803 | ||
33698029 ILT |
804 | * coff-a29k.c (a29k_reloc): Change handling of R_IREL reloc to be |
805 | compatible with AMD generated COFF files. Try to support both AMD | |
806 | and GNU formats simultaneously. | |
807 | (coff_a29k_relocate_section): Likewise. | |
808 | ||
0bb8ff19 ILT |
809 | * libbfd.c (bfd_get_file_window): Change writable parameter from |
810 | int to boolean; update all callers. Pass MAP_SHARED if not | |
811 | writable--it's required on Solaris. Cast fprintf argument to | |
812 | avoid warning. | |
813 | * bfd-in.h (bfd_get_file_window): Update declaration. | |
814 | * bfd-in2.h: Rebuild. | |
815 | * aoutx.h: Update calls to bfd_get_file_window. | |
816 | ||
0634a431 ILT |
817 | * xcofflink.c (XCOFF_DEF_DYNAMIC): Rename from XCOFF_REF_DYNAMIC. |
818 | Change all uses. | |
819 | (xcoff_swap_ldhdr_in): New static function. | |
820 | (xcoff_swap_ldsym_in): New static function. | |
7812bf9c | 821 | (xcoff_find_reloc): Handle the case of a single reloc correctly. |
0634a431 ILT |
822 | (xcoff_link_add_symbols): If we just created a descriptor, pass it |
823 | to _bfd_generic_link_add_one_symbol, to save a hash lookup. | |
417acf22 | 824 | Handle XTY_ER/XMC_XO symbols correctly. |
0634a431 ILT |
825 | (xcoff_link_add_dynamic_symbols): Rewrite to read .loader symbols |
826 | rather than normal symbol table. | |
417acf22 ILT |
827 | (bfd_xcoff_import_symbol): It's not an error if the symbol is |
828 | already defined with the same absolute value. | |
0634a431 ILT |
829 | (xcoff_mark): When considering called symbols, check whether the |
830 | descriptor is from a dynamic object, rather than the symbol | |
831 | itself. | |
832 | (xcoff_build_ldsyms): Likewise. | |
833 | ||
092abcdf ILT |
834 | * libbfd.c (bfd_get_file_window): Change return type to boolean. |
835 | Cast realloc and malloc return values. If malloc or realloc fail, | |
836 | set bfd_error_no_memory. | |
837 | * bfd-in.h (bfd_get_file_window): Change type to boolean. | |
838 | * bfd-in2.h: Rebuild. | |
839 | ||
d6f41a7d KK |
840 | Tue Nov 7 11:53:48 1995 Kim Knuttila <krk@cygnus.com> |
841 | ||
842 | * coff-ppc.c (ppc_record_toc_entry): new function. | |
843 | (in_reloc_p): changed return value. | |
844 | (coff_ppc_relocate_section): much rework. | |
845 | (ppc_allocate_toc_section): new function. | |
846 | (ppc_process_before_allocation): new function. | |
847 | (ppc_coff_swap_sym_in_hook): new function. | |
848 | ||
849 | * cofflink.c (_bfd_coff_link_hash_newfunc): initialize toc_offset. | |
850 | (coff_link_add_symbols): initialize toc_offset. | |
851 | ||
852 | * peicode.h (coff_swap_sym_in): Added coff_swap_sym_in_hook | |
853 | (coff_swap_aouthdr_out): Added more sections to the data | |
854 | dictionary for the pe file header. Also changed linker version | |
855 | number on the ppc side. | |
856 | (dir_names): small improvements to the dictionary printing. | |
857 | (pe_mkobject_hook): save the file level flags. | |
858 | ||
859 | * libcoff-in.h (coff_link_hash_entry): added toc_offset field | |
860 | (pe_tdata): added real_flags field | |
861 | (coff_tdata): added local_toc_sym_map and access macro | |
862 | ||
863 | * libcoff.h (coff_link_hash_entry): added toc_offset field | |
864 | (pe_tdata): added real_flags field | |
865 | (coff_tdata): added local_toc_sym_map and access macro | |
866 | ||
867 | * coffcode.h (coff_set_alignment_hook): added hook for PE. | |
868 | (coff_mkobject): init for local_toc_sym_map | |
869 | (coff_write_object_contents): set the internal_a.magic to | |
870 | IMAGE_NT_OPTIONAL_HDR_MAGIC which appears to be what other | |
871 | ppc compilers use. | |
872 | ||
6bc200f2 ILT |
873 | Tue Nov 7 13:48:58 1995 Ian Lance Taylor <ian@cygnus.com> |
874 | ||
c0971298 ILT |
875 | * ecofflink.c (_bfd_ecoff_locate_line): Keep looking through stabs |
876 | entries until both the line number address and the function name | |
877 | address are too large. | |
878 | ||
6a468850 ILT |
879 | * configure.in: Call AC_CHECK_PROG to find and cache AR. |
880 | * configure: Rebuilt. | |
881 | ||
6bc200f2 ILT |
882 | * aclocal.m4 (BFD_CC_FOR_BUILD): Don't define CC_FOR_BUILD if it |
883 | is defined in the environment. | |
884 | ||
c44bf94c JL |
885 | Tue Nov 7 10:57:24 1995 Jeffrey A Law (law@cygnus.com) |
886 | ||
887 | * som.c (som_get_section_contents_in_window): Define to use | |
888 | generic version. | |
889 | ||
cf587de8 ILT |
890 | Mon Nov 6 17:13:15 1995 Harry Dolan <dolan@ssd.intel.com> |
891 | ||
892 | * coff-i860.c: New file, based on coff-i386.c. | |
893 | * cpu-i860.c: New file, based on cpu-i386.c. | |
894 | * hosts/i860mach3.h: New file, based on hosts/i386mach3.h. | |
895 | * config.bfd (i860-*-mach3*, i860-*-osf1*, i860-*-coff*): New | |
896 | targets, using i860coff_vec. | |
897 | * configure.in (i860-*-mach3*, i860-*-osf1*): New hosts, using | |
898 | trad-core.o and hosts/i860mach3.h. | |
899 | (i860coff_vec): Use coff-i860.o and cofflink.o. | |
900 | * configure: Rebuild. | |
901 | * Makefile.in: Rebuild dependencies. | |
902 | (ALL_MACHINES): Add cpu-i860.o. | |
903 | (BFD32_BACKENDS): Add coff-i860.o. | |
904 | (CFILES): Add cpu-i860.c and coff-i860.c. | |
905 | * targets.c (i860coff_vec): Declare. | |
906 | (bfd_target_vector): Add &i860coff_vec. | |
907 | * archures.c (bfd_i860_arch): Declare. | |
908 | (bfd_archures_list): Add &bfd_i860_arch. | |
909 | * coffcode.h (coff_set_arch_mach_hook): Handle I860 magic number. | |
910 | (coff_set_flags): Handle bfd_arch_i860. | |
911 | (coff_write_object_contents): Handle I860 a.out magic number. | |
912 | ||
83c23fca ILT |
913 | Mon Nov 6 14:34:07 1995 Ian Lance Taylor <ian@cygnus.com> |
914 | ||
915 | * xcofflink.c (xcoff_link_add_symbols): Set the alignment power of | |
916 | the created .tc section to 2. | |
917 | (xcoff_mark): Don't keep a .loader reloc for a call to an | |
918 | undefined symbol when creating a shared library. | |
919 | (xcoff_build_ldsyms): When creating a shared library, generate | |
920 | global linkage code for a call to an undefined symbol. | |
921 | ||
5d9eb9c3 KR |
922 | Sun Nov 5 21:44:13 1995 Ken Raeburn <raeburn@cygnus.com> |
923 | ||
924 | * Makefile.in (CFILES): Rebuild list from BFD_LIBS, ALL_MACHINES, | |
925 | BFD32_BACKENDS, BFD64_BACKENDS. | |
926 | (.dep1): Put mkdep output in a separate file. | |
927 | Rebuilt dependencies. | |
928 | ||
ffacb892 KR |
929 | * ecoff.c (_bfd_ecoff_slurp_armap): Cast _bfd_read_ar_hdr return |
930 | value. | |
931 | ||
4fe6d901 KR |
932 | Permit use of mmap when available: |
933 | ||
934 | * configure.in: Check for mmap, madvise, mprotect. | |
935 | * config.in, configure: Regenerated. | |
936 | ||
937 | * libbfd.c (struct _bfd_window_internal): Define type. | |
938 | (bfd_init_window, bfd_free_window, bfd_get_file_window): New | |
939 | functions. | |
940 | (ok_to_map): New static variable for debugging. | |
941 | (_bfd_generic_get_section_contents_in_window): New function. | |
942 | * bfd-in.h (bfd_window_internal): Declare type. | |
943 | (bfd_window): Define type. | |
944 | (bfd_init_window, bfd_free_window, bfd_get_file_window): Declare. | |
945 | * libbfd-in.h (_bfd_generic_get_section_contents_in_window): | |
946 | Declare. | |
947 | ||
948 | * libaout.h (struct aoutdata): Add two window fields. | |
949 | (obj_aout_sym_window, obj_aout_string_window): New macros. | |
950 | * aoutx.h (some_aout_object_p): Initialize windows. | |
951 | (aout_get_external_symbols): Get symbol data and strings in | |
952 | windows instead of explicitly allocated buffers. | |
953 | (slurp_symbol_table): Free window instead of memory. | |
954 | (bfd_free_cached_info): Release windows instead of freeing storage | |
955 | directly. | |
956 | (aout_link_free_symbols): Ditto. | |
957 | ||
958 | * targets.c (bfd_target): Add new field for | |
959 | get_section_contents_in_window. | |
960 | (BFD_JUMP_TABLE_GENERIC): Updated. | |
961 | * aout-adobe.c, aout-target.h, binary.c, bout.c, coff-alpha.c, | |
962 | coff-mips.c, elfxx-target.h, i386msdos.c, i386os9k.c, ieee.c, | |
963 | libcoff-in.h, oasys.c, srec.c, tekhex.c, versados.c: Added new | |
964 | macros for get_section_contents_in_window field. | |
965 | ||
d9e771e3 FF |
966 | Sat Nov 4 12:23:26 1995 Fred Fish <fnf@cygnus.com> |
967 | ||
968 | * core.c: Renamed to corefile.c | |
969 | * makefile.dos (OBJS): Change core.o to corefile.o | |
970 | * Makefile.in (CFILES, BFD_LIBS): Use corefile.c instead of core.c | |
971 | ||
bf917766 SG |
972 | start-sanitize-gm |
973 | Sat Nov 4 10:16:54 1995 Stu Grossman (grossman@cygnus.com) | |
974 | ||
975 | * config.bfd (mips*-*-magic*): Add bfd_elf32_bigmips_vec to | |
976 | targ_selvecs to allow debugging under Irix-5 native. | |
977 | ||
978 | end-sanitize-gm | |
583db7a8 ILT |
979 | Fri Nov 3 15:54:59 1995 Ian Lance Taylor <ian@cygnus.com> |
980 | ||
981 | * xcofflink.c (xcoff_link_add_symbols): Rename local variable sub | |
982 | to o. Clobber and restore the list of new csects around the call | |
983 | to _bfd_generic_link_add_one_symbol, in case it wants to report a | |
984 | linker error and the linker wants to read the symbol table. Reset | |
985 | the line number count of a real section even if it has no relocs. | |
986 | (_bfd_xcoff_bfd_final_link): If shared, set the DYNAMIC flag. | |
987 | ||
988 | * coffgen.c (_bfd_coff_read_string_table): Warn if the string size | |
989 | is too small. | |
990 | ||
68aed7db ILT |
991 | Thu Nov 2 23:16:39 1995 Ian Lance Taylor <ian@cygnus.com> |
992 | ||
18a9609c ILT |
993 | * xcofflink.c (_bfd_ppc_xcoff_relocate_section): Don't warn about |
994 | an undefined symbol in a shared link. | |
995 | ||
68aed7db ILT |
996 | * linker.c (_bfd_generic_link_add_one_symbol): Correct type of |
997 | oldtype from bfd_link_order_type to bfd_link_hash_type. From | |
998 | phdm@info.ucl.ac.be (Philippe De Muyter). | |
999 | ||
7f82c7e1 ILT |
1000 | Wed Nov 1 14:26:02 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de> |
1001 | ||
1002 | * coff-m88k.c (rtype2howto): New static function. | |
1003 | (RTYPE2HOWTO): Use it rather than a macro definition. | |
1004 | ||
1005 | * coffcode.h (coff_write_object_contents): set internal_a.magic | |
1006 | to PAGEMAGICPEXECPAGED #if defined (M68) && !defined (LYNXOS). | |
1007 | ||
4c8b9746 | 1008 | * configure.in: m68*-motorola-sysv* does not use ptrace-core.o; |
7f82c7e1 ILT |
1009 | define TRAD_HEADER to new file hosts/delta68.h. |
1010 | m88*-motorola-sysv*, however, does use ptrace-core.o. | |
1011 | * hosts/delta68.h: New file. | |
1012 | ||
1013 | * ptrace-core.c (ptrace_unix_core_file_p): change bfd_zmalloc to | |
1014 | bfd_zalloc; provide proper parm abfd to calls to bfd_zalloc. | |
1015 | ||
619c7730 KR |
1016 | Wed Nov 1 13:51:54 1995 Ken Raeburn <raeburn@cygnus.com> |
1017 | ||
1018 | * i386linux.c (MY(vec)): Declare before use. | |
1019 | ||
73246ff8 ILT |
1020 | Wed Nov 1 11:45:07 1995 Ian Lance Taylor <ian@cygnus.com> |
1021 | ||
e8d6d5d0 ILT |
1022 | * reloc16.c (bfd_coff_reloc16_get_relocated_section_contents): |
1023 | Pass input_bfd, not in_bfd, to bfd_coff_reloc16_extra_cases. | |
1024 | ||
b2193cc5 ILT |
1025 | * elf.c (bfd_elf_set_dt_needed_name): Don't do anything if the |
1026 | BFD is not of the right type. | |
1027 | (bfd_elf_get_needed_list): Likewise. | |
1028 | * i386linux.c (bfd_linux_size_dynamic_sections): Likewise. | |
1029 | * sunos.c (bfd_sunos_get_needed_list): Likewise. | |
1030 | * xcofflink.c (XCOFF_XVECP): Define. | |
1031 | (bfd_xcoff_link_record_set): Don't do anything if the BFD is not | |
1032 | of the right type. | |
1033 | (bfd_xcoff_import_symbol): Likewise. | |
1034 | (bfd_xcoff_export_symbol): Likewise. | |
1035 | (bfd_xcoff_link_count_reloc): Likewise. | |
1036 | (bfd_xcoff_record_link_assignment): Likewise. | |
1037 | (bfd_xcoff_size_dynamic_sections): Likewise. | |
1038 | ||
baabeb74 ILT |
1039 | * sunos.c (sunos_scan_ext_relocs): Only check the reloc symbol |
1040 | table index against the number of symbols for a base relative | |
1041 | reloc. | |
1042 | ||
73246ff8 ILT |
1043 | * coff-rs6000.c (_bfd_xcoff_sizeof_headers): Change from macro to |
1044 | static function. | |
1045 | * xcofflink.c (_bfd_xcoff_bfd_link_hash_table_create): Set | |
1046 | full_aouthdr flag here... | |
1047 | (_bfd_xcoff_bfd_final_link): ...not here. | |
1048 | ||
6ab826bd FF |
1049 | Tue Oct 31 12:52:02 1995 Fred Fish <fnf@cygnus.com> |
1050 | ||
1051 | * libelf.h: Rename to elf-bfd.h to avoid conflict with | |
1052 | systems that have a system <libelf.h>. | |
1053 | * Makefile.in: Globally replace libelf.h with elf-bfd.h. | |
1054 | * bfd.c, elf.c, elf32-arc.c, elf32-gen.c, elf32-hppa.c, | |
1055 | elf32-hppa.h, elf32-i386.c, elf32-i860.c, elf32-m68k.c, | |
1056 | elf32-m88k.c, elf32-mips.c, elf32-ppc.c, elf32-sparc.c, | |
1057 | elf64-gen.c, elf64-sparc.c, elfcode.h, elflink.c, | |
1058 | elfxx-target.h: Include elf-bfd.h rather than libelf.h. | |
1059 | * elfxx-target.h: Change libelf.h reference to elf-bfd.h. | |
1060 | ||
999cc186 ILT |
1061 | Tue Oct 31 15:30:07 1995 David Mosberger-Tang <davidm@azstarnet.com> |
1062 | ||
0652d579 ILT |
1063 | * ecoff.c (ecoff_set_symbol_info): Add new parameter weak. If |
1064 | set, set BSF_WEAK in symbol. Change all callers. | |
1065 | (ecoff_get_extr): Set weakext based on BSF_WEAK. | |
1066 | (ecoff_link_add_externals): If weakext is set, pass BSF_WEAK to | |
1067 | _bfd_generic_link_add_one_symbol. | |
1068 | (ecoff_indirect_link_order): Check that the section tdata relocs | |
1069 | are not NULL before using them. | |
1070 | ||
999cc186 ILT |
1071 | * configure.in (alpha*-*-linux*): Set COREFILE to trad-core.o and |
1072 | define TRAD_HEADER as hosts/alphalinux.h. | |
1073 | * configure: Rebuild. | |
1074 | * hosts/alphalinux.h: New file. | |
1075 | * trad-core.c (trad_unix_core_file_p): Cast u.u_ar0 to bfd_vma, | |
1076 | not int. | |
1077 | ||
e6080520 ILT |
1078 | Tue Oct 31 12:34:11 1995 Ian Lance Taylor <ian@cygnus.com> |
1079 | ||
2bd0aeb9 ILT |
1080 | * coffcode.h (coff_slurp_symbol_table): Accept C_BCOMM and |
1081 | C_ECOMM storage classes. | |
1082 | ||
e6080520 ILT |
1083 | * xcofflink.c (xcoff_mark_symbol): New static function, broken out |
1084 | of xcoff_mark. | |
1085 | (xcoff_mark): Call xcoff_mark_symbol. | |
1086 | (bfd_xcoff_export_symbol): Call xcoff_mark_symbol. | |
1087 | (bfd_xcoff_link_count_reloc): Call xcoff_mark_symbol rather than | |
1088 | doing it by hand. | |
1089 | (xcoff_build_ldsyms): Build a .loader symbol for an export symbol. | |
1090 | ||
5fe14a9f ILT |
1091 | Mon Oct 30 14:53:48 1995 Ian Lance Taylor <ian@cygnus.com> |
1092 | ||
f630a0a4 ILT |
1093 | * xcofflink.c (struct xcoff_final_link_info): Add new line_filepos |
1094 | field. | |
1095 | (xcoff_find_reloc): New static function. | |
1096 | (xcoff_link_add_symbols): Use it. | |
1097 | (_bfd_xcoff_bfd_final_link): Set finfo.line_filepos. | |
1098 | (xcoff_link_input_bfd): Handle C_BINCL and C_EINCL. Don't | |
1099 | relocate the value of C_DECL. | |
1100 | ||
5fe14a9f ILT |
1101 | * elf.c (elf_fake_sections): Remove bogus BFD_ASSERT. |
1102 | ||
dff77ed7 SC |
1103 | Sat Oct 28 01:25:34 1995 steve chamberlain <sac@slash.cygnus.com> |
1104 | ||
1105 | * cofflink.c (_bfd_coff_generic_relocate_section): Make | |
1106 | callback decide what goes in .relocs. | |
1107 | * pe[i]-i386.c (TARGET_UNDERSCORE): Define. | |
1108 | * peicode.h (pe_mkobject_hook): Only copy aouthdr if | |
1109 | there is one. | |
1110 | ||
697a8fe8 ILT |
1111 | Sat Oct 28 01:51:02 1995 Ian Lance Taylor <ian@cygnus.com> |
1112 | ||
1113 | * xcofflink.c (xcoff_link_add_symbols): Handle csects in the | |
1114 | absolute section. | |
1115 | ||
2d7de17d ILT |
1116 | Fri Oct 27 18:14:39 1995 Ian Lance Taylor <ian@cygnus.com> |
1117 | ||
1118 | * xcofflink.c: More improvements, mostly to fix handling of | |
1119 | constructors and a few other special cases. | |
1120 | * coff-rs6000.c (rs6000coff_vec): Set symbol_leading_char back to | |
1121 | zero, reverting yesterday's change. | |
1122 | * bfd-in.h (bfd_xcoff_link_record_set): Declare. | |
1123 | (bfd_xcoff_link_count_reloc): Declare. | |
1124 | (bfd_xcoff_record_link_assignment): Declare. | |
1125 | * bfd-in2.h: Rebuild. | |
1126 | ||
f552f751 NH |
1127 | Fri Oct 27 14:42:15 1995 Niklas Hallqvist <niklas@appli.se> |
1128 | ||
1129 | * PORTING, aout-arm.c, aout-encap.c, aout-rce.c, aout-target.h, | |
1130 | aoutx.h, gen-aout.c, host-aout.c, hp300bsd.c, i386aout.c | |
1131 | i386bsd.c, i386dynix.c, i386linux.c, i386lynx.c, i386mach3.c, | |
1132 | i386netbsd.c, m68klynx.c, m88kmach3.c, mipsbsd.c, newsos3.c, | |
1133 | ns32knetbsd.c, pc532-mach.c, riscix.c, sparclynx.c, sparcnetbsd.c: | |
1134 | Change PAGE_SIZE to TARGET_PAGE_SIZE. | |
1135 | ||
1136 | * m68knetbsd.c: Ditto as well as add support for the m68k4k object | |
1137 | format. | |
1138 | ||
1139 | * netbsd.h: Double ditto (incl. m68k4k support). NetBSD's text | |
1140 | segments includes the a.out header. See to that the magic number | |
1141 | *always* is big-endian. | |
1142 | ||
1143 | * config.bfd: Add m68*-hp*-netbsd* case. Cross-pollinate m68k and | |
1144 | m68k4k NetBSD configurations. | |
1145 | ||
1146 | * configure.in, configure: Separate i386 & mips NetBSD | |
1147 | configurations from other BSD ones. Don't assume DEC is the only | |
1148 | thing NetBSD/mips run on. Add {m68k,ns32k,sparc}-*-netbsd* | |
1149 | configurations. Add support for m68k4k NetBSD object format. | |
1150 | ||
1151 | * libaout.h: Added M_68K4K_NETBSD magic. | |
6fd1f40d NH |
1152 | |
1153 | * m68k4knetbsd.c: New file. | |
f552f751 NH |
1154 | |
1155 | * hosts/{m68k,sparc}nbsd.h: Don't define HOST_BIG_ENDIAN_P. | |
1156 | ||
1157 | * hosts/nbsd.h: Define HOST_BIG_ENDIAN_P according to | |
1158 | <machine/endian.h>. | |
1159 | ||
6fd1f40d NH |
1160 | * hosts/mipsnbsd.h: New file. |
1161 | ||
d6d44ef9 SG |
1162 | start-sanitize-gm |
1163 | Fri Oct 27 09:41:51 1995 Stu Grossman (grossman@cygnus.com) | |
1164 | ||
1165 | * config.bfd: Add config stuff for mips*-*-magic* to set | |
1166 | targ_defvec to ecoff_big_vec. | |
1167 | ||
1168 | end-sanitize-gm | |
867d923d ILT |
1169 | Thu Oct 26 14:16:47 1995 Ian Lance Taylor <ian@cygnus.com> |
1170 | ||
1171 | * xcofflink.c: Numerous changes to get closer to a working XCOFF | |
1172 | linker. | |
1173 | * libcoff-in.h (struct xcoff_tdata): Add full_aouthdr, | |
1174 | toc_section, and entry_section fields. | |
1175 | (struct xcoff_section_tdata): Remove ldrel_count field. | |
1176 | * libcoff.h: Rebuild. | |
1177 | * coffcode.h (coff_mkobject_hook): Initialize new xcoff_data | |
1178 | fields. | |
1179 | (coff_compute_section_file_positions): If RS6000COFF_C, generate | |
1180 | full a.out header if full_aouthdr is set in xcoff_data. | |
1181 | (coff_write_object_contents): Likewise. Set o_snentry and o_sntoc | |
1182 | based on sections stored in xcoff_data. | |
1183 | * coff-rs6000.c (xcoff_copy_private_bfd_data): Copy new xcoff_data | |
1184 | fields. | |
aad2c618 ILT |
1185 | (xcoff_reloc_type_lookup): Handle BFD_RELOC_CTOR. |
1186 | (rs6000coff_vec): Set symbol_leading_char to '.'. | |
867d923d ILT |
1187 | * coffgen.c (coff_get_symbol_info): If fix_value is set, fix the |
1188 | value stored in ret rather than returning a pointer value. | |
1189 | ||
6bd9ffdb MM |
1190 | Wed Oct 25 23:10:39 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
1191 | ||
1192 | * config.bfd (powerpc{,le}-{elf,sysv4,eabi,solaris2}): Remove MAC | |
1193 | format for now. | |
1194 | ||
9d14250f JL |
1195 | Wed Oct 25 16:19:27 1995 Jeffrey A Law (law@cygnus.com) |
1196 | ||
1197 | * som.c (som_slurp_string_table): Allocate the strings with malloc | |
1198 | since they're free'd by free_cached_info. | |
1199 | (som_slurp_symbol_table): Similarly for the symbol table. | |
1200 | ||
a2bd0529 PB |
1201 | Wed Oct 25 14:59:22 1995 Per Bothner <bothner@kalessin.cygnus.com> |
1202 | ||
1203 | * Makefile.in (diststuff): Don't make headers. | |
1204 | ||
28a0c103 ILT |
1205 | Wed Oct 25 11:32:54 1995 Ian Lance Taylor <ian@cygnus.com> |
1206 | ||
356cd465 ILT |
1207 | * Makefile.in: Rebuild dependencies. |
1208 | ||
1edd3a7b ILT |
1209 | * sunos.c (bfd_sunos_record_link_assignment): Don't do anything if |
1210 | output_bfd is not SunOS. | |
1211 | (bfd_sunos_size_dynamic_sections): Likewise. Don't scan relocs of | |
1212 | non-SunOS input files. | |
1213 | ||
28a0c103 ILT |
1214 | * xcofflink.c: Extensive changes to support linking shared objects |
1215 | and generating a .loader section. | |
1216 | * libcoff-in.h (struct xcoff_tdata): Add import_file_id field. | |
b73322d9 ILT |
1217 | (struct xcoff_section_tdata): Add lineno_count, first_symndx, |
1218 | last_symndx, and ldrel_count fields. | |
28a0c103 ILT |
1219 | * libcoff.h: Rebuild. |
1220 | * coff-rs6000.c (xcoff_howto_table): Correct reloc names. | |
1221 | * coffcode.h (styp_to_sec_flags): Don't set any flags if STYP_PAD | |
1222 | is set. | |
1223 | * bfd-in.h (bfd_xcoff_import_symbol): Declare. | |
1224 | (bfd_xcoff_export_symbol): Declare. | |
1225 | (bfd_xcoff_size_dynamic_sections): Declare. | |
1226 | * bfd-in2.h: Rebuild. | |
1227 | ||
aadf04f7 SS |
1228 | Tue Oct 24 17:44:20 1995 Stan Shebs <shebs@andros.cygnus.com> |
1229 | ||
1230 | * configure.in: Add xcofflink.o to pmac_xcoff_vec. | |
1231 | * configure: Rebuild. | |
1232 | * mpw-config.in: Add xcofflink.c.o to powerpc-apple-macos. | |
1233 | * coff-pmac.c: Include coff-rs6000.c instead of duplicating its | |
1234 | contents. | |
1235 | (pmac_xcoff_vec): Update to use new xcoff support. | |
1236 | * coff-rs6000.c (xcoff_generic_stat_arch_elt): Make static. | |
1237 | (xcoff_write_armap): Declare buf as unsigned char. | |
1238 | * xcofflink.c (xcoff_link_add_symbols): Declare a local as PTR. | |
1239 | ||
1240 | * mpw-make.sed: Generalize subdir_do edit. | |
1241 | ||
ddf4639b JL |
1242 | Tue Oct 24 10:25:01 1995 Jeffrey A Law (law@cygnus.com) |
1243 | ||
1244 | * hppabsd-core.c (make_bfd_asection): Initialize asect->filepos | |
1245 | correctly. Don't initialize asect->vma. | |
1246 | ||
e7bedf65 KR |
1247 | Fri Oct 20 13:23:48 1995 Ken Raeburn <raeburn@cygnus.com> |
1248 | ||
1249 | * opncls.c (_bfd_new_bfd): If _bfd_chunksize wasn't preset, use | |
1250 | something a little less than the page size. | |
1251 | ||
1252 | Thu Oct 19 13:06:09 1995 Ian Lance Taylor <ian@cygnus.com> | |
1253 | ||
1254 | * coff-i960.c (coff_i960_adjust_symndx): Clear *adjustedp. | |
1255 | ||
3a70e298 SC |
1256 | Wed Oct 18 16:20:08 1995 steve chamberlain <sac@slash.cygnus.com> |
1257 | ||
1258 | * coff-i386.c (coff_i386_reloc_type_lookup): New. | |
1259 | * coffcode.h (coff_write_object_contents): If .bss is before | |
1260 | .data us that as data_start. | |
1261 | * cofflink.c (_bfd_coff_generic_relocate_section): Get reloc | |
1262 | calc correct. | |
1263 | * peicode.h (add_data_entry): Use _cooked_size of data directory. | |
1264 | (coff_swap_outhdr_out): Hardwire in version number. | |
1265 | ||
5a2846e3 KR |
1266 | Wed Oct 18 16:50:54 1995 Ken Raeburn <raeburn@cygnus.com> |
1267 | ||
3c3a5268 KR |
1268 | * sunos.c (sunos_add_dynamic_symbols): Rename local variables |
1269 | major and minor to *_vno, since the former are also macros in | |
1270 | SunOS header files. Cast result of bfd_alloc to appropriate | |
1271 | type. | |
1272 | ||
5a2846e3 KR |
1273 | * coffgen.c (coff_find_nearest_line): Cast used_by_bfd value |
1274 | before assigning to sec_data. | |
1275 | ||
0f6c885e ILT |
1276 | Wed Oct 18 13:25:17 1995 Ian Lance Taylor <ian@cygnus.com> |
1277 | ||
1278 | * ecoff.c (_bfd_ecoff_find_nearest_line): The offset argument is | |
1279 | now relative to the section, not absolute. | |
1280 | * ecofflink.c (_bfd_ecoff_locate_line): Use the right symbol to | |
1281 | get the file name when there is a N_SO directory name. When | |
1282 | handling stabs, remember that section->vma was added to the | |
1283 | offset. | |
1284 | ||
11fa6636 ILT |
1285 | Tue Oct 17 18:24:54 1995 Ian Lance Taylor <ian@cygnus.com> |
1286 | ||
1287 | * sunos.c (struct sunos_link_hash_table): Add needed field. | |
1288 | (sunos_link_hash_table_create): Call bfd_release, not free. | |
1289 | (sunos_link_hash_table_create): Initialize needed field. | |
1290 | (sunos_add_dynamic_symbols): Record needed objects. | |
1291 | (bfd_sunos_get_needed_list): New function. | |
1292 | * bfd-in.h (bfd_sunos_get_needed_list): Declare. | |
1293 | * bfd-in2.h: Rebuild. | |
1294 | ||
c974e19e SC |
1295 | Mon Oct 16 14:43:59 1995 steve chamberlain <sac@slash.cygnus.com> |
1296 | ||
1297 | * libcoff-in.h (pe_data_type.in_reloc_p): New. | |
1298 | ||
22a35f0b ILT |
1299 | Mon Oct 16 10:52:50 1995 Ian Lance Taylor <ian@cygnus.com> |
1300 | ||
54406786 ILT |
1301 | * bfd-in.h (struct bfd_link_needed_list): Rename from |
1302 | bfd_elf_link_needed_list. | |
1303 | * bfd-in2.h: Rebuild. | |
1304 | * elf.c, elflink.h, libelf.h: Corresponding changes. | |
1305 | ||
dd984644 ILT |
1306 | Add start at AIX linker support; no shared libraries yet. |
1307 | * xcofflink.c: New file. | |
1308 | * configure.in (rs600coff_vec): Use xcofflink.o. | |
1309 | * configure: Rebuild. | |
1310 | * libcoff-in.h (struct xcoff_tdata): Add csects and debug_indices | |
1311 | fields. | |
1312 | (struct xcoff_section_tdata): Define. | |
1313 | (xcoff_section_data): Define macro. | |
1314 | (_bfd_xcoff_bfd_link_hash_table_create): Declare. | |
1315 | (_bfd_xcoff_bfd_link_add_symbols): Declare. | |
1316 | (_bfd_xcoff_bfd_final_link): Declare. | |
1317 | (_bfd_ppc_xcoff_relocate_section): Declare. | |
1318 | * libcoff.h: Rebuild. | |
1319 | * coff-rs6000.c: Clean up a bit. | |
1320 | (xcoff_mkobject): Default modtype to 1L, not RE. Initialize | |
1321 | cputype, csects, and debug_indices. | |
1322 | (xcoff_copy_private_bfd_data): Copy cputype. | |
1323 | (xcoff_howto_table): Rename from rs6000coff_howto_table. | |
1324 | (xcoff_rtype2howto): Rename from rs6000coff_rtype2howto. | |
1325 | (xcoff_reloc_type_lookup): Rename from | |
1326 | rs6000coff_reloc_type_lookup. | |
1327 | (coff_relocate_section): Define. | |
1328 | (_bfd_xcoff_sizeof_headers): Define. | |
1329 | (_bfd_xcoff_bfd_get_relocated_section_contents): Define. | |
1330 | (_bfd_xcoff_bfd_relax_section): Define. | |
1331 | (_bfd_xcoff_bfd_link_split_section): Define. | |
1332 | (rs6000coff_vec): For BFD_JUMP_TABLE_LINK, use _bfd_xcoff, not | |
1333 | coff. | |
1334 | * coffcode.h (coff_compute_section_file_positions): If AIX, | |
1335 | increment sofar by SMALL_AOUTSZ if not executable. | |
1336 | (coff_write_object_contents): If AIX, always output an a.out | |
1337 | header; if not executable, header size of SMALL_AOUTSZ. | |
1338 | * hash.c (struct bfd_strtab_hash): Add xcoff field. | |
1339 | (_bfd_stringtab_init): Initialize xcoff field. | |
1340 | (_bfd_xcoff_stringtab_init): New function. | |
1341 | (_bfd_stringtab_add): In XCOFF mode, leave two bytes for length. | |
1342 | (_bfd_stringtab_emit): In XCOFF mode, write out length. | |
1343 | * libbfd-in.h (_bfd_xcoff_stringtab_init): Declare. | |
1344 | * libbfd.h: Rebuild. | |
1345 | * Makefile.in: Rebuild dependencies. | |
1346 | (BFD32_BACKENDS): Add xcofflink.o. | |
1347 | (CFILES): Add xcofflink.c. | |
1348 | ||
22a35f0b ILT |
1349 | * elf32-mips.c (mips_elf_symbol_processing): Set SEC_ALLOC, not |
1350 | SEC_NO_FLAGS, for .acommon section. From Peter Schauer | |
1351 | <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>. | |
1352 | ||
fb417a21 MM |
1353 | Sat Oct 14 21:36:02 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
1354 | ||
1355 | * coff-ppc.c (in_reloc_p): Add, clone from coff-i386.c. | |
1356 | ||
1357 | Fri Oct 13 17:48:43 1995 Ken Raeburn <raeburn@cygnus.com> | |
1358 | ||
1359 | * acconfig.h (HAVE_SYS_PROCFS_H): Undef, with comment. | |
1360 | * config.in: Regenerated. | |
1361 | ||
1362 | * opncls.c (getpagesize) [!HAVE_GETPAGESIZE]: Define as 2048. | |
1363 | (_bfd_chunksize): New variable. | |
1364 | (_bfd_new_bfd): Set it to getpagesize() if negative, and use it | |
1365 | for obstack chunk size. | |
1366 | * configure.in: Check for getpagesize. | |
1367 | * configure: Regenerated. | |
1368 | ||
1369 | Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
1370 | ||
1371 | * trad-core.c (rawptr): Make it a local variable of | |
1372 | ptrace_unix_core_file_p. | |
1373 | ||
b1e46369 SC |
1374 | Fri Oct 13 11:22:01 1995 steve chamberlain <sac@slash.cygnus.com> |
1375 | ||
1376 | * coff-arm.c (in_reloc_p): New. | |
1377 | * coff-i386.c (in_reloc_p): New. | |
1378 | * coffcode.h: Allways include peicode.h if COFF_WITH_PE. | |
1379 | (coff_write_object_contents): Only set has_reloc_section | |
1380 | if PE_IMAGE. | |
1381 | * cofflink.c (_bfd_coff_generic_relocate_section): Call | |
1382 | in_reloc_p to decide if reloc should be emitted. | |
1383 | * libcoff.h (pe_data_type.in_reloc_p): New. | |
1384 | * peicode.h (pe_mkobject): Initialize in_reloc_p. | |
1385 | ||
ee9f09cd ILT |
1386 | Wed Oct 11 00:49:29 1995 Ian Lance Taylor <ian@cygnus.com> |
1387 | ||
b1e46369 SC |
1388 | * cofflink.c (_bfd_coff_internal_syment_name): Move to coffgen.c. |
1389 | (_bfd_coff_read_internal_relocs): Likewise. | |
1390 | * coffgen.c (_bfd_coff_internal_syment_name): Copy from coffgen.c. | |
1391 | (_bfd_coff_read_internal_relocs): Likewise. | |
1392 | ||
ee9f09cd ILT |
1393 | * elflink.h (elf_link_add_object_symbols): Correct conditions |
1394 | under which type and size change warnings are issued. | |
1395 | ||
78b31b6b ILT |
1396 | Tue Oct 10 18:32:46 1995 Ian Lance Taylor <ian@cygnus.com> |
1397 | ||
1398 | * coffgen.c (coff_count_linenumbers): Don't count line numbers for | |
1399 | a symbol which is not in a real section. | |
1400 | (coff_write_native_symbol): Corresponding change. | |
1401 | ||
1402 | * cofflink.c (_bfd_coff_link_hash_newfunc): Rename from | |
1403 | coff_link_hash_newfunc and make non-static. | |
1404 | (_bfd_coff_link_hash_table_init): New function, broken out of | |
1405 | _bfd_coff_link_hash_table_create. | |
1406 | (_bfd_coff_link_hash_table_create): Use it. | |
1407 | (process_embedded_commands): Make static. | |
1408 | * libcoff-in.h ((_bfd_coff_link_hash_newfunc): Declare. | |
1409 | (_bfd_coff_link_hash_table_init): Declare. | |
1410 | * libcoff.h: Rebuild. | |
1411 | ||
1412 | * coffcode.h (coff_mkobject_hook): If RS6000COFF_C, set cputype | |
1413 | field in XCOFF tdata. | |
1414 | (coff_set_arch_mach_hook): Check ifdef RS6000COFF_C, not ifdef | |
1415 | U802ROMAGIC, for clarity. Try to set arch and machine correctly | |
1416 | based on cputype stored in a.out header, or in n_type of initial | |
1417 | .file symbol. | |
1418 | (coff_write_object_contents): Set cputype correctly in a.out | |
1419 | header. | |
1420 | (coff_slurp_symbol_table): Add casts to file_ptr to avoid | |
1421 | warnings. | |
1422 | * coffswap.h (coff_swap_aouthdr_in): Swap in cputype field. | |
1423 | (coff_swap_aouthdr_out): Swap out cputype field. Don't clear | |
1424 | old resv1 field. | |
1425 | * libcoff-in.h (struct xcoff_tdata): Add cputype field. | |
1426 | * libcoff.h: Rebuild. | |
1427 | ||
1428 | * cpu-rs6000.c (rs6000_compatible): New static function. | |
1429 | (bfd_rs6000_arch): Use it. | |
1430 | * cpu-powerpc.c (powerpc_compatible): New static function. | |
1431 | (arch_info_struct): Define various flavours of PowerPC. | |
1432 | (bfd_powerpc_arch): Use powerpc_compatible. Point at | |
1433 | arch_info_struct. | |
1434 | ||
9dd7e56f FF |
1435 | Tue Oct 10 10:50:46 1995 Fred Fish <fnf@cygnus.com> |
1436 | ||
78b31b6b | 1437 | * Makefile.in (FLAGS_TO_PASS): Remove BISON. |
9dd7e56f | 1438 | |
8235c112 ILT |
1439 | Tue Oct 10 01:28:29 1995 Ian Lance Taylor <ian@cygnus.com> |
1440 | ||
1441 | * elflink.h (elf_link_add_object_symbols): Don't warn about | |
1442 | changing the size or type if the old definition was weak. | |
1443 | ||
0322af0d ILT |
1444 | Mon Oct 9 11:24:08 1995 Ian Lance Taylor <ian@cygnus.com> |
1445 | ||
49488f2b ILT |
1446 | * coffcode.h (combined_entry_type): Add fix_line field. |
1447 | (coff_slurp_line_table): Warn if we try to set the lineno field of | |
1448 | a symbol twice. | |
1449 | (coff_slurp_symbol_table): If RS6000COFF_C, handle C_BINCL and | |
1450 | C_EINCL by setting fix_line. Fix C_BSTAT symbol value. | |
1451 | * coffgen.c (coff_mangle_symbols): Handle fix_line. | |
1452 | (coff_write_symbol): Only use N_DEBUG if the symbol is in the | |
1453 | absolute section. | |
1454 | (coff_print_symbol): Print fix_value symbols in a useful fashion. | |
1455 | * libcoff.h: Rebuild. | |
1456 | ||
5f710a3a ILT |
1457 | * libcoff-in.h (struct xcoff_tdata): Define. |
1458 | (xcoff_data): Define. | |
1459 | * bfd.c (struct _bfd): Add xcoff_obj_data field to tdata union. | |
1460 | * bfd-in2.h, libcoff.h: Rebuild. | |
1461 | * coff-rs6000.c (xcoff_mkobject): New static function. | |
1462 | (coff_mkobject): Define. | |
1463 | (xcoff_copy_private_bfd_data): New static function. | |
1464 | (coff_bfd_copy_private_bfd_data): Define. | |
1465 | (rs6000coff_howto_table): Change R_TOC complain_on_overflow from | |
1466 | signed to bitfield. | |
1467 | (rs6000coff_vec): Add DYNAMIC to object_flags. | |
1468 | * coffcode.h (sec_to_styp_flags): If RS6000COFF_C, handle .pad and | |
1469 | .loader sections specially. | |
1470 | (coff_new_section_hook): If RS6000COFF_C, get the .text and .data | |
1471 | section alignment from the XCOFF tdata information. | |
1472 | (coff_mkobject_hook): If RS6000COFF_C, set DYNAMIC based on | |
1473 | F_SHROBJ, and copy the extra a.out header information into the | |
1474 | XCOFF tdata structure. | |
1475 | (coff_write_object_contents): If RS6000COFF_C, set F_SHROBJ, | |
1476 | F_DYNLOAD and the extra a.out header information. | |
1477 | (coff_slurp_symbol_table): Set BSF_NOT_AT_END for a C_EXT or | |
1478 | C_HIDEXT symbol with attached csect information. | |
1479 | * coffswap.h (coff_swap_aouthdr_in): If RS6000COFF_C, swap | |
1480 | in the o_maxdata field. | |
1481 | (coff_swap_aouthdr_out): If RS6000COFF_C, swap extra XCOFF fields. | |
1482 | * coffgen.c (coff_renumber_symbols): Don't move any symbol to the | |
1483 | end if BSF_NOT_AT_END is set. | |
3f2c5b2d | 1484 | |
0322af0d ILT |
1485 | * targets.c (bfd_target): Rename _bfd_read_ar_hdr field to |
1486 | _bfd_read_ar_hdr_fn. | |
1487 | * libbfd-in.h (_bfd_read_ar_hdr): Update accordingly. | |
1488 | * bfd-in2.h, libbfd.h: Rebuild. | |
1489 | * archive.c (_bfd_get_elt_at_filepos): Cast _bfd_read_ar_hdr | |
1490 | return value. | |
1491 | (do_slurp_bsd_armap, do_slurp_coff_armap): Likewise. | |
1492 | (bfd_slurp_bsd_armap_f2): Likewise. | |
1493 | (_bfd_slurp_extended_name_table): Likewise. | |
1494 | ||
3266eaff KR |
1495 | Fri Oct 6 16:18:35 1995 Ken Raeburn <raeburn@cygnus.com> |
1496 | ||
1497 | Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
1498 | ||
1499 | * archive.c (bfd_get_next_mapent): Return BFD_NO_MORE_SYMBOLS | |
1500 | when the symbol table is empty. | |
1501 | ||
1502 | * elf32-m68k.c (elf_m68k_size_dynamic_sections): Don't reserve | |
1503 | space for section symbols, since we don't output them either. | |
1504 | (elf_m68k_adjust_dynindx): Removed. | |
1505 | ||
1506 | * ptrace-core.c (rawptr): Make it a local variable of | |
1507 | ptrace_unix_core_file_p. | |
3266eaff | 1508 | |
249479fa MM |
1509 | Fri Oct 6 12:24:47 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
1510 | ||
45b5d2f0 MM |
1511 | * coff-rs6000.c (xcoff_write_archive_contents): Return false, not |
1512 | NULL. | |
1513 | ||
249479fa MM |
1514 | * config.bfd (powerpc{,le}-{elf,sysv4,eabi,solaris2}): Add NT, and |
1515 | Mac object file formats. | |
1516 | ||
c53fac12 ILT |
1517 | Fri Oct 6 12:04:02 1995 Ian Lance Taylor <ian@cygnus.com> |
1518 | ||
4372f33f ILT |
1519 | * coffgen.c (coff_fix_symbol_name): Don't try to set up file |
1520 | auxent if there isn't one. | |
1521 | (coff_write_symbols): If there is no file auxent, use SYMNMLEN | |
1522 | rather than FILNMLEN as the maximum name length. | |
1523 | ||
0fc9ada9 ILT |
1524 | * coffcode.h (bfd_coff_backend_data): Add new field |
1525 | _bfd_coff_print_aux. | |
1526 | (bfd_coff_print_aux): New static function. | |
1527 | (coff_pointerize_aux_hook (RS6000COFF_C version)): Pointerize the | |
1528 | scnlen field of an XTY_LD csect aux entry. | |
1529 | (coff_print_aux): New static function. | |
1530 | (coff_slurp_symbol_table): Don't pointerize scnlen field; now done | |
1531 | in coff_pointerize_aux_hook. | |
1532 | (bfd_coff_std_swap_table): Initialize new field. | |
1533 | * coffgen.c (coff_print_symbol): Call bfd_coff_print_aux. | |
1534 | * libcoff.h: Rebuild. | |
1535 | * coff-alpha.c (alpha_ecoff_backend_data): Initialize new field. | |
1536 | * coff-mips.c (mips_ecoff_backend_data): Likewise. | |
1537 | ||
7860fe38 ILT |
1538 | * coffcode.h (coff_write_object_contents): On AIX, clear F_RELFLG |
1539 | if there are symbols, for native AIX ld compatibility. | |
1540 | ||
c80cc833 ILT |
1541 | * coffcode.h (bfd_coff_backend_data): Add new field |
1542 | _bfd_coff_pointerize_aux_hook. | |
1543 | (coff_pointerize_aux_hook): Define as a function if RS6000COFF_C | |
1544 | or I960, and as 0 otherwise. | |
1545 | (bfd_coff_std_swap_table): Initialize new field. | |
1546 | * libcoff.h: Rebuild. | |
1547 | * coffgen.c (coff_pointerize_aux): Change parameters to take | |
1548 | symbol pointer instead of type and class, and to take aux index. | |
1549 | Call _bfd_coff_pointerize_aux_hook if it is defined. | |
1550 | (coff_get_normalized_symtab): Always call coff_pointerize_aux. | |
1551 | * coff-alpha.c (alpha_ecoff_backend_data): Initialize all fields. | |
1552 | * coff-mips.c (mips_ecoff_backend_data): Likewise. | |
1553 | ||
c53fac12 ILT |
1554 | * coff-rs6000.c: Add full support for AIX archives. Rewrite old |
1555 | read-only/host-only support. | |
1556 | ||
1557 | * coffcode.h (coff_slurp_symbol_table): Set C_HIDEXT symbols to be | |
1558 | BSF_LOCAL. | |
d11e6b52 ILT |
1559 | (OTHER_GLOBAL_CLASS): Do not define to be C_HIDEXT if |
1560 | RS6000COFF_C. | |
c53fac12 ILT |
1561 | |
1562 | * targets.c (bfd_target): Add _bfd_read_ar_hdr field. Modify | |
1563 | BFD_JUMP_TABLE_ARCHIVE accordingly. | |
1564 | * libbfd-in.h (_bfd_snarf_ar_hdr): Don't declare. | |
1565 | (_bfd_compute_and_write_armap): Declare. | |
1566 | (_bfd_generic_read_ar_hdr): Declare. | |
1567 | (_bfd_read_ar_hdr): Define. | |
1568 | (_bfd_noarchive_read_ar_hdr): Define. | |
1569 | (_bfd_archive_bsd_read_ar_hdr): Define. | |
1570 | (_bfd_archive_coff_read_ar_hdr): Define. | |
1571 | * archive.c: Change all callers of _bfd_snarf_ar_hdr to call | |
1572 | _bfd_read_ar_hdr instead. | |
1573 | (_bfd_generic_read_ar_hdr): Rename from _bfd_snarf_ar_hdr. | |
1574 | (_bfd_compute_and_write_armap): Rename from | |
1575 | compute_and_write_armap. Make non-static. Change all callers. | |
1576 | * ecoff.c (_bfd_ecoff_slurp_armap): Call _bfd_read_ar_hdr rather | |
1577 | than _bfd_snarf_ar_hdr. | |
1578 | * aout-target.h (MY_read_ar_hdr): Define if not defined. | |
1579 | * ieee.c (ieee_read_ar_hdr): Define. | |
1580 | * libecoff.h (_bfd_ecoff_read_ar_hdr): Define. | |
1581 | * oasys.c (oasys_read_ar_hdr): Define. | |
1582 | * som.c (som_read_ar_hdr): Define. | |
1583 | * bfd-in2.h, libbfd.h: Rebuild. | |
1584 | ||
f8e47484 SC |
1585 | Thu Oct 5 14:04:07 1995 steve chamberlain <sac@slash.cygnus.com> |
1586 | ||
1587 | * peicode.c (coff_swap_filehdr_in): If symptr is | |
1588 | zero, there aren't any symbols, even if nsyms is set. | |
1589 | ||
2b874a2d ILT |
1590 | Thu Oct 5 11:45:02 1995 Ian Lance Taylor <ian@cygnus.com> |
1591 | ||
aca73687 ILT |
1592 | * libecoff.h (struct ecoff_backend_data): Add adjust_headers |
1593 | field. | |
1594 | * ecoff.c (ecoff_sec_to_styp_flags): Check for various Alpha | |
1595 | sections, and set styp correctly for them: .got, .hash, .dynamic, | |
1596 | .liblist, .rel.dyn, .conflic, .dynstr, .dynsym, .comment. | |
1597 | (_bfd_ecoff_styp_to_sec_flags): Check for various Alpha section | |
1598 | types. | |
1599 | (ecoff_sort_hdrs): New static function. | |
1600 | (ecoff_compute_section_file_positions): Return boolean, not void. | |
1601 | Sort the sections by VMA before looking through them. Put the | |
1602 | first non SEC_ALLOC section on a new page. Put every SEC_ALLOC | |
1603 | section on an appropriate boundary within the page. | |
1604 | (ecoff_compute_reloc_file_positions): Check return value of | |
1605 | ecoff_compute_section_file_positions. | |
1606 | (_bfd_ecoff_set_section_contents): Likewise. | |
1607 | (_bfd_ecoff_write_object_contents): Check for various Alpha | |
1608 | section types when incrementing text_size and data_size. Call | |
1609 | adjust_headers backend function if it exists. | |
1610 | * coff-alpha.c (alpha_adjust_headers): New static function. | |
1611 | (alpha_ecoff_backend_data): Initialize adjust_headers field. | |
1612 | * coff-mips.c (mips_ecoff_backend_data): Likewise. | |
1613 | ||
2b874a2d ILT |
1614 | * hosts/i386bsd.h: Restore file incorrectly deleted on Sep 6. |
1615 | ||
c780e5db JL |
1616 | Wed Oct 4 18:15:02 1995 Jeff Law (law@hurl.cygnus.com) |
1617 | ||
1618 | * rs6000-core.c (CORE_VERSION_1): Use CORE_VERSION_1 instead | |
1619 | of ALTERNATE_AIX_CORE_FORMAT. | |
1620 | * configure.in (aix4): No longer need CORE_FLAGS. | |
1621 | * configure: Updated. | |
1622 | ||
2a01c351 KR |
1623 | Wed Oct 4 15:36:36 1995 Ken Raeburn <raeburn@cygnus.com> |
1624 | ||
1625 | NS32k changes from Ian Dall: | |
1626 | * aoutx.h (MY_final_link_relocate, MY_relocate_contents): New | |
1627 | macros. | |
1628 | (aout_link_input_section_std, aout_link_input_section_ext, | |
1629 | aout_link_reloc_link_order): Call them instead of _bfd_* | |
1630 | versions. | |
1631 | * aout-target.h (MY_exec_header_not_counted): New macro, defaults | |
1632 | to zero. | |
1633 | (backend_data): Use it instead of hardcoded zero. | |
1634 | ||
1635 | * aout-ns32k.c (CTOR_TABLE_RELOC_HOWTO): New macro. | |
1636 | (MY_swap_std_reloc_out): Use udata.i for KEEPIT, don't call stoi. | |
1637 | ||
1638 | * ns32knetbsd.c: Include bfd.h. | |
1639 | (MY_text_includes_header, MY_bfd_reloc_type_lookup): New macros. | |
1640 | (MY_bfd_reloc_type_lookup): Declare function too. | |
1641 | * pc532-mach.c (set_sizes): Don't declare. | |
1642 | (MY_text_includes_header, MY_exec_header_not_counted): Define. | |
1643 | (backend_data, MY_backend_data): Don't define. | |
1644 | ||
1645 | * config.bfd: Treat ns32k-pc532-ux* like ns32k-pc532-mach*, and | |
1646 | ns32k-*-lites* like ns32k-*-netbsd*. | |
1647 | ||
1648 | * hosts/nbsd.h: Swap order of sys/vmparam.h and sys/param.h, to | |
1649 | compile on lites. | |
1650 | ||
5944d75b ILT |
1651 | Wed Oct 4 14:15:52 1995 Ian Lance Taylor <ian@cygnus.com> |
1652 | ||
1653 | * coffcode.h (coff_write_object_contents): Restore setting | |
1654 | f_timdat to 0, deleted on August 22. | |
1655 | ||
db344f82 SC |
1656 | Tue Oct 3 16:28:32 1995 steve chamberlain <sac@slash.cygnus.com> |
1657 | ||
1658 | * coffcode.h (coff_bfd_copy_private_symbol_data, | |
1659 | coff_bfd_copy_private_section_data, | |
1660 | coff_bfd_copy_private_bfd_data): ifdef to allow overrides. | |
1661 | * peicode.h (coff_bfd_copy_private_bfd_data): New | |
1662 | (pe_bfd_copy_private_bfd_data): New. | |
1663 | (coff_swap_scnhdr_in): Swap bss size into the right place. | |
1664 | (pe_print_private_bfd_data): Add some newlines. | |
5944d75b | 1665 | |
c780e5db | 1666 | Tue Oct 3 11:53:04 1995 Jeff Law (law@hurl.cygnus.com) |
97f1feda JL |
1667 | |
1668 | * som.c (setup_sections): Don't die if a space has no subspaces. | |
1669 | ||
3d7c42c9 ILT |
1670 | Mon Oct 2 14:08:55 1995 Ian Lance Taylor <ian@cygnus.com> |
1671 | ||
1672 | * elflink.h (elf_link_add_object_symbols): Don't let a weak | |
1673 | dynamic symbol override a common symbol. Don't change the size or | |
1674 | type if they have been set and the new symbol is not a definition. | |
1675 | Warn if the size or type changes. | |
1676 | ||
c780e5db | 1677 | Sun Oct 1 01:34:41 1995 Jeff Law (law@hurl.cygnus.com) |
709af562 JL |
1678 | |
1679 | * som.c (som_begin_writing): Don't write the symbol table or | |
1680 | symbol strings. | |
1681 | (som_finish_writing): Write them here. Place them after the | |
1682 | subspace data, but before the relocs. | |
1683 | ||
1684 | Fri Sep 29 11:01:55 1995 Ian Lance Taylor <ian@cygnus.com> | |
1685 | ||
1686 | * sunos.c (sunos_add_one_symbol): Just pass false, not | |
1687 | info->shared_library, to sunos_create_dynamic_sections. | |
1688 | (sunos_scan_ext_relocs): Don't warn about a reloc in the .text | |
1689 | section. | |
1690 | (sunos_check_dynamic_reloc): Remove .text section assertion. | |
1691 | ||
7009e451 SS |
1692 | Thu Sep 28 18:48:47 1995 Stan Shebs <shebs@andros.cygnus.com> |
1693 | ||
1694 | * config.bfd: Add powerpc-*-macos*, powerpc-*-mpw*. | |
1695 | * configure, configure.in: Add pmac_xcoff_vec case. | |
1696 | * Makefile.in (BFD32_BACKENDS): Add coff-pmac.o. | |
1697 | * coff-pmac.c: New file, PowerMac XCOFF support. | |
1698 | * coffcode.h (coff_set_arch_mach_hook): Add PowerMac case. | |
1699 | * targets.c (pmac_xcoff_vec): Declare. | |
1700 | ||
1701 | * mpw-config.in: Various changes to be compatible with the | |
1702 | autoconf-based configury. | |
1703 | * mpw-make.sed: New file, sed commands to translate Unix | |
1704 | makefile into MPW syntax. | |
1705 | * mpw-make.in: Remove. | |
1706 | * hosts/mpw.h: Remove. | |
1707 | * bfd-in.h, bfd-in2.h: If MPW, include the file that defines | |
1708 | true and false as enums, then define TRUE_FALSE_ALREADY_DEFINED. | |
1709 | ||
b91537be SC |
1710 | Thu Sep 28 17:06:23 1995 steve chamberlain <sac@slash.cygnus.com> |
1711 | ||
1712 | * binary.c (binary_get_symtab): Return an empty string on error. | |
1713 | * opncls.c (bfd_fdpenr): Change WIN32 restriction to WINGDB. | |
1714 | ||
30360a6f KK |
1715 | Thu Sep 28 15:30:44 1995 Kim Knuttila <krk@nellie> |
1716 | ||
1717 | * coff-ppc.c: Reformatted according to gnu conventions | |
1718 | Removed irrelevant "if 0" code | |
1719 | ||
20d1e233 ILT |
1720 | Thu Sep 28 11:19:53 1995 Ian Lance Taylor <ian@cygnus.com> |
1721 | ||
69fd4fdd ILT |
1722 | * hp300hpux.c (convert_sym_type): Treat secondary symbols as weak |
1723 | symbols rather than as indirect symbols. | |
1724 | (MY(slurp_symbol_table)): Don't do anything special about | |
1725 | secondary symbols. | |
1726 | ||
46b5a892 ILT |
1727 | * coffcode.h (coff_new_section_hook): Make sure that the alignment |
1728 | of .ctors and .dtors sections is no larger than 2. | |
1729 | ||
9db59230 ILT |
1730 | * sunos.c (sunos_add_one_symbol): Don't change |
1731 | bfd_link_hash_common to bfd_link_hash_new, since it may be on the | |
1732 | undef list. | |
1733 | (bfd_sunos_record_link_assignment): Don't put __DYNAMIC in the | |
1734 | dynamic symbols when creating a shared library. | |
1735 | (sunos_scan_ext_relocs): Handle relocs correctly when creating a | |
1736 | shared library. | |
1737 | (sunos_scan_dynamic_symbol): Don't mark the __DYNAMIC symbol as | |
1738 | written even if it is not defined in a regular object. | |
1739 | (sunos_write_dynamic_symbol): Use plt_offset for the address of | |
1740 | the jump table reloc. Add an assertion. Use RELOC_JMP_SLOT | |
1741 | rather than the constant 22. | |
1742 | (sunos_check_dynamic_reloc): Handle creating a shared library. | |
1743 | (sunos_finish_dynamic_link): Set the first entry in the GOT to | |
1744 | zero when creating a shared library. | |
1745 | * aoutx.h (NAME(aout,final_link)): If there is a symbol __DYNAMIC, | |
1746 | write it out at the start of the symbol table. | |
1747 | ||
20d1e233 ILT |
1748 | * Makefile.in (BFD32_BACKENDS): Add coff-arm.o. |
1749 | ||
a11e10fe DE |
1750 | Thu Sep 28 00:58:05 1995 Doug Evans <dje@deneb.cygnus.com> |
1751 | ||
1752 | * config.bfd: Add arm-*-coff. | |
1753 | * configure.in, configure: Add armcoff_{little,big}_vec. | |
1754 | * targets.c (armcoff_{little,big}_vec): Declare. | |
1755 | (bfd_target_vector): Add armcoff_{little,big}_vec. | |
1756 | * coff-arm.c (armcoff_{little,big}_vec): Always define. | |
1757 | ||
99062cfc ILT |
1758 | Wed Sep 27 10:37:14 1995 Ian Lance Taylor <ian@cygnus.com> |
1759 | ||
1760 | * targets.c (bfd_find_target): Remove debugging code. | |
1761 | ||
deacbe0f KK |
1762 | Wed Sep 27 07:23:39 1995 Kim Knuttila <krk@nellie> |
1763 | ||
1764 | * coff-ppc.c, pe-ppc.c, pei-ppc.c: Initial bfd for coff/PE | |
1765 | support on powerpc. | |
1766 | * Makefile.in: added *-ppc files | |
1767 | * coffcode.h: ppc MAGIC, and use peicode.h rather than coffswap.h to | |
1768 | allow pe based .o's to be shared with other tools on ppc/NT | |
1769 | * config.bfd: added powerpc[le]-[pe|winnt] config support | |
1770 | * configure, configure.in: added bfd_powerpc[le]_pe[i]_vec | |
1771 | * peicode.h: Added more section flags for PE on ppc | |
1772 | Added coff_swap_filehdr_out to allow peicode.h to be | |
1773 | used for non-image PE files on ppc. | |
1774 | Check for image, or not, before copying pe_opthdr | |
1775 | * targets.c: Added new bfd's | |
30360a6f KK |
1776 | * targets.c: Removed two inactive bfds that shouldn't have made it this |
1777 | far. | |
deacbe0f | 1778 | |
d22b02e0 MM |
1779 | Tue Sep 26 14:06:41 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
1780 | ||
1781 | * elf32-ppc.c (ppc_reloc_type): Rename from reloc_type, and use | |
1782 | explicit values to initialize all relocs. Change all users. | |
1783 | (ppc_elf_brtaken_inner): New function to handle branch predicition | |
1784 | relocs. | |
1785 | (ppc_elf_brtaken_reloc): Ditto. | |
1786 | (ppc_elf_howto_raw): Use new functions. Make sure all unsupported | |
1787 | relocs use ppc_elf_unsupported_reloc. | |
1788 | (ppc_elf_merge_private_bfd_data): Keep track of whether an error | |
1789 | needs to be reported. | |
1790 | (ppc_elf_relocate_section): Support branch prediction relocs. | |
1791 | ||
fcf490c0 ILT |
1792 | Tue Sep 26 12:48:05 1995 Ian Lance Taylor <ian@cygnus.com> |
1793 | ||
e6cb7b41 ILT |
1794 | * bfd.c (bfd_assert): Remove \n from string passed to |
1795 | _bfd_error_handler. | |
1796 | ||
1af85fbb ILT |
1797 | * coff-i386.c: (TWO_DATA_SECS): Don't define. |
1798 | * coffcode.h (bfd_coff_backend_data): Remove _bfd_make_section_hook. | |
1799 | (bfd_coff_make_section_hook): Don't define. | |
1800 | (coff_make_section_hook): Remove. | |
1801 | (sec_to_styp_flags): Remove TWO_DATA_SECS case. | |
1802 | (styp_to_sec_flags): Likewise. | |
1803 | (coff_write_object_contents): Likewise. | |
1804 | (bfd_coff_std_swap_table): Don't initialize make_section_hook | |
1805 | field. | |
1806 | * libcoff.h: Rebuild. | |
1807 | * coffgen.c (make_a_section_from_file): Just call | |
1808 | bfd_make_section_anyway, not bfd_make_section or | |
1809 | bfd_coff_make_section_hook. | |
1810 | * ecoff.c (_bfd_ecoff_make_section_hook): Remove. | |
1811 | * libecoff.h (_bfd_ecoff_make_section_hook): Don't declare. | |
1812 | * coff-alpha.c (alpha_ecoff_backend_data): Don't initialize | |
1813 | make_section_hook field. | |
1814 | * coff-mips.c (mips_ecoff_backend_data): Likewise. | |
1815 | ||
fcf490c0 ILT |
1816 | * aoutx.h (translate_from_native_sym_flags): Don't try to stuff |
1817 | pointers into value field for warning and indirect symbols; just | |
1818 | leave the value field alone. | |
1819 | * linker.c (generic_link_add_symbol_list): Use next symbol for | |
1820 | warning and indirect symbols, rather than looking in symbol value. | |
1821 | * ecoff.c (ecoff_set_symbol_info): Remove indirect_ptr_ptr | |
1822 | parameter. Change all callers. Remove support for indirect | |
1823 | symbols; it didn't work anyhow. | |
1824 | (_bfd_ecoff_slurp_symbol_table): Remove indirect_ptr variable. | |
1825 | * syms.c: Change comments about BSF_WARNING and BSF_INDIRECT. | |
1826 | * bfd-in2.h: Rebuild. | |
1827 | ||
cc47d19a MM |
1828 | Mon Sep 25 16:04:09 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
1829 | ||
1830 | * elf32-ppc.c (ppc_elf_howto_raw): For all 14-bit branch relocs, | |
1831 | go back to telling the tools this reloc operates on 32 bits. | |
1832 | ||
81449d47 ILT |
1833 | Mon Sep 25 11:48:02 1995 Ian Lance Taylor <ian@cygnus.com> |
1834 | ||
7a7fbffb ILT |
1835 | * aout-adobe.c (aout_adobe_callback): Use _bfd_error_handler |
1836 | rather than a direct fprintf. | |
1837 | * archive.c (_bfd_write_archive_contents): Likewise. | |
1838 | * coffcode.h (coff_slurp_symbol_table): Likewise. | |
1839 | * elf32-ppc.c (ppc_elf_merge_private_bfd_data): Likewise. | |
1840 | (ppc_elf_unsupported_reloc): Likewise. | |
1841 | (ppc_elf_relocate_section): Likewise. | |
1842 | * i386linux.c (linux_tally_symbols): Likewise. | |
1843 | (linux_finish_dynamic_link): Likewise. | |
1844 | * osf-core.c (osf_core_core_file_p): Likewise. | |
1845 | * rs6000-core.c (rs6000coff_get_section_contents): Likewise. | |
1846 | * som.c (som_sizeof_headers): Likewise. | |
1847 | * srec.c (srec_bad_byte): Likewise. | |
1848 | * bfd.c (bfd_assert): Likewise. Also change file to be const. | |
1849 | * libbfd-in.h (bfd_assert): Declare first parameter const. | |
1850 | * libbfd.h: Rebuild. | |
1851 | * coff-a29k.c (a29k_reloc): Don't bother to fprintf; returning | |
1852 | bfd_reloc_overflow is enough. | |
1853 | * coff-h8300.c (rtype2howto): Don't bother to fprintf; just abort. | |
1854 | * coff-h8500.c (rtype2howto): Likewise. | |
1855 | * coff-z8k.c (rtype2howto): Likewise. | |
1856 | * coffcode.h (dummy_reloc16_extra_cases): Likewise. | |
1857 | * elf.c (_bfd_elf_get_lineno): Likewise. | |
1858 | (_bfd_elf_no_info_to_howto): Likewise. | |
1859 | (_bfd_elf_no_info_to_howto_rel): Likewise. | |
1860 | * hp300hpux.c (convert_sym_type): Likewise. | |
1861 | (MY(swap_std_reloc_in)): Likewise. | |
1862 | * elf.c (bfd_section_from_shdr): Remove #if 0 sections. | |
1863 | ||
f1c6dd5d ILT |
1864 | * libaout.h (struct aoutdata): Add line_buf field. |
1865 | * aoutx.h (NAME(aout,find_nearest_line)): Remove statics buffer | |
1866 | and filename_buffer. Instead, use a malloc buffer stored in the | |
1867 | new line_buf field. Remove length restrictions. | |
1868 | ||
f0500a41 ILT |
1869 | * coffgen.c (string_size): Remove static variable. |
1870 | (debug_string_size, debug_string_section): Likewise. | |
1871 | (coff_fix_symbol_name): Add string_size_p, debug_string_section_p, | |
1872 | and debug_string_size_p parameters. Use them instead of the | |
1873 | global variables. Change all callers. | |
1874 | (coff_write_symbol): Likewise. | |
1875 | (coff_write_alien_symbol, coff_write_native_symbol): Likewise. | |
1876 | (coff_write_symbols): Add local variables to replace removed | |
1877 | global variables. | |
1878 | ||
25b5a53d ILT |
1879 | * libcoff-in.h (struct coff_section_tdata): Add offset, i, |
1880 | function, and line_base fields. | |
1881 | * libcoff.h: Rebuild. | |
1882 | * coffgen.c (coff_find_nearest_line): Use section tdata to cache | |
1883 | information, rather than using static variables. | |
1884 | ||
641ac26a ILT |
1885 | * sunos.c (sunos_read_dynamic_info): Adjust offsets in an NMAGIC |
1886 | file. From Peter DeWolf <pld@amt.tay1.dec.com>. | |
1887 | ||
81449d47 ILT |
1888 | * init.c (initialized): Remove static variable. |
1889 | (bfd_init): Don't bother setting initialized. | |
1890 | (bfd_check_init): Remove. | |
1891 | * opncls.c (_bfd_new_bfd): Don't call bfd_check_init. | |
1892 | * libbfd.h: Rebuild. | |
1893 | ||
138b9b81 PS |
1894 | Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1895 | ||
1896 | * rs6000-core.c (rs6000coff_core_p): Don't check the core file | |
1897 | size for full core dumps. Copy core file header to private data. | |
1898 | (rs6000coff_core_file_failing_command, | |
1899 | rs6000coff_core_file_failing_signal): New functions to extract | |
1900 | the file name and terminating signal from the core file. | |
1901 | * coff-rs6000.c: Use them. | |
1902 | ||
2ffbb79a ILT |
1903 | Fri Sep 22 17:44:47 1995 Ian Lance Taylor <ian@cygnus.com> |
1904 | ||
1905 | Change arch info to be const, initialized at compile time. | |
1906 | * archures.c: Reindent many functions. Change CONST to const. | |
1907 | (bfd_arch_info_type): Make arch_name const. Remove disassemble; | |
1908 | nothing set it anyhow. Make next const. | |
1909 | (bfd_arch_info_list): Remove. | |
1910 | (bfd_archures_list): Rename from archures_init_table. Change from | |
1911 | a table of function pointers to a table of bfd_arch_info_type | |
1912 | structure addresses. | |
1913 | (bfd_scan_arch): Rewrite accordingly. Return a const pointer. | |
1914 | (bfd_lookup_arch): Likewise. | |
1915 | (bfd_set_arch_info): Rewrite accordingly. Change argument to be a | |
1916 | const pointer. | |
1917 | (bfd_default_arch_struct): Make const. | |
1918 | (bfd_arch_init, bfd_arch_linkin): Remove. | |
1919 | (bfd_get_arch_info): Return a const pointer. | |
1920 | * init.c (bfd_init): Don't call bfd_arch_init. | |
1921 | * bfd.c (struct _bfd): Make arch_info const. | |
1922 | * bfd-in2.h: Rebuild. | |
1923 | * libbfd.h: Rebuild. | |
1924 | * configure.in: Put & before everything in $selarchs. | |
1925 | * configure: Rebuild. | |
1926 | * cpu-*.c: Change bfd_*_arch from a function which calls | |
1927 | bfd_arch_linkin to a const structure. | |
1928 | * ieee.c (ieee_object_p): Make arch const. | |
1929 | ||
02f85cda MM |
1930 | Fri Sep 22 16:23:18 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
1931 | ||
1932 | * reloc.c (bfd_reloc_code_type): Add relocations to support all of | |
1933 | PowerPC V.4. | |
1934 | * bfd-in2.h: Regenerate. | |
1935 | * libbfd.h: Regenerate. | |
1936 | ||
1937 | * elf32-ppc.c (reloc_type): Update names to match current draft. | |
1938 | (ppc_elf_howto_raw): Mark 14 bit relocs as short sized and PC | |
1939 | relative. Update names to current V.4 draft. | |
1940 | (ppc_elf_reloc_type_lookup): Add support for more relocations. | |
1941 | (ppc_elf_relocate_section): Rename relocations to match draft. | |
1942 | ||
dd82c578 MM |
1943 | Thu Sep 21 21:53:18 1995 Michael Meissner <meissner@cygnus.com> |
1944 | ||
1945 | * elf32-ppc.c (ppc_elf_merge_private_bfd_data): Allow modules | |
1946 | compiled with -mrelocatable-lib to be linked with either normal | |
1947 | modules or -mrelocatable modules. | |
1948 | ||
f69e888e ILT |
1949 | Wed Sep 20 12:03:26 1995 Ian Lance Taylor <ian@cygnus.com> |
1950 | ||
e18c4e8f ILT |
1951 | * coffcode.h (coff_write_object_contents): Clear the vstamp field |
1952 | in the a.out header. | |
1953 | ||
f69e888e ILT |
1954 | * aoutx.h (NAME(aout,swap_ext_reloc_out)): Don't set r_extern for |
1955 | a reloc against a local symbol, even if it's not a section. | |
1956 | ||
a5655244 ILT |
1957 | Tue Sep 19 17:02:26 1995 Ian Lance Taylor <ian@cygnus.com> |
1958 | ||
1959 | * targets.c (bfd_target): Remove unused align_power_min field. | |
1960 | * bfd-in2.h: Rebuild. | |
1961 | * All backends: Remove initialization of align_power_min. | |
1962 | ||
500d7394 SC |
1963 | Tue Sep 19 14:02:21 1995 steve chamberlain <sac@slash.cygnus.com> |
1964 | ||
1965 | * peicode.h (coff_swap_scnhdr_out): Get sizes for BSS right. | |
500d7394 | 1966 | |
049df0a8 ILT |
1967 | Mon Sep 18 14:35:01 1995 Arne H. Juul <arnej@pvv.unit.no> |
1968 | ||
1969 | * config.bfd (mips-dec-netbsd*): New target. | |
1970 | * configure.host (mips-dec-netbsd*): New host. | |
1971 | * configure.in (mips-dec-netbsd*): New native. | |
1972 | * configure: Rebuild. | |
1973 | ||
1862bbd8 ILT |
1974 | Fri Sep 15 10:24:36 1995 Ian Lance Taylor <ian@cygnus.com> |
1975 | ||
1976 | Make the COFF backend linker merge common types: | |
1977 | * cofflink.c (struct coff_debug_merge_element): Define. | |
1978 | (struct coff_debug_merge_type): Define. | |
1979 | (struct coff_debug_merge_hash_entry): Define. | |
1980 | (struct coff_debug_merge_hash_table): Define. | |
1981 | (coff_debug_merge_hash_table_init): Define. | |
1982 | (coff_debug_merge_hash_table_free): Define. | |
1983 | (coff_debug_merge_hash_lookup): Define. | |
1984 | (struct coff_final_link_info): Add debug_merge field. | |
1985 | (coff_debug_merge_hash_newfunc): New static function. | |
1986 | (_bfd_coff_final_link): Allocate and free debug_merge table. | |
1987 | (coff_link_input_bfd): Merge identical enum, struct and union | |
1988 | types. | |
1989 | ||
a208a70f ILT |
1990 | Thu Sep 14 14:53:58 1995 Ian Lance Taylor <ian@cygnus.com> |
1991 | ||
1992 | Convert i960 COFF to use COFF backend linker. | |
1993 | * coff-i960.c (coff_i960_relocate): Use a coff_section_data | |
1994 | structure to store the symbol being used. | |
1995 | (coff_i960_start_final_link): New static function. | |
1996 | (coff_i960_relocate_section): New static function. | |
1997 | (coff_i960_adjust_symndx): New static function. | |
1998 | (coff_start_final_link): Define. | |
1999 | (coff_relocate_section): Define. | |
2000 | (coff_adjust_symndx): Define. | |
2001 | * coffcode.h (bfd_coff_backend_data): Add new callback function | |
2002 | _bfd_coff_start_final_link. | |
2003 | (bfd_coff_start_final_link): Define. | |
2004 | (coff_start_final_link): Define if not defined. | |
2005 | (bfd_coff_std_swap_table): Add coff_start_final_link. | |
2006 | * cofflink.c (_bfd_coff_internal_syment_name): Make globally | |
2007 | visible. | |
2008 | (_bfd_coff_final_link): Call bfd_coff_start_final_link if the | |
2009 | function callback is not NULL. | |
2010 | * libcoff-in.h (struct coff_section_tdata): Add tdata field. | |
2011 | (_bfd_coff_internal_syment_name): Declare. | |
2012 | * libcoff.h: Rebuild. | |
2013 | * configure.in (icoff_big_vec): Add cofflink.o. | |
2014 | (icoff_little_vec): Likewise. | |
2015 | * configure: Rebuild. | |
2016 | ||
f0abedbe FF |
2017 | Wed Sep 13 17:38:23 1995 Fred Fish <fnf@rtl.cygnus.com> |
2018 | ||
2019 | * Makefile.in (clean-info): Remove extraneous tab from line | |
2020 | following action. | |
2021 | ||
aa4b3dc5 ILT |
2022 | Wed Sep 13 13:27:53 1995 Ian Lance Taylor <ian@cygnus.com> |
2023 | ||
2024 | * cofflink.c (coff_link_input_bfd): Fail if a section with no | |
2025 | contents has relocs. | |
2026 | ||
4ca63811 | 2027 | Thu Sep 12 12:45:34 1995 steve chamberlain <sac@slash.cygnus.com> |
beee31b1 SC |
2028 | |
2029 | * coffcode.h (coff_compute_section_file_positions): Keep the | |
2030 | raw size safe. | |
2031 | (coff_write_object_contents): Remember if it's a relocatable | |
2032 | file. | |
2033 | * libcoff-in.h (pe_data_type): New member 'has_reloc_section' | |
2034 | * peicode.h (coff_swap_filehdr_out): Clear not-reloc flag | |
2035 | if relocatable file. Swap out saved raw size. | |
2036 | ||
ae115e51 ILT |
2037 | Tue Sep 12 12:14:33 1995 Ian Lance Taylor <ian@cygnus.com> |
2038 | ||
9521bac3 ILT |
2039 | * Makefile.in (do_maintainer_clean): Rename from do_realclean. |
2040 | (maintainer-clean): Rename from realclean, passing | |
2041 | maintainer-clean down to subdirectories, but leave realclean as a | |
2042 | synonym. | |
2043 | ||
4ca63811 ILT |
2044 | * linker.c (_bfd_generic_link_add_one_symbol): Pass symbol name to |
2045 | warning callback. | |
2046 | ||
5aa4c3ff ILT |
2047 | * dep-in.sed: Remove config.h from generated dependencies. |
2048 | ||
396aaeb2 ILT |
2049 | * sunos.c (sunos_slurp_dynamic_symtab): New static function, |
2050 | broken out of sunos_canonicalize_dynamic_symtab. | |
2051 | (sunos_canonicalize_dynamic_symtab): Call new function | |
2052 | sunos_slurp_dynamic_symtab. | |
2053 | (sunos_add_dynamic_symbols): Add three new parameters. Return the | |
2054 | dynamic symbol table to the caller. | |
2055 | * aoutx.h (aout_link_add_symbols): Permit add_dynamic_symbols | |
2056 | callback to override the symbols being read. | |
2057 | * libaout.h (struct aout_backend_data): Add three new parameters | |
2058 | to add_dynamic_symbols callback. | |
2059 | ||
ae115e51 ILT |
2060 | Extensive minor changes to avoid various gcc warnings. Also: |
2061 | * Makefile.in (BFD32_BACKENDS): Remove coff-arm.o. | |
2062 | * archures.c (bfd_arch_info_type): Change mach field from long to | |
2063 | unsigned long. | |
2064 | (bfd_lookup_arch): Change machine parameter from long to unsigned | |
2065 | long. | |
2066 | ||
b088e4b2 ILT |
2067 | Mon Sep 11 10:55:47 1995 Ian Lance Taylor <ian@cygnus.com> |
2068 | ||
2069 | * sunos.c (sunos_scan_std_relocs): Fix BFD_ASSERT: it's OK to find | |
2070 | a symbol with a non-zero plt_offset. | |
2071 | ||
1dff7902 ILT |
2072 | Fri Sep 8 11:47:24 1995 Ian Lance Taylor <ian@cygnus.com> |
2073 | ||
2b71e1e4 ILT |
2074 | * elfcode.h (align_file_position): Remove; not used. |
2075 | ||
1dff7902 ILT |
2076 | * configure.in: Only check for <sys/procfs.h> on a native system, |
2077 | and make sure it defines prstatus_t. | |
2078 | * configure: Rebuild. | |
2079 | ||
870015b1 ILT |
2080 | Thu Sep 7 12:48:01 1995 Ian Lance Taylor <ian@cygnus.com> |
2081 | ||
535c89f0 ILT |
2082 | * sunos.c (sunos_write_dynamic_symbol): Correct m68k abort test. |
2083 | ||
936b870c ILT |
2084 | * config.in: Rename from config.h.in. |
2085 | * configure.in: Call AC_CONFIG_HEADER with config.h:config.in. | |
a7873a6c | 2086 | Check for config.h:config.in when creating stamp-h. |
936b870c | 2087 | * configure: Rebuild. |
a7873a6c ILT |
2088 | * Makefile.in (stamp-h): Depend upon config.in rather than |
2089 | config.h.in. Set CONFIG_HEADERS to config.h:config.in when | |
2090 | calling config.status. | |
936b870c | 2091 | |
870015b1 ILT |
2092 | * Makefile.in (do_distclean): Remove config.h and stamp-h. |
2093 | (Makefile): Just rebuild Makefile. | |
2094 | (config.h, stamp-h): New targets. | |
2095 | * configure.in: Create stamp-h when rebuilding config.h. | |
2096 | * configure: Rebuild. | |
2097 | ||
b7577823 ILT |
2098 | Wed Sep 6 15:00:33 1995 Ian Lance Taylor <ian@cygnus.com> |
2099 | ||
2100 | * configure.in: Call AC_CONFIG_HEADER. Substitute | |
2101 | HOST_64BIT_LONG. Check that various header files exist. Check | |
2102 | that fcntl exists. Call BFD_BINARY_FOPEN. Check whether malloc | |
2103 | and/or free need to be declared. Don't make a link to sysdep.h. | |
2104 | Define TRAD_HEADER for various hosts. | |
2105 | * configure: Rebuild. | |
2106 | * configure.host: Don't set my_host. Add definitions taken from | |
2107 | host header files for various entries. Remove entries which now | |
2108 | do nothing. | |
2109 | * acconfig.h: New file. | |
2110 | * config.h.in: New file, built by autoheader. | |
2111 | * sysdep.h: New file. | |
2112 | * Makefile.in (do_distclean): Don't remove sysdep.h. | |
2113 | (RECONFIG): Remove. | |
2114 | (LOCAL_H_DEPS): New variable. | |
2115 | ($(BFD_LIBS)): Use $(LOCAL_H_DEPS) rather than libbfd.h and | |
2116 | $(RECONFIG). | |
2117 | ($(BFD_MACHINES), $(BFD_BACKENDS)): Likewise. | |
2118 | ($(OPTIONAL_BACKENDS)): Likewise. | |
2119 | (stmp-bfd.h): Just substitute for BFD_HOST_64BIT_LONG, rather than | |
2120 | looking through sysdep.h. | |
2121 | * bfd-in.h (BFD_HOST_64BIT_LONG): Define; set by Makefile. | |
2122 | (BFD_HOST_64_BIT): Define based on BFD_HOST_64BIT_LONG. | |
2123 | (fprintf_vma, sprintf_vma): Likewise. | |
2124 | (int64_type, uint64_type): Don't define. | |
2125 | * bfd-in2.h: Rebuild. | |
2126 | * archures.c, bfd.c, srec.c: Include <ctype.h>. | |
2127 | * elfcore.h: Check HAVE_SYS_PROCFS_H rather than HAVE_PROCFS. | |
2128 | * lynx-core.c: Include stuff from old hosts/lynx.h. | |
2129 | * opncls.c (bfd_fdopenr): Check HAVE_FNCTL and defined (F_GETFL), | |
2130 | rather than NO_FCNTL. | |
2131 | * targets.c (bfd_target_list): Check HOST_HPPAHPUX and ! __STDC__ | |
2132 | rather than NATIVE_HPPAHPUX_COMPILER. | |
2133 | * trad-core.c: Don't include <errno.h>. Include TRAD_HEADER if it | |
2134 | is defined. | |
2135 | * hosts/*.h: Remove all header files which merely include, | |
2136 | declare, and define things. Leave header files which define | |
2137 | information needed by trad-core.c. | |
2138 | ||
2139 | * aclocal.m4 (BFD_BINARY_FOPEN): Define. | |
2140 | (BFD_CC_FOR_BUILD): Define. | |
2141 | * configure.in: Use BFD_CC_FOR_BUILD. | |
2142 | * configure: Rebuild. | |
2143 | ||
7a93ebdd ILT |
2144 | Tue Sep 5 19:35:28 1995 Ian Lance Taylor <ian@cygnus.com> |
2145 | ||
4c2e4d0e ILT |
2146 | * aclocal.m4: Don't try to grep ../Makefile if it doesn't exist. |
2147 | * configure: Rebuild. | |
2148 | ||
7a93ebdd ILT |
2149 | * coff-sparc.c (CALC_ADDEND): Don't set the addend to the value of |
2150 | a global symbol. | |
2151 | ||
866bb9e5 JM |
2152 | Tue Sep 5 12:48:26 1995 Jason Molenda (crash@phydeaux.cygnus.com) |
2153 | ||
2154 | * config.bfd: i386pe_ve -> i386pe_vec. | |
2155 | ||
2b79a104 ILT |
2156 | Mon Sep 4 14:02:43 1995 Ian Lance Taylor <ian@cygnus.com> |
2157 | ||
f515fb2f ILT |
2158 | * configure.host: Incorporate host Makefile fragments by setting |
2159 | shell variables. | |
2160 | * configure.in: Call AC_PROG_CC. Substitute CFLAGS, HDEFINES and | |
2161 | AR. Call AC_PROG_INSTALL. Substitute CC_FOR_BUILD, choosing a | |
2162 | value based on whether the code is being compiled by a cross | |
2163 | compiler. Don't substitute host_makefile_frag or frags. | |
2164 | * aclocal.m4: New file to define local AC_PROG_CC. | |
2165 | * configure: Rebuild. | |
2166 | * Makefile.in (INSTALL): Set to @INSTALL@. | |
2167 | (INSTALL_PROGRAM): Set to @INSTALL_PROGRAM@. | |
2168 | (INSTALL_DATA): Set to @INSTALL_DATA@. | |
2169 | (AR): Set to @AR@. | |
2170 | (CC): Define as @CC@. | |
2171 | (CFLAGS): Set to @CFLAGS@. | |
2172 | (CC_FOR_BUILD): Set to @CC_FOR_BUILD@. | |
2173 | (@host_makefile_frag@): Remove. | |
2174 | (ALL_CFLAGS): Change $(HDEFINES) to @HDEFINES@. Move $(CFLAGS) | |
2175 | after other options. | |
2176 | (config.status): Remove dependency upon @frags@. | |
2177 | * config/*.mh, config/README: Remove. | |
2178 | ||
2b79a104 ILT |
2179 | * config.bfd: Rewrite to incorporate the contents of the Makefile |
2180 | fragments by setting shell variables, rather than merely returning | |
2181 | the name of a Makefile fragment. | |
2182 | * configure.in: Use shell variables set by config.bfd rather than | |
2183 | looking at the target Makefile fragment files. Don't substitute | |
2184 | target_makefile_frag. Do substitute TDEFINES. | |
2185 | * configure: Rebuild. | |
2186 | * Makefile.in (@target_makefile_frag@): Remove. | |
2187 | (ALL_CFLAGS): Change $(TDEFINES) to @TDEFINES@. | |
2188 | * config/*.mt: Remove. | |
2189 | ||
2cb159a5 KR |
2190 | Mon Sep 4 03:13:28 1995 Ken Raeburn <raeburn@cygnus.com> |
2191 | ||
2192 | * configure.in: Put changequote lines around "i[345]86" patterns | |
2193 | section of core file support. | |
2194 | ||
ef07871c JL |
2195 | Sun Sep 3 11:31:58 1995 Jeff Law (law@snake.cs.utah.edu) |
2196 | ||
2197 | * som.c (som_bfd_print_private_bfd_data): Define to use the | |
2198 | generic version. | |
2199 | ||
1613e075 SC |
2200 | Fri Sep 1 17:08:40 1995 steve chamberlain <sac@slash.cygnus.com> |
2201 | ||
2202 | * peicode.h (coff_swap_aouthdr_in): Add ImageBase to | |
2203 | entry, text_start and data_start. | |
2204 | ||
a52a3ce8 ILT |
2205 | Fri Sep 1 18:06:28 1995 Ian Lance Taylor <ian@cygnus.com> |
2206 | ||
a21227ef ILT |
2207 | * Makefile.in (OFILES): Remove $(TDEPFILES). |
2208 | * config/apollo.mt (TDEPFILES): Remove. | |
2209 | * config/README: Update. | |
2210 | ||
a52a3ce8 ILT |
2211 | * configure.in: For a native configuration, set COREFILE and |
2212 | COREFLAG based on the canonical host name. | |
2213 | * configure: Rebuild. | |
2214 | * Makefile.in: Rebuild dependencies. | |
2215 | (ALL_CFLAGS): Add @COREFLAG@. | |
2216 | (OFILES): Replace $(HDEPFILES) with @COREFILE@. | |
2217 | * coff-rs6000.c: Check AIX_CORE rather than HOST_AIX for core file | |
2218 | support routines. Check LYNX_CORE rather than HOST_LYNX. | |
2219 | * lynx-core.c: Check LYNX_CORE rather than HOST_LYNX. | |
2220 | * i386lynx.c: Likewise. | |
2221 | * m68klynx.c: Likewise. | |
2222 | * sparclynx.c: Likewise. | |
2223 | * rs6000-core.c: Check AIX_CORE rather than HOST_AIX. | |
2224 | * *-core.c: Comment changes. | |
2225 | * config/decstation.mh (HDEPFILES): Remove. | |
2226 | (HDEFINES): Remove -DTRAD_CORE. | |
2227 | * config/irix3.mh (RANLIB): Remove. | |
2228 | * config/irix4.mh (HDEPFILES, RANLIB): Remove. | |
2229 | (HDEFINES): Remove -DIRIX_CORE. | |
2230 | * config/riscos.mh (RANLIB, HDEPFILES): Remove. | |
2231 | (HDEFINES): Remove -DTRAD_CORE. | |
2232 | * config/ncr3000.mh (AR_FLAGS, RANLIB): Remove. | |
2233 | * config/ultra3.mh (RANLIB): Remove. | |
2234 | * config/aix4.mh, config/alphaosf.mh, config/amix.mh: Remove. | |
2235 | * config/apollo.mh, config/delta68.mh, config/delta88.mh: Remove. | |
2236 | * config/dpx2.mh, config/esix.mh, config/harris.mh: Remove. | |
2237 | * config/hp300.mh, config/hp300bsd.mh, config/hppabsd.mh: Remove. | |
2238 | * config/hppahpux.mh, config/hppaosf.mh: Remove. | |
2239 | * config/i386aix.mh, config/i386bsd.mh: Remove. | |
2240 | * config/i386linux.mh, config/i386mach3.mh: Remove. | |
2241 | * config/i386sco.mh, config/i386v.mh, config/i386v4.mh: Remove. | |
2242 | * config/irix5.mh, config/m88kmach3.mh, config/mipsbsd.mh: Remove. | |
2243 | * config/mipsmach3.mh, config/news-mips.mh: Remove. | |
2244 | * config/news.mh, config/pc532mach.mh, config/riscix.mh: Remove. | |
2245 | * config/rs600.mh, config/rs6000lynx.mh: Remove. | |
2246 | * config/solaris2.mh, config/stratus.mh: Remove. | |
2247 | * config/symmetry.mh, config/sysv4.mh, config/tahoe.mh: Remove. | |
2248 | * config/vaxbsd.mh, config/vaxult.mh, config/vaxult2.mh: Remove. | |
2249 | ||
d6f672b8 ILT |
2250 | Fri Sep 1 15:18:50 1995 Kazumoto Kojima <kkojima@info.kanagawa-u.ac.jp> |
2251 | ||
2252 | * elflink.h (elf_bfd_final_link): Don't change a DT_INIT or | |
2253 | DT_FINI entry if the appropriate symbol is not in the hash table. | |
2254 | ||
2255 | * libelf.h (struct elf_backend_data): Add create_program_headers | |
2256 | and want_hdr_in_seg fields. | |
2257 | * elfxx-target.h (elf_backend_want_hdr_in_seg): Define if not | |
2258 | defined. | |
2259 | (elf_backend_create_program_headers): Likewise. | |
2260 | (elfNN_bed): Initialize create_program_headers and | |
2261 | want_hdr_in_seg. | |
2262 | * elf.c (get_program_header_size): Call create_program_headers | |
2263 | backend routine. | |
2264 | (map_program_segments): Check want_hdr_in_seg backend field. Call | |
2265 | create_program_headers backend routine. | |
2266 | ||
2267 | * elf.c (assign_file_positions_except_relocs): Align non allocated | |
2268 | sections when creating an executable. | |
2269 | ||
2270 | * elfcode.h (elf_swap_phdr_in): Make non static. | |
2271 | (elf_swap_phdr_out): Make non static. | |
2272 | * libelf.h (bfd_elf32_swap_phdr_in): Declare. | |
2273 | (bfd_elf32_swap_phdr_out): Declare. | |
2274 | (bfd_elf64_swap_phdr_in): Declare. | |
2275 | (bfd_elf64_swap_phdr_out): Declare. | |
2276 | ||
2277 | * ecofflink.c (ecoff_collect_shuffle): New static function. | |
2278 | (_bfd_ecoff_get_accumulated_pdr): New function. | |
2279 | (_bfd_ecoff_get_accumulated_sym): New function. | |
2280 | (_bfd_ecoff_get_accumulated_ss): New function. | |
2281 | * libbfd-in.h (_bfd_ecoff_get_accumulated_pdr): Declare. | |
2282 | (_bfd_ecoff_get_accumulated_sym): Declare. | |
2283 | (_bfd_ecoff_get_accumulated_ss): Declare. | |
2284 | * libbfd.h: Rebuild. | |
2285 | ||
0cb70568 ILT |
2286 | Fri Sep 1 13:20:25 1995 Ian Lance Taylor <ian@cygnus.com> |
2287 | ||
d6f672b8 ILT |
2288 | * libecoff.h (_bfd_ecoff_bfd_print_private_bfd_data): Fix typo. |
2289 | ||
0cb70568 ILT |
2290 | * elflink.h (elf_link_add_object_symbols): Handle indirect and |
2291 | warning symbols. If any section is named .gnu.warning.XXX, treat | |
2292 | the contents as a warning to be issued if the symbol XXX is | |
2293 | referenced. | |
2294 | (elf_link_output_extsym): For an indirect or warning symbol, just | |
2295 | output the symbol it points to. | |
2296 | ||
2297 | * linker.c (_bfd_link_hash_newfunc): Don't bother to set bfd_error | |
2298 | if bfd_hash_allocate fails, since it will already be set. | |
2299 | (generic_link_hash_newfunc): Likewise. | |
2300 | (archive_hash_newfunc): Likewise. | |
2301 | (hash_entry_bfd): New static function. | |
2302 | (_bfd_generic_link_add_one_symbol): Pass new arguments to warning | |
2303 | callback. Allocate a new warning using the hash table newfunc. | |
2304 | Use bfd_hash_replace to update the entry in the hash table, rather | |
2305 | than assuming we can copy the fields with structure assignment. | |
2306 | ||
2307 | * hash.c (bfd_hash_replace): New function. | |
2308 | * bfd-in.h (bfd_hash_replace): Declare. | |
2309 | * bfd-in2.h: Rebuild. | |
2310 | ||
f14db880 JSC |
2311 | Fri Sep 1 08:12:50 1995 James G. Smith <jsmith@beauty.cygnus.com> |
2312 | ||
2313 | * config.bfd: Add mips*vr4300-*-elf* target. | |
2314 | * config/mipsbvr4300.mt: Added. | |
2315 | ||
1613e075 | 2316 | See file ChangeLog.2 |
e6d739eb | 2317 | |
41126f15 JK |
2318 | \f |
2319 | Local Variables: | |
2320 | mode: indented-text | |
2321 | left-margin: 8 | |
6ec3bb6a ILT |
2322 | fill-column: 74 |
2323 | version-control: never | |
2324 | End: |