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