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