Eliminate ia64 compiler warnings. Fix ia64 gas testsuite again.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
514829c3
JW
12000-12-12 Jim Wilson <wilson@redhat.com>
2
3 * elfxx-ia64.c (get_dyn_sym_info): Cast %p argument to void *.
4
3a71aec8
NC
52000-12-08 Mark Salter <msalter@redhat.com>
6
7 * binary.c (binary_set_section_contents): Ignore sections
8 with zero size.
9
1518639e
KH
102000-12-12 Kazu Hirata <kazu@hxi.com>
11
12 * m68klinux.c: Fix formatting.
13 * m68knetbsd.c: Likewise.
14 * mipsbsd.c: Likewise.
15 * netbsd-core.c: Likewise.
16 * netbsd.h: Likewise.
17 * newsos3.c: Likewise.
18 * nlm32-alpha.c: Likewise.
19 * nlm32-i386.c: Likewise.
20 * nlm32-ppc.c: Likewise.
21 * nlm32-sparc.c: Likewise.
22 * nlmcode.h: Likewise.
23 * nlmswap.h: Likewise.
24 * nlm-target.h: Likewise.
25 * ns32knetbsd.c: Likewise.
26
b79e8c78
NC
272000-12-10 Fred Fish <fnf@be.com>
28
29 * elflink.h (elf_link_output_extsym): Don't complain about undefined
30 symbols in shared objects if allow_shlib_undefined is true.
31
38b1a46c
NC
322000-12-12 Nick Clifton <nickc@redhat.com>
33
34 * cpu-sh.c: Fix formattng.
35 * elf.c: Fix formattng.
36 * elf32-mips.c: Fix formattng.
37 * elf32-sh.c: Fix formattng.
38 * elf64-alpha.c: Fix formattng.
39
857ec808
NC
402000-12-09 Nick Clifton <nickc@redhat.com>
41
42 * elf32-mips.c (_bfd_mips_elf_find_nearest_line): Pass
43 dwarf2_find_line_info as last parameter to invocation of
44 _bfd_dwarf2_find_nearest_line.
45 * elf32-arm.h (elf32_arm_find_nearest_line): Pass
46 dwarf2_find_line_info as last parameter to invocation of
47 _bfd_dwarf2_find_nearest_line.
48
51db3708
NC
492000-12-08 Mark Elbrecht <snowball3@bigfoot.com>
50
51 * Makefile.am (BFD32_BACKENDS): Move dwarf2.lo from here...
857ec808
NC
52 (BFD_LIBS): ...to here.
53 (BFD32_BACKENDS_CFILES): Move dwarf2.c from here...
54 (BFD_LIBS_CFILES): ...to here.
51db3708
NC
55 * Makefile.in: Regenerate.
56 * configure.in: Remove dwarf.lo from the elf shell variable.
57 * configure: Regenerate.
58 * libcoff-in.h (coff_tdata): Add pointer dwarf2_find_line_info.
59 * libcoff.h: Regenerate.
60 * coffgen.c (coff_find_nearest_line): Call
857ec808 61 _bfd_dwarf2_find_nearest_line.
51db3708 62 * dwarf2.c (_bfd_dwarf2_find_nearest_line): Add parameter. Update
857ec808
NC
63 accordingly.
64 (read_abbrevs): Likewise
65 (decode_line_info): Likewise.
66 (parse_comp_unit): Likewise.
67 (comp_unit_find_nearest_line): Likewise.
51db3708
NC
68 * libbfd-in.h (_bfd_dwarf2_find_nearest_line): Update prototype.
69 * libbfd.h: Regenerate.
70 * elf.c (_bfd_elf_find_nearest_line): Update call.
71 * elf-bfd.h (elf_obj_tdata): Change dwarf2_find_line_info to type PTR.
72 * dwarf2.c (concat_filename): Use IS_ABSOLUTE_PATH.
73 * coffcode.h (STYP_XCOFF_DEBUG, STYP_DEBUG_INFO): New macros.
857ec808
NC
74 (sec_to_styp_flags): Use them. Handle DWARF2 sections.
75 (styp_to_sec_flags): Handle DWARF2 sections.
76 * elf32-arm.h (elf32_arm_find_nearest_line): Add parameter to call
77 to _bfd_find_nearest_line.
78 * elf32-mips.c (_bfd_mips_elf_find_nearest_line): Add parameter to
79 call to _bfd_find_nearest_line.
80
435b1e90
KH
812000-12-08 Kazu Hirata <kazu@hxi.com>
82
83 * coffgen.c: Fix formatting.
fe8bc63d 84 * elf-m10300.c: Likewise.
435b1e90
KH
85 * elf32-i386.c: Likewise.
86 * elf32-i960.c: Likewise.
87 * elf32-m68k.c: Likewise.
88 * elf32-mcore.c: Likewise.
89 * elf32-ppc.c: Likewise.
90 * elf32-sh.c: Likewise.
91 * elf32-sparc.c: Likewise.
92 * elf32-v850.c: Likewise.
fe8bc63d
KH
93 * elf64-alpha.c: Likewise.
94 * elf64-hppa.c: Likewise.
95 * elf64-mips.c: Likewise.
435b1e90 96 * elf64-sparc.c: Likewise.
435b1e90 97
8da6118f
KH
982000-12-07 Kazu Hirata <kazu@hxi.com>
99
100 * elf32-ppc.c: Fix formatting.
101 * elf64-x86-64.c: Likewise.
102
a9922e52
UC
1032000-12-06 Ulf Carlsson <ulfc@engr.sgi.com>
104
105 From Ralf Baechle <ralf@gnu.org>
106
107 * elf32-mips.c (elf32_mips_merge_private_bfd_data): Always permit
108 BFDs containing no sections or empty .text, .data or .bss sections
109 to be merged, regardless of their flags.
110
c3668558
KH
1112000-12-06 Kazu Hirata <kazu@hxi.com>
112
113 * elf32-m32r.c: Fix formatting.
114 * elf32-m68hc11.c: Likewise.
115 * elf32-m68hc12.c: Likewise.
116 * elf32-m68k.c: Likewise.
117 * elf32-mcore.c: Likewise.
118 * elf32-pj.c: Likewise.
119 * elf32-ppc.c: Likewise.
120
6609fa74
KH
1212000-12-05 Kazu Hirata <kazu@hxi.com>
122
123 * elf32-fr30.c: Fix formatting.
124 * elf32-hppa.c: Likewise.
125 * elf32-i370.c: Likewise.
126 * elf32-i386.c: Likewise.
127 * elf32-i860.c: Likewise.
128 * elf32-i960.c: Likewise.
129
a7c10850
KH
1302000-12-03 Kazu Hirata <kazu@hxi.com>
131
132 * elf32-arm.h: Fix formatting.
133 * elf32-avr.c: Likewise.
134 * elf32-cris.c: Likewise.
135 * elf32-d10v.c: Likewise.
136 * elf32-d30v.c: Likewise.
137 * elf-hppa.h: Likewise.
138 * elf-m10200.c: Likewise.
139 * elf-m10300.c: Likewise.
140
e7af610e
NC
1412000-12-01 Chris Demetriou <cgd@sibyte.com>
142
143 * aoutx.h (NAME(aout,machine_type)): Add bfd_mach_mips32 and
144 bfd_mach_mips32_4k. Update FIXME comment.
145 * archures.c (bfd_mach_mips32): New constant.
146 (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to
147 the latter, renumber it.
148 * bfd-in2.h (bfd_mach_mips32): New constant.
149 (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to
150 the latter, renumber it.
151 * cpu-mips.c (I_mips32): New constant.
152 (I_mips4K, I_mips32_4k): Rename the former to the latter.
153 (arch_info_struct): Add bfd_mach_mips32 entry, replace
154 bfd_mach_mips4K entry with bfd_mach_mips32_4k entry.
155 * elf32-mips.c (elf_mips_isa): Add E_MIPS_ARCH_32 case.
156 (elf_mips_mach): Likewise. Also, replace E_MIPS_MACH_MIPS32
157 with E_MIPS_MACH_MIPS32_4K.
158 (_bfd_mips_elf_final_write_processing): Replace
159 bfd_mach_mips4K with bfd_mach_mips32_4k case, add
160 bfd_mach_mips32 case.
161 (_bfd_mips_elf_merge_private_bfd_data): Generalize ISA mixing
162 comparison with support for MIPS32.
163 (_bfd_mips_elf_print_private_bfd_data): Print ISA name for
164 MIPS32.
165
84ea6cf2
NC
166 * aoutx.h (NAME(aout,machine_type)): Add cases for
167 bfd_mach_mips5 and bfd_mach_mips64.
168 * archures.c (bfd_mach_mips5, bfd_mach_mips64): New constants.
169 * bfd-in2.h (bfd_mach_mips5, bfd_mach_mips64): Likewise.
170 * cpu_mips.c (I_mips5, I_mips64): New definitions.
171 (arch_info_struct): Add entries for bfd_mach_mips5 and
172 bfd_mach_mips64.
173 * elf32-mips.c (elf_mips_isa, elf_mips_mach,
174 _bfd_mips_elf_print_private_bfd_data): Add cases for
175 E_MIPS_ARCH_5 and E_MIPS_ARCH_64.
176 (_bfd_mips_elf_final_write_processing): Add cases for
177 bfd_mach_mips5 and bfd_mach_mips64.
178
c6c98b38
NC
179 * bfd/aoutx.h (NAME(aout,machine_type)): Add a
180 bfd_mach_mips_sb1 case.
181 * bfd/archures.c (bfd_mach_mips_sb1): New constant.
182 * bfd/bfd-in2.h (bfd_mach_mips_sb1): New constant.
183 * bfd/cpu-mips.c (I_sb1): New constant.
184 (arch_info_struct): Add entry for bfd_mach_mips_sb1.
185 * bfd/elf32-mips.c (elf_mips_mach): Add case for
186 E_MIPS_MACH_SB1.
187 (_bfd_mips_elf_final_write_processing): Add case for
188 bfd_mach_mips_sb1.
189
ddcfc5fc
NC
1902000-12-01 Joel Sherrill <joel@OARcorp.com>
191
192 * config.bfd (arm-*-rtems*, a29k-*rtems*): New targets.
193 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
194 (sparc*-*-rtems*): Switched from a.out to ELF.
195
8d88c4ca
NC
1962000-11-30 Jan Hubicka <jh@suse.cz>
197
198 * Makefile.am (BFD64_BACKENDS): Add elf64-x86-64.lo
199 BFD64_BACKENDS_CFILES): Add elf64-x86-64.c
200 (elf64-x86-64.lo): Add dependencies.
201 * archures.c (DESCRIPTION): Add bfd_mach_x86_64,
202 bfd_mach_x86_64_intel_syntax.
203 * elf.c (prep_headers): Use EM_x86_64 for 64bit output.
204 * config.bfd (x86_64): Add.
205 * configure.in: Add support for bfd_elf64_x86_64_vec.
206 * cpu-i386.c (bfd_x86_64_arch_intel_syntax, bfd_x86_64_arch): Add.
207 (bfd_i386_arch, i8086_ar): Link in.
208 * elf64-x86-64.c: New file.
209 * reloc.c (ENUMDOC): Add BFD_RELOC_X86_64*.
210 * targets.c (bfd_elf64_x86_64_vec): Add.
211 (bfd_target_vect): Add bfd_elf64_x86_64_vec.
212
fbc4fff4
KH
2132000-11-30 Kazu Hirata <kazu@hxi.com>
214
215 * xcofflink.c: Fix formatting.
216
e60b52c6
KH
2172000-11-28 Kazu Hirata <kazu@hxi.com>
218
219 * aoutx.h: Fix formatting.
220 * bfd-in.h: Likewise.
221 * bfd-in2.h: Likewise.
222 * cache.c: Likewise.
223 * cisco-core.c: Likewise.
224 * coff64-rs6000.c: Likewise.
225 * coffcode.h: Likewise.
226 * coffswap.h: Likewise.
227 * corefile.c: Likewise.
be3ccd9c 228 * elf32-mips.c: Likewise.
e60b52c6 229
336eced2
KH
2302000-11-27 Kazu Hirata <kazu@hxi.com>
231
232 * aout-adobe.c: Fix formatting.
244148ad
KH
233 * coff64-rs6000.c: Likewise.
234 * coffgen.c: Likewise.
235 * cofflink.c: Likewise.
336eced2 236
d71f672e
PB
2372000-11-27 Philip Blundell <pb@futuretv.com>
238
239 * libcoff-in.h (coff_tdata): Add `strings_written' flag.
240 (obj_coff_strings_written): New accessor macro for above.
241 * libcoff.h: Regenerate.
242 * cofflink.c (_bfd_coff_final_link): Say that we wrote the
243 strings.
244 * coffcode.h (coff_write_object_contents): No need to write out
245 the string table if it's already been done.
246
bc7a577d
PB
2472000-11-22 Philip Blundell <pb@futuretv.com>
248
249 * cofflink.c (_bfd_coff_generic_relocate_section): Don't object to
250 weak undefined symbols.
251
077b8428
NC
2522000-11-24 Nick Clifton <nickc@redhat.com>
253
254 * archures.c (bfd_mach_arm_5TE): Define.
255 (bfd_mach_arm+XScale): Define.
256 * bfd-in2.h: Regenerate.
257
258 * coff-arm.c (coff_arm_reloc_type_lookup): Accept
259 BFD_RELOC_ARM_PCREL_BLX.
260
261 * coffcode.h (coff_set_flags): Set flags for 5t, 5te and
262 XScale machine numbers.
263
264 * config.bfd (xscale-elf): Add target.
265 (xscale-coff): Add target.
266
267 * cpu-arm.c: Add xscale machine name.
268 Add v5t, v5te and XScale machine numbers.
269
e9e41bd9
KH
2702000-11-23 Kazu Hirata <kazu@hxi.com>
271
272 * aix386-core.c: Fix formatting.
273
64bf6ae6
JW
2742000-11-22 Jim Wilson <wilson@redhat.com>
275
276 * coff-ia64.c (howto_table): Use EMPTY_HOWTO.
277 (in_reloc_p): Add ATTRIBUTE_UNUSED to unused parameters.
278 * cpu-ia64-opc.c (ins_rsvd, ext_rsvd, ins_const, ext_const): Likewise.
279 (ins_imms_scaled): Initialize sign_bit at function entry.
280 (elf64_ia64_operands): Add missing initializers.
281 * elfxx-ia64.c (elfNN_ia64_reloc, elfNN_ia64_reloc_type_lookup,
282 elfNN_ia64_info_to_howto, elfNN_ia64_fake_sections,
283 elfNN_ia64_add_symbol_hook, elfNN_ia64_is_local_label_name,
284 elfNN_ia64_local_hash_table_init, get_fptr, get_pltoff,
285 elfNN_ia64_adjust_dynamic_symbol): Add ATTRIBUTE_UNUSED for unused
286 parameters.
287 (elfNN_ia64_info_to_howto): Initialize free_relocs, free_contents,
288 and free_extsyms at function entry.
289 (elfNN_add_symbol_hook): Add unsigned cast to bfd_get_gp_size result.
290 (elfNN_ia64_create_dynamic_sections): Delete unused local h.
291 (get_got): Delete unused local srel.
292 (elfNN_ia64_check_relocs): Initialize dynrel_type when declared.
293 (elfNN_ia64_relocate_section): Delete unused local dynindx.
294
1abaf976
KH
2952000-11-21 Kazu Hirata <kazu@hxi.com>
296
6e301b2b
KH
297 * coff-a29k.c: Fix formatting.
298 * coff-h8500.c: Likewise.
299 * coff-i960.c: Likewise.
300 * coff-ppc.c: Likewise.
301 * coff-rs6000.c: Likewise.
302 * coff-stgo32.c: Likewise.
303 * coff-tic54x.c: Likewise.
304 * coff-w65.c: Likewise.
305 * cpu-h8500.c: Likewise.
306 * cpu-hppa.c: Likewise.
307 * cpu-ns32k.c: Likewise.
308 * ecoff.c: Likewise.
1abaf976
KH
309 * ecofflink.c: Likewise.
310
a0fc8ba1
NC
3112000-11-21 Nick Clifton <nickc@redhat.com>
312
313 * elf32-sh.c (sh_elf_reloc_loop): Fix compile time warning, and
314 remove possibility of infinite loop.
315
beb0d161
KH
3162000-11-20 Kazu Hirata <kazu@hxi.com>
317
318 * aix386-core.c: Fix formatting.
319 * aout-adobe.c: Likewise.
320 * aout-arm.c: Likewise.
321 * aout-encap.c: Likewise.
322 * aout-ns32k.c: Likewise.
323 * aout-target.h: Likewise.
324 * aout-tic30.c: Likewise.
325 * aoutf1.h: Likewise.
326 * aoutx.h: Likewise.
327 * archive.c: Likewise.
eb6e10cb
KH
328 * bfd-in.h: Likewise.
329 * bfd-in2.h: Likewise.
330 * bfd.c: Likewise.
331 * bout.c: Likewise.
beb0d161 332
2c2475db
JW
3332000-11-17 H.J. Lu <hjl@gnu.org>
334
335 * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Don't create
336 pltoff entries for DT_INIT and DT_FINI.
337 (elfNN_ia64_final_link): Don't set DT_INIT/FINI entries.
338 (elfNN_ia64_finish_dynamic_sections): Don't fill in DT_INIT/FINI
339 entries.
340
18b27f17
RH
3412000-11-16 Richard Henderson <rth@redhat.com>
342
343 * elfxx-ia64.c (elfNN_ia64_check_relocs): Handle IPLT relocs.
344 (allocate_dynrel_entries): Likewise.
345 (elfNN_ia64_relocate_section): Likewise. Set REL addends correctly.
346 (set_pltoff_entry): Likewise.
347 (ia64_howto_table): Remove R_IA64_SEGBASE, and R_IA64_EPLT[ML]SB
348 (elfNN_ia64_reloc_type_lookup): Likewise.
349 (elfNN_ia64_install_value): Likewise.
350 (elfNN_ia64_relocate_section): Likewise.
351 * reloc.c (BFD_RELOC_IA64_SEGBASE): Remove.
352 (BFD_RELOC_IA64_EPLTMSB, BFD_RELOC_IA64_EPLTLSB): Remove.
353
98591c73
KH
3542000-11-16 Kazu Hirata <kazu@hxi.com>
355
71f6b586
KH
356 * cpu-a29k.c: Fix formatting.
357 * cpu-alpha.c: Likewise.
358 * cpu-arm.c: Likewise.
359 * cpu-avr.c: Likewise.
360 * cpu-d10v.c: Likewise.
361 * cpu-h8500.c: Likewise.
362 * cpu-hppa.c: Likewise.
363 * cpu-i370.c: Likewise.
364 * cpu-i386.c: Likewise.
365 * cpu-i960.c: Likewise.
366 * cpu-ia64-opc.c: Likewise.
367 * cpu-ia64.c: Likewise.
368 * cpu-m32r.c: Likewise.
369 * cpu-m68hc11.c: Likewise.
370 * cpu-m68hc12.c: Likewise.
371 * cpu-m68k.c: Likewise.
372 * cpu-m88k.c: Likewise.
373 * cpu-mips.c: Likewise.
374 * cpu-ns32k.c: Likewise.
375 * cpu-pj.c: Likewise.
376 * cpu-powerpc.c: Likewise.
377 * cpu-sh.c: Likewise.
378 * cpu-sparc.c: Likewise.
379 * cpu-tic54x.c: Likewise.
380 * cpu-v850.c: Likewise.
381 * cpu-vax.c: Likewise.
382 * cpu-w65.c: Likewise.
383 * cpu-we32k.c: Likewise.
384 * cpu-z8k.c: Likewise.
385 * dwarf1.c: Likewise.
98591c73
KH
386 * dwarf2.c: Likewise.
387
c5930ee6
KH
3882000-11-15 Kazu Hirata <kazu@hxi.com>
389
390 * coff-arm.c: Fix formatting.
391 * coff-ppc.c: Likewise.
392 * coff-rs6000.c: Likewise.
cbfe05c4
KH
393 * coff-sh.c: Likewise.
394 * coff-sparc.c: Likewise.
395 * coff-tic30.c: Likewise.
396 * coff-tic54x.c: Likewise.
397 * coff-tic80.c: Likewise.
398 * coff-w65.c: Likewise.
399 * coff-we32k.c: Likewise.
400 * coff-z8k.c: Likewise.
c5930ee6 401
dac544a8
RH
4022000-11-15 Richard Henderson <rth@redhat.com>
403
404 * elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc
405 section with the same ALLOC|LOAD flags as the source section.
406
c810873d
JJ
4072000-11-14 Jakub Jelinek <jakub@redhat.com>
408
409 * elf64-alpha.c (elf64_alpha_relax_opt_call): Only check bits used
410 by STO_ALPHA constants.
411
43646c9d
KH
4122000-11-14 Kazu Hirata <kazu@hxi.com>
413
414 * coff-pmac.c: Fix formatting.
415 * coff-ppc.c: Likewise.
416
051b8577
L
4172000-11-13 H.J. Lu <hjl@gnu.org>
418
419 * elflink.h (elf_link_add_object_symbols): Also add indirect
420 symbols for common symbols with the default version.
421
90460d97
PB
4222000-11-09 Philip Blundell <pb@futuretv.com>
423
424 * section.c (STD_SECTION): Set gc_mark flag.
425
b48499ec
KH
4262000-11-11 Kazu Hirata <kazu@hxi.com>
427
428 * coff-i960.c: Likewise.
429 * coff-m68k.c: Likewise.
430 * coff-m88k.c: Likewise.
431 * coff-mcore.c: Likewise.
432 * coff-mips.c: Likewise.
433
c5aeb40f
AO
4342000-11-11 Bernd Schmidt <bernds@cygnus.co.uk>
435
436 * elf32-sh.c (sh_elf_relocate_section): Ignore R_SH_NONE relocs.
437
5fcfd273
KH
4382000-11-10 Kazu Hirata <kazu@hxi.com>
439
440 * coff-h8300.c: Fix formatting.
441 * coff-h8500.c: Likewise.
442 * coff-i386.c: Likewise.
443 * coff-i860.c: Likewise.
444 * coff-i960.c: Likewise.
445 * coff-ia64.c: Likewise.
446
047066e1
KH
4472000-11-09 Kazu Hirata <kazu@hxi.com>
448
449 * archive.c: Fix formatting.
450 * archures.c: Likewise.
451
9a951beb
RH
4522000-11-07 Richard Henderson <rth@redhat.com>
453
454 * elfxx-ia64.c (elf64_ia64_final_link): New local unwind_output_sec.
455 Set it before bfd_elf64_bfd_final_link call. Use it after the call.
456 * section.c (bfd_set_section_contents): Call memcpy if
457 section->contents set and location not equal to contents plus offset.
458
aebad5fe
KH
4592000-11-08 Kazu Hirata <kazu@hxi.com>
460
8546af74
KH
461 * bfd-in.h: Fix formatting.
462 * bfd-in2.h: Likewise.
463 * bfd.c: Likewise.
aebad5fe
KH
464 * binary.c: Likewise.
465 * bout.c: Likewise.
346ceb11
KH
466 * coff-a29k.c: Likewise.
467 * coff-alpha.c: Likewise.
468 * coff-apollo.c: Likewise.
469 * coff-aux.c: Likewise.
aebad5fe 470
0ef5a5bd
KH
4712000-11-07 Kazu Hirata <kazu@hxi.com>
472
473 * aix386-core.c: Fix formatting.
474 * aoutf1.h: Likewise.
475 * aoutx.h: Likewise.
476 * archures.c: Likewise.
477 * armnetbsd.c: Likewise.
478
d562d2fb
AM
4792000-11-07 Alan Modra <alan@linuxcare.com.au>
480
481 * coff-h8300.c (special): Adjust reloc address.
482
bbe66d08
JW
4832000-11-06 Steve Ellcey <sje@cup.hp.com>
484
4efc3e05 485 * archures.c (bfd_mach_ia64_elf64, bfd_mach_ia64_elf32): Add defines
bbe66d08
JW
486 to differentiate elf32 and elf64 on ia64.
487 * bfd-in2.h: Regenerate.
488 * config.bfd: Add target for "ia64*-*-hpux*".
489 * configure.in: Add bfd_elf32_ia64_big_vec to selvecs switch.
490 * configure: Regenerate.
4efc3e05 491 * cpu-ia64.c (bfd_ia64_elf32_arch): Add elf32 arch info structure.
bbe66d08
JW
492 * targets.c: Add bfd_target bfd_elf32_ia64_big_vec.
493
494 * Makefile.am: Make elf32-ia64.c and elf64-ia64.c derived objects
495 from elfxx-ia64.c. Add depenency rules for making elf32-ia64.lo.
496 * Makefile.in: Regnerate.
4efc3e05 497 * elf64-ia64.c: Deleted.
bbe66d08
JW
498 * elfxx-ia64.c: New file, paramaterized version of elf64-ia64.c.
499
c4dfa77f
KH
5002000-11-06 Kazu Hirata <kazu@hxi.com>
501
502 * aout-adobe.c: Fix formatting.
503 * aout-arm.c: Likewise.
504 * aout-cris.c: Likewise.
505 * aout-encap.c: Likewise.
506 * aout-ns32k.c: Likewise.
507 * aout-target.h: Likewise.
508 * aout-tic30.c: Likewise.
509
cf919dfd
PB
5102000-11-05 Philip Blundell <philb@gnu.org>
511
512 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Always permit
513 BFDs containing no sections to be merged, regardless of their flags.
514
5152000-11-04 Philip Blundell <philb@gnu.org>
516
517 * elf32-arm.h (elf32_arm_relocate_section): Suppress error message
518 if a relocation for an undefined symbol also results in an
519 overflow.
520
8d88c4ca 5212000-11-06 Christopher Faylor <cgf@cygnus.com>
8848a8d0
CF
522
523 * config.bfd: Add support for Sun Chorus.
524
46d59bfa
DB
5252000-11-05 David O'Brien <obrien@FreeBSD.org>
526
527 * configure.in: Recognize alpha-*-freebsd*.
528 * configure: Regenerate.
529
420496c1
NC
5302000-11-02 Luciano Gemme <ishitawa@yahoo.com>
531
532 * srec.c (CHUNK): Rename to DEFAULT_CHUNK.
533 (Chunk): New global variable set by a parameter in objcopy.c.
534 (S3Forced): New global variable set by a parameter in
535 objcopy.c.
536 (srec_set_section_contents): If S3Forced is true, always generate
537 S3 records.
538 (srec_write_section): Use 'Chunk' to limit maximum length of S
539 records.
540
59ff2774
NC
5412000-11-02 Per Lundberg <plundis@chaosdev.org>
542
543 * config.bfd: Add support for i[3456]86-chaosdev-storm-chaos.
544 * Makefile.in: Regenerate.
545 * bfd-in2.h: Regenerate.
546 * po/bfd.pot: Regenerate.
547
ee43f35e
PB
5482000-10-31 Philip Blundell <philb@gnu.org>
549
550 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Only handle
551 EF_SOFT_FLOAT if it is defined.
552
1006ba19
PB
5532000-10-27 Philip Blundell <philb@gnu.org>
554
555 * elf32-arm.h (elf32_arm_copy_private_bfd_data): Don't refuse
556 attempts to mix PIC code with non-PIC, just mark the output as
557 being position dependent.
558 (elf32_arm_merge_private_bfd_data): Likewise. Print an error
559 message for EF_SOFT_FLOAT mismatches. Display diagnostics for
560 all mismatches, not just the first one.
561
c4920b97
NC
5622000-10-25 Chris Demetriou <cgd@sibyte.com>
563
564 * ieee.c (ieee_archive_p): Plug one of many possible
565 memory leaks in error handling.
566
19f7b010
JJ
5672000-10-20 Jakub Jelinek <jakub@redhat.com>
568
569 * elf32-sparc.c (elf32_sparc_merge_private_bfd_data,
570 elf32_sparc_object_p, elf32_sparc_final_write_processing):
571 Support v8plusb.
572 * elf64-sparc.c (sparc64_elf_merge_private_bfd_data,
573 sparc64_elf_object_p): Support v9b.
574 * archures.c: Declare v8plusb and v9b machines.
575 * bfd-in2.h: Ditto.
576 * cpu-sparc.c: Ditto.
577
e1e0340b
GK
5782000-10-16 Geoffrey Keating <geoffk@shoggoth.cygnus.com>
579
ea5fbc67
GK
580 * elf64-sparc.c (sparc64_elf_relocate_section): Clear the location
581 of a GOT reloc.
582
e1e0340b
GK
583 * elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): New macro.
584 (SYMBOL_CALLS_LOCAL): New macro.
585 (ppc_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.
586 (ppc_elf_check_relocs): Use SYMBOL_REFERENCES_LOCAL.
587 (ppc_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL.
588 (ppc_elf_relocate_section): Use flag variable to determine
589 whether the relocation refers to a local symbol.
590 Test whether a PLTREL24 reloc will produce a reloc by looking
591 to see whether a PLT entry was made.
592
a4b120e1
GK
5932000-10-14 Geoffrey Keating <geoffk@shoggoth.cygnus.com>
594
595 * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make PLT
596 entries that could serve as a definition for a weak symbol.
597
5af5b85b
UC
5982000-10-13 Ulf Carlsson <ulfc@engr.sgi.com>
599
600 From Ralf Baechle <ralf@gnu.org>
601
602 * elf32-mips.c (mips_elf_create_dynamic_relocation): New argument
603 local_p. Add symbol value only for non-R_MIPS_REL32 relocations
604 against local symbols.
605 (_bfd_mips_elf_finish_dynamic_sections): Undo patch from 2000-10-01.
606
3ef20aaa
AM
6072000-10-12 Alan Modra <alan@linuxcare.com.au>
608
24376d1b
AM
609 * section.c (struct sec): Add kept_section.
610 (struct bfd_comdat_info): Remove sec, we can use above.
611 (STD_SECTION): Add initializer.
612 (bfd_make_section_anyway): Init here too.
613
614 * bfd-in2.h: Regenerate.
615
616 * elflink.h (elf_link_add_object_symbols): Remove unnecessary
617 zeroing of `flags'.
618 (elf_link_input_bfd): Set all asection->symbol->value's here, and
619 fudge values for discarded link-once section symbols.
620
3ef20aaa
AM
621 * elf64-hppa.c: Include alloca-conf.h
622
c0e219cc
AM
6232000-10-11 Alan Modra <alan@linuxcare.com.au>
624
d01e2a23
AM
625 * elf.c (swap_out_syms): Revert 2000-10-07 changes.
626
c0e219cc
AM
627 * ieee.c (ieee_make_empty_symbol): Oops, bfd_zalloc needs another arg.
628
fe268b66
AM
6292000-10-10 Alan Modra <alan@linuxcare.com.au>
630
631 * ieee.c (ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc.
632
4d7ce4dd
AM
6332000-10-10 Tom Rix <trix@redhat.com>
634
635 * section.c (bfd_make_section_anyway): Release newsect ptr when
636 newsect->symbol fails to alloc. Use bfd_release instead of free.
637
f3b6f7c3
RH
6382000-10-09 Richard Henderson <rth@cygnus.com
639
640 * elf64-ia64.c (elf64_ia64_unwind_entry_compare_bfd): New.
641 (elf64_ia64_unwind_entry_compare): New.
642 (elf64_ia64_final_link): Sort the .IA_64.unwind section.
643
44852b19
AM
6442000-10-07 Alan Modra <alan@linuxcare.com.au>
645
fc8c40a0
AM
646 * elflink.h (size_dynamic_sections): Don't create various tags if
647 .dynstr is excluded from the link. Don't set first dynsym entry
648 if dynsymcount is zero.
649 (elf_bfd_final_link): Don't try to swap out dynamic syms if
650 .dynsym excluded from the link. Don't try to write any dynamic
651 sections excluded from the link.
652
44852b19
AM
653 * elf.c (swap_out_syms): Handle global section symbols.
654
3e4554a2
DD
6552000-10-05 DJ Delorie <dj@redhat.com>
656
657 * peigen.c (_bfd_pei_swap_scnhdr_out): note extended relocs
658 * coffcode.h (coff_set_alignment_hook): read extended reloc count
659 (coff_write_relocs): write extended reloc count
660 (coff_write_object_contents): account for extended relocs
661
fa152c49
JW
6622000-10-05 Jim Wilson <wilson@cygnus.com>
663
664 * elf-bfd.h (struct elf_backend_data): Add elf_backend_section_flags
665 field.
666 * elf.c (_bfd_elf_make_section_from_shdr): Call the
667 elf_backend_section_flags function.
668 * elf64-ia64.c (elf64_ia64_section_from_shdr): Delete flag conversion
669 code.
670 (elf64_ia64_section_flags): New function containing flag conversion
671 code.
672 (elf_backend_section_flags): Define to elf64_ia64_section_flags.
673 * elfxx-target.h (elf_backend_section_flags): Define.
674 (elfNN_bed): Initialize elf_backend_section_flags field.
675
36605136
AM
6762000-10-02 Alan Modra <alan@linuxcare.com.au>
677
678 * elf32-hppa.c (elf32_hppa_check_relocs): Correct call to
679 _bfd_elf32_gc_record_vtable. Correct a comment.
680
4b6609a0
UC
6812000-10-01 Ulf Carlsson <ulfc@engr.sgi.com>
682
683 From Ralf Baechle <ralf@gnu.org>
684
685 * elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Mark gld
686 produces binaries with got[1] = 0x80000001 to differenciate them
687 for the dynamic linker from the broken binaries produced by old
688 versions.
36605136 689
f572a39d
AM
6902000-09-30 Petr Sorfa <petrs@sco.com>
691
692 * elf.c (elfcore_grok_pstatus): Check for size of pxstatus_t.
693 (elfcore_grok_lwpstatus): Check for size of lwpxstatus_t.
694 * configure.in: Add check for pxstatus_t and lwpxstatus_t.
695 * configure: Regenerate.
696
4da81684
HPN
6972000-09-27 Hans-Peter Nilsson <hp@axis.com>
698
699 Define two bfd_targets for absence and presence of leading
700 underscore on symbols. Make sure to only link same kind.
701 * elf32-cris.c (cris_elf_object_p,
702 cris_elf_final_write_processing, cris_elf_print_private_bfd_data,
703 cris_elf_merge_private_bfd_data): New.
704 (elf_backend_object_p, elf_backend_final_write_processing,
705 bfd_elf32_bfd_print_private_bfd_data,
706 bfd_elf32_bfd_merge_private_bfd_data): Define.
707 <Target vector definition>: Include elf32-target.h twice with
708 different macro settings:
709 (TARGET_LITTLE_SYM): First as bfd_elf32_cris_vec, then as
710 bfd_elf32_us_cris_vec.
711 (TARGET_LITTLE_NAME): First as "elf32-cris", then "elf32-us-cris".
712 (elf_symbol_leading_char): First as 0, then '_'.
713 (INCLUDED_TARGET_FILE): Define for second include of elf32-target.h.
714 * config.bfd (cris-*-*): Add bfd_elf32_us_cris_vec to targ_selvecs.
715 * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vector.
716 * configure: Regenerate.
717 * targets.c: Declare bfd_elf32_us_cris_vec.
718 * po/bfd.pot: Regenerate.
719
9a5aca8c
AM
7202000-09-29 Momchil Velikov <velco@fadata.bg>
721
722 * elf32-arm.h (arm_add_to_rel): Correctly adjust the addend for
723 R_ARM_THM_PC22 relocations.
724
512a2384
AM
7252000-09-29 NIIBE Yutaka <gniibe@chroot.org>
726
727 * elflink.h (elf_link_add_object_symbols): Don't bfd_release runpath.
728
6c99a5c3
AM
7292000-09-29 Momchil Velikov <velco@fadata.bg>
730
731 * elf.c (elf_fake_sections): Do not mark the section SHT_NOBITS if
732 is has the SEC_HAS_CONTENTS flag set.
733