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