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