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