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