2001-01-03 Kazu Hirata <kazu@hxi.com>
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
509945ae
KH
12001-01-03 Kazu Hirata <kazu@hxi.com>
2
3 * libbfd.c: Fix formatting.
4 * linker.c: Likewise.
5 * lynx-core.c: Likewise.
6
892339ee
KH
72001-01-02 Kazu Hirata <kazu@hxi.com>
8
9 * pc532-mach.c: Fix formatting.
10 * pe-arm.c: Likewise.
11 * pe-i386.c: Likewise.
12 * pe-mips.c: Likewise.
13 * pe-ppc.c: Likewise.
14 * pe-sh.c: Likewise.
15 * pei-mips.c: Likewise.
16 * pei-sh.c: Likewise.
ee91ed79 17 * peicode.h: Likewise.
892339ee
KH
18 * ppcboot.c: Likewise.
19 * ptrace-core.c: Likewise.
20
3d855632
KH
212001-01-01 Kazu Hirata <kazu@hxi.com>
22
23 * reloc.c: Fix formatting.
24 * riscix.c: Likewise.
25 * rs6000-core.c: Likewise.
26 * xcoff-target.h: Likewise.
27
a77a9fef
HPN
282000-12-29 Hans-Peter Nilsson <hp@bitrange.com>
29
30 * elfcode.h (elf_object_p): Also restore the bfd mach field on
31 error, by calling bfd_default_set_arch_mach with incoming
32 values.
33
558e161f
KH
342000-12-26 Kazu Hirata <kazu@hxi.com>
35
36 * vaxnetbsd.c: Fix formatting.
37 * versados.c: Likewise.
38 * vms-gsd.c: Likewise.
39 * vms-hdr.c: Likewise.
40 * vms-misc.c: Likewise.
41
3c579812
AO
422000-12-25 Alexandre Oliva <aoliva@redhat.com>
43
44 * archive.c (coff_write_armap): Don't write more than symbol_count
45 `archive_member_file_ptr's.
46
672579e9
KH
472000-12-25 Kazu Hirata <kazu@hxi.com>
48
49 * vms-tir.c: Fix formatting.
50
55f2d5ed
KH
512000-12-23 Kazu Hirata <kazu@hxi.com>
52
53 * vms.c: Fix formatting.
54 * vms.h: Likewise.
55
23ccc829
NC
562000-12-21 Santeri Paavolainen <santtu@ssh.com>
57
58 * vms-hdr.c: Include alloca.h if HAVE_ALLOCA_H is defined.
59
60 * peicode.h (pe_ILF_object_p): Add const to import of TARGET_LITTLE_SYM.
61
62 * elf32-m32r.c (m32r_elf_generic_reloc): Add cast to avoid (void *)
63 arithmetic.
64
65 * elf32-fr30.c: Add casts to avoid (void *) arithmetic.
66
67 * coffcode.h (styp_to_sec_flags): Add empty statement after label.
68
8c603c85
NC
692000-12-21 Richard Sandiford <rsandifo@redhat.com>
70
71 * libbfd.c (bfd_get_bits): Added
72 (bfd_put_bits): Likewise
73 * bfd-in.h: Declared the above.
74 * bfd-in2.h: Regenerated.
75
5bff4f56
KH
762000-12-20 Kazu Hirata <kazu@hxi.com>
77
78 * targets.c: Fix formatting.
79 * tekhex.c: Likewise.
80 * trad-core.c: Likewise.
81
7b82c249
KH
822000-12-19 Kazu Hirata <kazu@hxi.com>
83
84 * sco5-core.c: Fix formatting.
85 * section.c: Likewise.
86 * sparclinux.c: Likewise.
87 * sparclynx.c: Likewise.
88 * sparcnetbsd.c: Likewise.
89 * srec.c: Likewise.
90 * stabs.c: Likewise.
91 * stab-syms.c: Likewise.
92 * sunos.c: Likewise.
93 * syms.c: Likewise.
94 * sysdep.h: Likewise.
95
f78c5281
NC
962000-12-18 Nick Clifton <nickc@redhat.com>
97
98 * coff-arm.c (EXTRA_S_FLAGS): Only define if not already
99 defined.
100 * epoc-pe-arm.c (EXTRA_S_FLAGS): Define.
101 * epoc-pei-arm.c (EXTRA_S_FLAGS): Define.
102
02b89dce
NC
1032000-12-18 Nick Clifton <nickc@redhat.com>
104
105 * vms-misc.c (_bfd_vms_get_record): Add default case to
106 file_format switch.
107
d20966a7
NC
1082000-12-15 Miloslav Trmac <mitr@volny.cz>
109
110 * elfcore.h (elf_core_file_p): Move to the start of the program
111 headers before attempting to read them.
112
6fa957a9
KH
1132000-12-14 Kazu Hirata <kazu@hxi.com>
114
115 * peigen.c: Fix formatting.
116 * som.c: Likewise.
117 * som.h: Likewise.
118
9602af51
KH
1192000-12-13 Kazu Hirata <kazu@hxi.com>
120
121 * peigen.c: Fix formatting.
122
514829c3
JW
1232000-12-12 Jim Wilson <wilson@redhat.com>
124
125 * elfxx-ia64.c (get_dyn_sym_info): Cast %p argument to void *.
126
3a71aec8
NC
1272000-12-08 Mark Salter <msalter@redhat.com>
128
129 * binary.c (binary_set_section_contents): Ignore sections
130 with zero size.
131
1518639e
KH
1322000-12-12 Kazu Hirata <kazu@hxi.com>
133
134 * m68klinux.c: Fix formatting.
135 * m68knetbsd.c: Likewise.
136 * mipsbsd.c: Likewise.
137 * netbsd-core.c: Likewise.
138 * netbsd.h: Likewise.
139 * newsos3.c: Likewise.
140 * nlm32-alpha.c: Likewise.
141 * nlm32-i386.c: Likewise.
142 * nlm32-ppc.c: Likewise.
143 * nlm32-sparc.c: Likewise.
144 * nlmcode.h: Likewise.
145 * nlmswap.h: Likewise.
146 * nlm-target.h: Likewise.
147 * ns32knetbsd.c: Likewise.
148
b79e8c78
NC
1492000-12-10 Fred Fish <fnf@be.com>
150
151 * elflink.h (elf_link_output_extsym): Don't complain about undefined
152 symbols in shared objects if allow_shlib_undefined is true.
153
38b1a46c
NC
1542000-12-12 Nick Clifton <nickc@redhat.com>
155
156 * cpu-sh.c: Fix formattng.
157 * elf.c: Fix formattng.
158 * elf32-mips.c: Fix formattng.
159 * elf32-sh.c: Fix formattng.
160 * elf64-alpha.c: Fix formattng.
161
857ec808
NC
1622000-12-09 Nick Clifton <nickc@redhat.com>
163
164 * elf32-mips.c (_bfd_mips_elf_find_nearest_line): Pass
165 dwarf2_find_line_info as last parameter to invocation of
166 _bfd_dwarf2_find_nearest_line.
167 * elf32-arm.h (elf32_arm_find_nearest_line): Pass
168 dwarf2_find_line_info as last parameter to invocation of
169 _bfd_dwarf2_find_nearest_line.
170
51db3708
NC
1712000-12-08 Mark Elbrecht <snowball3@bigfoot.com>
172
173 * Makefile.am (BFD32_BACKENDS): Move dwarf2.lo from here...
857ec808
NC
174 (BFD_LIBS): ...to here.
175 (BFD32_BACKENDS_CFILES): Move dwarf2.c from here...
176 (BFD_LIBS_CFILES): ...to here.
51db3708
NC
177 * Makefile.in: Regenerate.
178 * configure.in: Remove dwarf.lo from the elf shell variable.
179 * configure: Regenerate.
180 * libcoff-in.h (coff_tdata): Add pointer dwarf2_find_line_info.
181 * libcoff.h: Regenerate.
182 * coffgen.c (coff_find_nearest_line): Call
857ec808 183 _bfd_dwarf2_find_nearest_line.
51db3708 184 * dwarf2.c (_bfd_dwarf2_find_nearest_line): Add parameter. Update
857ec808
NC
185 accordingly.
186 (read_abbrevs): Likewise
187 (decode_line_info): Likewise.
188 (parse_comp_unit): Likewise.
189 (comp_unit_find_nearest_line): Likewise.
51db3708
NC
190 * libbfd-in.h (_bfd_dwarf2_find_nearest_line): Update prototype.
191 * libbfd.h: Regenerate.
192 * elf.c (_bfd_elf_find_nearest_line): Update call.
193 * elf-bfd.h (elf_obj_tdata): Change dwarf2_find_line_info to type PTR.
194 * dwarf2.c (concat_filename): Use IS_ABSOLUTE_PATH.
195 * coffcode.h (STYP_XCOFF_DEBUG, STYP_DEBUG_INFO): New macros.
857ec808
NC
196 (sec_to_styp_flags): Use them. Handle DWARF2 sections.
197 (styp_to_sec_flags): Handle DWARF2 sections.
198 * elf32-arm.h (elf32_arm_find_nearest_line): Add parameter to call
199 to _bfd_find_nearest_line.
200 * elf32-mips.c (_bfd_mips_elf_find_nearest_line): Add parameter to
201 call to _bfd_find_nearest_line.
202
435b1e90
KH
2032000-12-08 Kazu Hirata <kazu@hxi.com>
204
205 * coffgen.c: Fix formatting.
fe8bc63d 206 * elf-m10300.c: Likewise.
435b1e90
KH
207 * elf32-i386.c: Likewise.
208 * elf32-i960.c: Likewise.
209 * elf32-m68k.c: Likewise.
210 * elf32-mcore.c: Likewise.
211 * elf32-ppc.c: Likewise.
212 * elf32-sh.c: Likewise.
213 * elf32-sparc.c: Likewise.
214 * elf32-v850.c: Likewise.
fe8bc63d
KH
215 * elf64-alpha.c: Likewise.
216 * elf64-hppa.c: Likewise.
217 * elf64-mips.c: Likewise.
435b1e90 218 * elf64-sparc.c: Likewise.
435b1e90 219
8da6118f
KH
2202000-12-07 Kazu Hirata <kazu@hxi.com>
221
222 * elf32-ppc.c: Fix formatting.
223 * elf64-x86-64.c: Likewise.
224
a9922e52
UC
2252000-12-06 Ulf Carlsson <ulfc@engr.sgi.com>
226
227 From Ralf Baechle <ralf@gnu.org>
228
229 * elf32-mips.c (elf32_mips_merge_private_bfd_data): Always permit
230 BFDs containing no sections or empty .text, .data or .bss sections
231 to be merged, regardless of their flags.
232
c3668558
KH
2332000-12-06 Kazu Hirata <kazu@hxi.com>
234
235 * elf32-m32r.c: Fix formatting.
236 * elf32-m68hc11.c: Likewise.
237 * elf32-m68hc12.c: Likewise.
238 * elf32-m68k.c: Likewise.
239 * elf32-mcore.c: Likewise.
240 * elf32-pj.c: Likewise.
241 * elf32-ppc.c: Likewise.
242
6609fa74
KH
2432000-12-05 Kazu Hirata <kazu@hxi.com>
244
245 * elf32-fr30.c: Fix formatting.
246 * elf32-hppa.c: Likewise.
247 * elf32-i370.c: Likewise.
248 * elf32-i386.c: Likewise.
249 * elf32-i860.c: Likewise.
250 * elf32-i960.c: Likewise.
251
a7c10850
KH
2522000-12-03 Kazu Hirata <kazu@hxi.com>
253
254 * elf32-arm.h: Fix formatting.
255 * elf32-avr.c: Likewise.
256 * elf32-cris.c: Likewise.
257 * elf32-d10v.c: Likewise.
258 * elf32-d30v.c: Likewise.
259 * elf-hppa.h: Likewise.
260 * elf-m10200.c: Likewise.
261 * elf-m10300.c: Likewise.
262
e7af610e
NC
2632000-12-01 Chris Demetriou <cgd@sibyte.com>
264
265 * aoutx.h (NAME(aout,machine_type)): Add bfd_mach_mips32 and
266 bfd_mach_mips32_4k. Update FIXME comment.
267 * archures.c (bfd_mach_mips32): New constant.
268 (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to
269 the latter, renumber it.
270 * bfd-in2.h (bfd_mach_mips32): New constant.
271 (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to
272 the latter, renumber it.
273 * cpu-mips.c (I_mips32): New constant.
274 (I_mips4K, I_mips32_4k): Rename the former to the latter.
275 (arch_info_struct): Add bfd_mach_mips32 entry, replace
276 bfd_mach_mips4K entry with bfd_mach_mips32_4k entry.
277 * elf32-mips.c (elf_mips_isa): Add E_MIPS_ARCH_32 case.
278 (elf_mips_mach): Likewise. Also, replace E_MIPS_MACH_MIPS32
279 with E_MIPS_MACH_MIPS32_4K.
280 (_bfd_mips_elf_final_write_processing): Replace
281 bfd_mach_mips4K with bfd_mach_mips32_4k case, add
282 bfd_mach_mips32 case.
283 (_bfd_mips_elf_merge_private_bfd_data): Generalize ISA mixing
284 comparison with support for MIPS32.
285 (_bfd_mips_elf_print_private_bfd_data): Print ISA name for
286 MIPS32.
287
84ea6cf2
NC
288 * aoutx.h (NAME(aout,machine_type)): Add cases for
289 bfd_mach_mips5 and bfd_mach_mips64.
290 * archures.c (bfd_mach_mips5, bfd_mach_mips64): New constants.
291 * bfd-in2.h (bfd_mach_mips5, bfd_mach_mips64): Likewise.
292 * cpu_mips.c (I_mips5, I_mips64): New definitions.
293 (arch_info_struct): Add entries for bfd_mach_mips5 and
294 bfd_mach_mips64.
295 * elf32-mips.c (elf_mips_isa, elf_mips_mach,
296 _bfd_mips_elf_print_private_bfd_data): Add cases for
297 E_MIPS_ARCH_5 and E_MIPS_ARCH_64.
298 (_bfd_mips_elf_final_write_processing): Add cases for
299 bfd_mach_mips5 and bfd_mach_mips64.
300
c6c98b38
NC
301 * bfd/aoutx.h (NAME(aout,machine_type)): Add a
302 bfd_mach_mips_sb1 case.
303 * bfd/archures.c (bfd_mach_mips_sb1): New constant.
304 * bfd/bfd-in2.h (bfd_mach_mips_sb1): New constant.
305 * bfd/cpu-mips.c (I_sb1): New constant.
306 (arch_info_struct): Add entry for bfd_mach_mips_sb1.
307 * bfd/elf32-mips.c (elf_mips_mach): Add case for
308 E_MIPS_MACH_SB1.
309 (_bfd_mips_elf_final_write_processing): Add case for
310 bfd_mach_mips_sb1.
311
ddcfc5fc
NC
3122000-12-01 Joel Sherrill <joel@OARcorp.com>
313
314 * config.bfd (arm-*-rtems*, a29k-*rtems*): New targets.
315 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
316 (sparc*-*-rtems*): Switched from a.out to ELF.
317
8d88c4ca
NC
3182000-11-30 Jan Hubicka <jh@suse.cz>
319
320 * Makefile.am (BFD64_BACKENDS): Add elf64-x86-64.lo
321 BFD64_BACKENDS_CFILES): Add elf64-x86-64.c
322 (elf64-x86-64.lo): Add dependencies.
323 * archures.c (DESCRIPTION): Add bfd_mach_x86_64,
324 bfd_mach_x86_64_intel_syntax.
325 * elf.c (prep_headers): Use EM_x86_64 for 64bit output.
326 * config.bfd (x86_64): Add.
327 * configure.in: Add support for bfd_elf64_x86_64_vec.
328 * cpu-i386.c (bfd_x86_64_arch_intel_syntax, bfd_x86_64_arch): Add.
329 (bfd_i386_arch, i8086_ar): Link in.
330 * elf64-x86-64.c: New file.
331 * reloc.c (ENUMDOC): Add BFD_RELOC_X86_64*.
332 * targets.c (bfd_elf64_x86_64_vec): Add.
333 (bfd_target_vect): Add bfd_elf64_x86_64_vec.
334
fbc4fff4
KH
3352000-11-30 Kazu Hirata <kazu@hxi.com>
336
337 * xcofflink.c: Fix formatting.
338
e60b52c6
KH
3392000-11-28 Kazu Hirata <kazu@hxi.com>
340
341 * aoutx.h: Fix formatting.
342 * bfd-in.h: Likewise.
343 * bfd-in2.h: Likewise.
344 * cache.c: Likewise.
345 * cisco-core.c: Likewise.
346 * coff64-rs6000.c: Likewise.
347 * coffcode.h: Likewise.
348 * coffswap.h: Likewise.
349 * corefile.c: Likewise.
be3ccd9c 350 * elf32-mips.c: Likewise.
e60b52c6 351
336eced2
KH
3522000-11-27 Kazu Hirata <kazu@hxi.com>
353
354 * aout-adobe.c: Fix formatting.
244148ad
KH
355 * coff64-rs6000.c: Likewise.
356 * coffgen.c: Likewise.
357 * cofflink.c: Likewise.
336eced2 358
d71f672e
PB
3592000-11-27 Philip Blundell <pb@futuretv.com>
360
361 * libcoff-in.h (coff_tdata): Add `strings_written' flag.
362 (obj_coff_strings_written): New accessor macro for above.
363 * libcoff.h: Regenerate.
364 * cofflink.c (_bfd_coff_final_link): Say that we wrote the
365 strings.
366 * coffcode.h (coff_write_object_contents): No need to write out
367 the string table if it's already been done.
368
bc7a577d
PB
3692000-11-22 Philip Blundell <pb@futuretv.com>
370
371 * cofflink.c (_bfd_coff_generic_relocate_section): Don't object to
372 weak undefined symbols.
373
077b8428
NC
3742000-11-24 Nick Clifton <nickc@redhat.com>
375
376 * archures.c (bfd_mach_arm_5TE): Define.
377 (bfd_mach_arm+XScale): Define.
378 * bfd-in2.h: Regenerate.
379
380 * coff-arm.c (coff_arm_reloc_type_lookup): Accept
381 BFD_RELOC_ARM_PCREL_BLX.
382
383 * coffcode.h (coff_set_flags): Set flags for 5t, 5te and
384 XScale machine numbers.
385
386 * config.bfd (xscale-elf): Add target.
387 (xscale-coff): Add target.
388
389 * cpu-arm.c: Add xscale machine name.
390 Add v5t, v5te and XScale machine numbers.
391
e9e41bd9
KH
3922000-11-23 Kazu Hirata <kazu@hxi.com>
393
394 * aix386-core.c: Fix formatting.
395
64bf6ae6
JW
3962000-11-22 Jim Wilson <wilson@redhat.com>
397
398 * coff-ia64.c (howto_table): Use EMPTY_HOWTO.
399 (in_reloc_p): Add ATTRIBUTE_UNUSED to unused parameters.
400 * cpu-ia64-opc.c (ins_rsvd, ext_rsvd, ins_const, ext_const): Likewise.
401 (ins_imms_scaled): Initialize sign_bit at function entry.
402 (elf64_ia64_operands): Add missing initializers.
403 * elfxx-ia64.c (elfNN_ia64_reloc, elfNN_ia64_reloc_type_lookup,
404 elfNN_ia64_info_to_howto, elfNN_ia64_fake_sections,
405 elfNN_ia64_add_symbol_hook, elfNN_ia64_is_local_label_name,
406 elfNN_ia64_local_hash_table_init, get_fptr, get_pltoff,
407 elfNN_ia64_adjust_dynamic_symbol): Add ATTRIBUTE_UNUSED for unused
408 parameters.
409 (elfNN_ia64_info_to_howto): Initialize free_relocs, free_contents,
410 and free_extsyms at function entry.
411 (elfNN_add_symbol_hook): Add unsigned cast to bfd_get_gp_size result.
412 (elfNN_ia64_create_dynamic_sections): Delete unused local h.
413 (get_got): Delete unused local srel.
414 (elfNN_ia64_check_relocs): Initialize dynrel_type when declared.
415 (elfNN_ia64_relocate_section): Delete unused local dynindx.
416
1abaf976
KH
4172000-11-21 Kazu Hirata <kazu@hxi.com>
418
6e301b2b
KH
419 * coff-a29k.c: Fix formatting.
420 * coff-h8500.c: Likewise.
421 * coff-i960.c: Likewise.
422 * coff-ppc.c: Likewise.
423 * coff-rs6000.c: Likewise.
424 * coff-stgo32.c: Likewise.
425 * coff-tic54x.c: Likewise.
426 * coff-w65.c: Likewise.
427 * cpu-h8500.c: Likewise.
428 * cpu-hppa.c: Likewise.
429 * cpu-ns32k.c: Likewise.
430 * ecoff.c: Likewise.
1abaf976
KH
431 * ecofflink.c: Likewise.
432
a0fc8ba1
NC
4332000-11-21 Nick Clifton <nickc@redhat.com>
434
435 * elf32-sh.c (sh_elf_reloc_loop): Fix compile time warning, and
436 remove possibility of infinite loop.
437
beb0d161
KH
4382000-11-20 Kazu Hirata <kazu@hxi.com>
439
440 * aix386-core.c: Fix formatting.
441 * aout-adobe.c: Likewise.
442 * aout-arm.c: Likewise.
443 * aout-encap.c: Likewise.
444 * aout-ns32k.c: Likewise.
445 * aout-target.h: Likewise.
446 * aout-tic30.c: Likewise.
447 * aoutf1.h: Likewise.
448 * aoutx.h: Likewise.
449 * archive.c: Likewise.
eb6e10cb
KH
450 * bfd-in.h: Likewise.
451 * bfd-in2.h: Likewise.
452 * bfd.c: Likewise.
453 * bout.c: Likewise.
beb0d161 454
2c2475db
JW
4552000-11-17 H.J. Lu <hjl@gnu.org>
456
457 * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Don't create
458 pltoff entries for DT_INIT and DT_FINI.
459 (elfNN_ia64_final_link): Don't set DT_INIT/FINI entries.
460 (elfNN_ia64_finish_dynamic_sections): Don't fill in DT_INIT/FINI
461 entries.
462
18b27f17
RH
4632000-11-16 Richard Henderson <rth@redhat.com>
464
465 * elfxx-ia64.c (elfNN_ia64_check_relocs): Handle IPLT relocs.
466 (allocate_dynrel_entries): Likewise.
467 (elfNN_ia64_relocate_section): Likewise. Set REL addends correctly.
468 (set_pltoff_entry): Likewise.
469 (ia64_howto_table): Remove R_IA64_SEGBASE, and R_IA64_EPLT[ML]SB
470 (elfNN_ia64_reloc_type_lookup): Likewise.
471 (elfNN_ia64_install_value): Likewise.
472 (elfNN_ia64_relocate_section): Likewise.
473 * reloc.c (BFD_RELOC_IA64_SEGBASE): Remove.
474 (BFD_RELOC_IA64_EPLTMSB, BFD_RELOC_IA64_EPLTLSB): Remove.
475
98591c73
KH
4762000-11-16 Kazu Hirata <kazu@hxi.com>
477
71f6b586
KH
478 * cpu-a29k.c: Fix formatting.
479 * cpu-alpha.c: Likewise.
480 * cpu-arm.c: Likewise.
481 * cpu-avr.c: Likewise.
482 * cpu-d10v.c: Likewise.
483 * cpu-h8500.c: Likewise.
484 * cpu-hppa.c: Likewise.
485 * cpu-i370.c: Likewise.
486 * cpu-i386.c: Likewise.
487 * cpu-i960.c: Likewise.
488 * cpu-ia64-opc.c: Likewise.
489 * cpu-ia64.c: Likewise.
490 * cpu-m32r.c: Likewise.
491 * cpu-m68hc11.c: Likewise.
492 * cpu-m68hc12.c: Likewise.
493 * cpu-m68k.c: Likewise.
494 * cpu-m88k.c: Likewise.
495 * cpu-mips.c: Likewise.
496 * cpu-ns32k.c: Likewise.
497 * cpu-pj.c: Likewise.
498 * cpu-powerpc.c: Likewise.
499 * cpu-sh.c: Likewise.
500 * cpu-sparc.c: Likewise.
501 * cpu-tic54x.c: Likewise.
502 * cpu-v850.c: Likewise.
503 * cpu-vax.c: Likewise.
504 * cpu-w65.c: Likewise.
505 * cpu-we32k.c: Likewise.
506 * cpu-z8k.c: Likewise.
507 * dwarf1.c: Likewise.
98591c73
KH
508 * dwarf2.c: Likewise.
509
c5930ee6
KH
5102000-11-15 Kazu Hirata <kazu@hxi.com>
511
512 * coff-arm.c: Fix formatting.
513 * coff-ppc.c: Likewise.
514 * coff-rs6000.c: Likewise.
cbfe05c4
KH
515 * coff-sh.c: Likewise.
516 * coff-sparc.c: Likewise.
517 * coff-tic30.c: Likewise.
518 * coff-tic54x.c: Likewise.
519 * coff-tic80.c: Likewise.
520 * coff-w65.c: Likewise.
521 * coff-we32k.c: Likewise.
522 * coff-z8k.c: Likewise.
c5930ee6 523
dac544a8
RH
5242000-11-15 Richard Henderson <rth@redhat.com>
525
526 * elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc
527 section with the same ALLOC|LOAD flags as the source section.
528
c810873d
JJ
5292000-11-14 Jakub Jelinek <jakub@redhat.com>
530
531 * elf64-alpha.c (elf64_alpha_relax_opt_call): Only check bits used
532 by STO_ALPHA constants.
533
43646c9d
KH
5342000-11-14 Kazu Hirata <kazu@hxi.com>
535
536 * coff-pmac.c: Fix formatting.
537 * coff-ppc.c: Likewise.
538
051b8577
L
5392000-11-13 H.J. Lu <hjl@gnu.org>
540
541 * elflink.h (elf_link_add_object_symbols): Also add indirect
542 symbols for common symbols with the default version.
543
90460d97
PB
5442000-11-09 Philip Blundell <pb@futuretv.com>
545
546 * section.c (STD_SECTION): Set gc_mark flag.
547
b48499ec
KH
5482000-11-11 Kazu Hirata <kazu@hxi.com>
549
550 * coff-i960.c: Likewise.
551 * coff-m68k.c: Likewise.
552 * coff-m88k.c: Likewise.
553 * coff-mcore.c: Likewise.
554 * coff-mips.c: Likewise.
555
c5aeb40f
AO
5562000-11-11 Bernd Schmidt <bernds@cygnus.co.uk>
557
558 * elf32-sh.c (sh_elf_relocate_section): Ignore R_SH_NONE relocs.
559
5fcfd273
KH
5602000-11-10 Kazu Hirata <kazu@hxi.com>
561
562 * coff-h8300.c: Fix formatting.
563 * coff-h8500.c: Likewise.
564 * coff-i386.c: Likewise.
565 * coff-i860.c: Likewise.
566 * coff-i960.c: Likewise.
567 * coff-ia64.c: Likewise.
568
047066e1
KH
5692000-11-09 Kazu Hirata <kazu@hxi.com>
570
571 * archive.c: Fix formatting.
572 * archures.c: Likewise.
573
9a951beb
RH
5742000-11-07 Richard Henderson <rth@redhat.com>
575
576 * elfxx-ia64.c (elf64_ia64_final_link): New local unwind_output_sec.
577 Set it before bfd_elf64_bfd_final_link call. Use it after the call.
578 * section.c (bfd_set_section_contents): Call memcpy if
579 section->contents set and location not equal to contents plus offset.
580
aebad5fe
KH
5812000-11-08 Kazu Hirata <kazu@hxi.com>
582
8546af74
KH
583 * bfd-in.h: Fix formatting.
584 * bfd-in2.h: Likewise.
585 * bfd.c: Likewise.
aebad5fe
KH
586 * binary.c: Likewise.
587 * bout.c: Likewise.
346ceb11
KH
588 * coff-a29k.c: Likewise.
589 * coff-alpha.c: Likewise.
590 * coff-apollo.c: Likewise.
591 * coff-aux.c: Likewise.
aebad5fe 592
0ef5a5bd
KH
5932000-11-07 Kazu Hirata <kazu@hxi.com>
594
595 * aix386-core.c: Fix formatting.
596 * aoutf1.h: Likewise.
597 * aoutx.h: Likewise.
598 * archures.c: Likewise.
599 * armnetbsd.c: Likewise.
600
d562d2fb
AM
6012000-11-07 Alan Modra <alan@linuxcare.com.au>
602
603 * coff-h8300.c (special): Adjust reloc address.
604
bbe66d08
JW
6052000-11-06 Steve Ellcey <sje@cup.hp.com>
606
4efc3e05 607 * archures.c (bfd_mach_ia64_elf64, bfd_mach_ia64_elf32): Add defines
bbe66d08
JW
608 to differentiate elf32 and elf64 on ia64.
609 * bfd-in2.h: Regenerate.
610 * config.bfd: Add target for "ia64*-*-hpux*".
611 * configure.in: Add bfd_elf32_ia64_big_vec to selvecs switch.
612 * configure: Regenerate.
4efc3e05 613 * cpu-ia64.c (bfd_ia64_elf32_arch): Add elf32 arch info structure.
bbe66d08
JW
614 * targets.c: Add bfd_target bfd_elf32_ia64_big_vec.
615
616 * Makefile.am: Make elf32-ia64.c and elf64-ia64.c derived objects
617 from elfxx-ia64.c. Add depenency rules for making elf32-ia64.lo.
618 * Makefile.in: Regnerate.
4efc3e05 619 * elf64-ia64.c: Deleted.
bbe66d08
JW
620 * elfxx-ia64.c: New file, paramaterized version of elf64-ia64.c.
621
c4dfa77f
KH
6222000-11-06 Kazu Hirata <kazu@hxi.com>
623
624 * aout-adobe.c: Fix formatting.
625 * aout-arm.c: Likewise.
626 * aout-cris.c: Likewise.
627 * aout-encap.c: Likewise.
628 * aout-ns32k.c: Likewise.
629 * aout-target.h: Likewise.
630 * aout-tic30.c: Likewise.
631
cf919dfd
PB
6322000-11-05 Philip Blundell <philb@gnu.org>
633
634 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Always permit
635 BFDs containing no sections to be merged, regardless of their flags.
636
6372000-11-04 Philip Blundell <philb@gnu.org>
638
639 * elf32-arm.h (elf32_arm_relocate_section): Suppress error message
640 if a relocation for an undefined symbol also results in an
641 overflow.
642
8d88c4ca 6432000-11-06 Christopher Faylor <cgf@cygnus.com>
8848a8d0
CF
644
645 * config.bfd: Add support for Sun Chorus.
646
46d59bfa
DB
6472000-11-05 David O'Brien <obrien@FreeBSD.org>
648
649 * configure.in: Recognize alpha-*-freebsd*.
650 * configure: Regenerate.
651
420496c1
NC
6522000-11-02 Luciano Gemme <ishitawa@yahoo.com>
653
654 * srec.c (CHUNK): Rename to DEFAULT_CHUNK.
655 (Chunk): New global variable set by a parameter in objcopy.c.
656 (S3Forced): New global variable set by a parameter in
657 objcopy.c.
658 (srec_set_section_contents): If S3Forced is true, always generate
659 S3 records.
660 (srec_write_section): Use 'Chunk' to limit maximum length of S
661 records.
662
59ff2774
NC
6632000-11-02 Per Lundberg <plundis@chaosdev.org>
664
665 * config.bfd: Add support for i[3456]86-chaosdev-storm-chaos.
666 * Makefile.in: Regenerate.
667 * bfd-in2.h: Regenerate.
668 * po/bfd.pot: Regenerate.
669
ee43f35e
PB
6702000-10-31 Philip Blundell <philb@gnu.org>
671
672 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Only handle
673 EF_SOFT_FLOAT if it is defined.
674
1006ba19
PB
6752000-10-27 Philip Blundell <philb@gnu.org>
676
677 * elf32-arm.h (elf32_arm_copy_private_bfd_data): Don't refuse
678 attempts to mix PIC code with non-PIC, just mark the output as
679 being position dependent.
680 (elf32_arm_merge_private_bfd_data): Likewise. Print an error
681 message for EF_SOFT_FLOAT mismatches. Display diagnostics for
682 all mismatches, not just the first one.
683
c4920b97
NC
6842000-10-25 Chris Demetriou <cgd@sibyte.com>
685
686 * ieee.c (ieee_archive_p): Plug one of many possible
687 memory leaks in error handling.
688
19f7b010
JJ
6892000-10-20 Jakub Jelinek <jakub@redhat.com>
690
691 * elf32-sparc.c (elf32_sparc_merge_private_bfd_data,
692 elf32_sparc_object_p, elf32_sparc_final_write_processing):
693 Support v8plusb.
694 * elf64-sparc.c (sparc64_elf_merge_private_bfd_data,
695 sparc64_elf_object_p): Support v9b.
696 * archures.c: Declare v8plusb and v9b machines.
697 * bfd-in2.h: Ditto.
698 * cpu-sparc.c: Ditto.
699
e1e0340b
GK
7002000-10-16 Geoffrey Keating <geoffk@shoggoth.cygnus.com>
701
ea5fbc67
GK
702 * elf64-sparc.c (sparc64_elf_relocate_section): Clear the location
703 of a GOT reloc.
704
e1e0340b
GK
705 * elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): New macro.
706 (SYMBOL_CALLS_LOCAL): New macro.
707 (ppc_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.
708 (ppc_elf_check_relocs): Use SYMBOL_REFERENCES_LOCAL.
709 (ppc_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL.
710 (ppc_elf_relocate_section): Use flag variable to determine
711 whether the relocation refers to a local symbol.
712 Test whether a PLTREL24 reloc will produce a reloc by looking
713 to see whether a PLT entry was made.
714
a4b120e1
GK
7152000-10-14 Geoffrey Keating <geoffk@shoggoth.cygnus.com>
716
717 * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make PLT
718 entries that could serve as a definition for a weak symbol.
719
5af5b85b
UC
7202000-10-13 Ulf Carlsson <ulfc@engr.sgi.com>
721
722 From Ralf Baechle <ralf@gnu.org>
723
724 * elf32-mips.c (mips_elf_create_dynamic_relocation): New argument
725 local_p. Add symbol value only for non-R_MIPS_REL32 relocations
726 against local symbols.
727 (_bfd_mips_elf_finish_dynamic_sections): Undo patch from 2000-10-01.
728
3ef20aaa
AM
7292000-10-12 Alan Modra <alan@linuxcare.com.au>
730
24376d1b
AM
731 * section.c (struct sec): Add kept_section.
732 (struct bfd_comdat_info): Remove sec, we can use above.
733 (STD_SECTION): Add initializer.
734 (bfd_make_section_anyway): Init here too.
735
736 * bfd-in2.h: Regenerate.
737
738 * elflink.h (elf_link_add_object_symbols): Remove unnecessary
739 zeroing of `flags'.
740 (elf_link_input_bfd): Set all asection->symbol->value's here, and
741 fudge values for discarded link-once section symbols.
742
3ef20aaa
AM
743 * elf64-hppa.c: Include alloca-conf.h
744
c0e219cc
AM
7452000-10-11 Alan Modra <alan@linuxcare.com.au>
746
d01e2a23
AM
747 * elf.c (swap_out_syms): Revert 2000-10-07 changes.
748
c0e219cc
AM
749 * ieee.c (ieee_make_empty_symbol): Oops, bfd_zalloc needs another arg.
750
fe268b66
AM
7512000-10-10 Alan Modra <alan@linuxcare.com.au>
752
753 * ieee.c (ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc.
754
4d7ce4dd
AM
7552000-10-10 Tom Rix <trix@redhat.com>
756
757 * section.c (bfd_make_section_anyway): Release newsect ptr when
758 newsect->symbol fails to alloc. Use bfd_release instead of free.
759
f3b6f7c3
RH
7602000-10-09 Richard Henderson <rth@cygnus.com
761
762 * elf64-ia64.c (elf64_ia64_unwind_entry_compare_bfd): New.
763 (elf64_ia64_unwind_entry_compare): New.
764 (elf64_ia64_final_link): Sort the .IA_64.unwind section.
765
44852b19
AM
7662000-10-07 Alan Modra <alan@linuxcare.com.au>
767
fc8c40a0
AM
768 * elflink.h (size_dynamic_sections): Don't create various tags if
769 .dynstr is excluded from the link. Don't set first dynsym entry
770 if dynsymcount is zero.
771 (elf_bfd_final_link): Don't try to swap out dynamic syms if
772 .dynsym excluded from the link. Don't try to write any dynamic
773 sections excluded from the link.
774
44852b19
AM
775 * elf.c (swap_out_syms): Handle global section symbols.
776
3e4554a2
DD
7772000-10-05 DJ Delorie <dj@redhat.com>
778
779 * peigen.c (_bfd_pei_swap_scnhdr_out): note extended relocs
780 * coffcode.h (coff_set_alignment_hook): read extended reloc count
781 (coff_write_relocs): write extended reloc count
782 (coff_write_object_contents): account for extended relocs
783
fa152c49
JW
7842000-10-05 Jim Wilson <wilson@cygnus.com>
785
786 * elf-bfd.h (struct elf_backend_data): Add elf_backend_section_flags
787 field.
788 * elf.c (_bfd_elf_make_section_from_shdr): Call the
789 elf_backend_section_flags function.
790 * elf64-ia64.c (elf64_ia64_section_from_shdr): Delete flag conversion
791 code.
792 (elf64_ia64_section_flags): New function containing flag conversion
793 code.
794 (elf_backend_section_flags): Define to elf64_ia64_section_flags.
795 * elfxx-target.h (elf_backend_section_flags): Define.
796 (elfNN_bed): Initialize elf_backend_section_flags field.
797
36605136
AM
7982000-10-02 Alan Modra <alan@linuxcare.com.au>
799
800 * elf32-hppa.c (elf32_hppa_check_relocs): Correct call to
801 _bfd_elf32_gc_record_vtable. Correct a comment.
802
4b6609a0
UC
8032000-10-01 Ulf Carlsson <ulfc@engr.sgi.com>
804
805 From Ralf Baechle <ralf@gnu.org>
806
807 * elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Mark gld
808 produces binaries with got[1] = 0x80000001 to differenciate them
809 for the dynamic linker from the broken binaries produced by old
810 versions.
36605136 811
f572a39d
AM
8122000-09-30 Petr Sorfa <petrs@sco.com>
813
814 * elf.c (elfcore_grok_pstatus): Check for size of pxstatus_t.
815 (elfcore_grok_lwpstatus): Check for size of lwpxstatus_t.
816 * configure.in: Add check for pxstatus_t and lwpxstatus_t.
817 * configure: Regenerate.
818
4da81684
HPN
8192000-09-27 Hans-Peter Nilsson <hp@axis.com>
820
821 Define two bfd_targets for absence and presence of leading
822 underscore on symbols. Make sure to only link same kind.
823 * elf32-cris.c (cris_elf_object_p,
824 cris_elf_final_write_processing, cris_elf_print_private_bfd_data,
825 cris_elf_merge_private_bfd_data): New.
826 (elf_backend_object_p, elf_backend_final_write_processing,
827 bfd_elf32_bfd_print_private_bfd_data,
828 bfd_elf32_bfd_merge_private_bfd_data): Define.
829 <Target vector definition>: Include elf32-target.h twice with
830 different macro settings:
831 (TARGET_LITTLE_SYM): First as bfd_elf32_cris_vec, then as
832 bfd_elf32_us_cris_vec.
833 (TARGET_LITTLE_NAME): First as "elf32-cris", then "elf32-us-cris".
834 (elf_symbol_leading_char): First as 0, then '_'.
835 (INCLUDED_TARGET_FILE): Define for second include of elf32-target.h.
836 * config.bfd (cris-*-*): Add bfd_elf32_us_cris_vec to targ_selvecs.
837 * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vector.
838 * configure: Regenerate.
839 * targets.c: Declare bfd_elf32_us_cris_vec.
840 * po/bfd.pot: Regenerate.
841
9a5aca8c
AM
8422000-09-29 Momchil Velikov <velco@fadata.bg>
843
844 * elf32-arm.h (arm_add_to_rel): Correctly adjust the addend for
845 R_ARM_THM_PC22 relocations.
846
512a2384
AM
8472000-09-29 NIIBE Yutaka <gniibe@chroot.org>
848
849 * elflink.h (elf_link_add_object_symbols): Don't bfd_release runpath.
850
6c99a5c3
AM
8512000-09-29 Momchil Velikov <velco@fadata.bg>
852
853 * elf.c (elf_fake_sections): Do not mark the section SHT_NOBITS if
854 is has the SEC_HAS_CONTENTS flag set.
855