]> Git Repo - binutils.git/blame - bfd/ChangeLog
Add - before rms to be more portable.
[binutils.git] / bfd / ChangeLog
CommitLineData
51db3708
NC
12000-12-08 Mark Elbrecht <[email protected]>
2
3 * Makefile.am (BFD32_BACKENDS): Move dwarf2.lo from here...
4 (BFD_LIBS): ...to here.
5 (BFD32_BACKENDS_CFILES): Move dwarf2.c from here...
6 (BFD_LIBS_CFILES): ...to here.
7 * Makefile.in: Regenerate.
8 * configure.in: Remove dwarf.lo from the elf shell variable.
9 * configure: Regenerate.
10 * libcoff-in.h (coff_tdata): Add pointer dwarf2_find_line_info.
11 * libcoff.h: Regenerate.
12 * coffgen.c (coff_find_nearest_line): Call
13 _bfd_dwarf2_find_nearest_line.
14 * dwarf2.c (_bfd_dwarf2_find_nearest_line): Add parameter. Update
15 accordingly.
16 (read_abbrevs): Likewise
17 (decode_line_info): Likewise.
18 (parse_comp_unit): Likewise.
19 (comp_unit_find_nearest_line): Likewise.
20 * libbfd-in.h (_bfd_dwarf2_find_nearest_line): Update prototype.
21 * libbfd.h: Regenerate.
22 * elf.c (_bfd_elf_find_nearest_line): Update call.
23 * elf-bfd.h (elf_obj_tdata): Change dwarf2_find_line_info to type PTR.
24 * dwarf2.c (concat_filename): Use IS_ABSOLUTE_PATH.
25 * coffcode.h (STYP_XCOFF_DEBUG, STYP_DEBUG_INFO): New macros.
26 (sec_to_styp_flags): Use them. Handle DWARF2 sections.
27 (styp_to_sec_flags): Handle DWARF2 sections.
28
435b1e90
KH
292000-12-08 Kazu Hirata <[email protected]>
30
31 * coffgen.c: Fix formatting.
fe8bc63d 32 * elf-m10300.c: Likewise.
435b1e90
KH
33 * elf32-i386.c: Likewise.
34 * elf32-i960.c: Likewise.
35 * elf32-m68k.c: Likewise.
36 * elf32-mcore.c: Likewise.
37 * elf32-ppc.c: Likewise.
38 * elf32-sh.c: Likewise.
39 * elf32-sparc.c: Likewise.
40 * elf32-v850.c: Likewise.
fe8bc63d
KH
41 * elf64-alpha.c: Likewise.
42 * elf64-hppa.c: Likewise.
43 * elf64-mips.c: Likewise.
435b1e90 44 * elf64-sparc.c: Likewise.
435b1e90 45
8da6118f
KH
462000-12-07 Kazu Hirata <[email protected]>
47
48 * elf32-ppc.c: Fix formatting.
49 * elf64-x86-64.c: Likewise.
50
a9922e52
UC
512000-12-06 Ulf Carlsson <[email protected]>
52
53 From Ralf Baechle <[email protected]>
54
55 * elf32-mips.c (elf32_mips_merge_private_bfd_data): Always permit
56 BFDs containing no sections or empty .text, .data or .bss sections
57 to be merged, regardless of their flags.
58
c3668558
KH
592000-12-06 Kazu Hirata <[email protected]>
60
61 * elf32-m32r.c: Fix formatting.
62 * elf32-m68hc11.c: Likewise.
63 * elf32-m68hc12.c: Likewise.
64 * elf32-m68k.c: Likewise.
65 * elf32-mcore.c: Likewise.
66 * elf32-pj.c: Likewise.
67 * elf32-ppc.c: Likewise.
68
6609fa74
KH
692000-12-05 Kazu Hirata <[email protected]>
70
71 * elf32-fr30.c: Fix formatting.
72 * elf32-hppa.c: Likewise.
73 * elf32-i370.c: Likewise.
74 * elf32-i386.c: Likewise.
75 * elf32-i860.c: Likewise.
76 * elf32-i960.c: Likewise.
77
a7c10850
KH
782000-12-03 Kazu Hirata <[email protected]>
79
80 * elf32-arm.h: Fix formatting.
81 * elf32-avr.c: Likewise.
82 * elf32-cris.c: Likewise.
83 * elf32-d10v.c: Likewise.
84 * elf32-d30v.c: Likewise.
85 * elf-hppa.h: Likewise.
86 * elf-m10200.c: Likewise.
87 * elf-m10300.c: Likewise.
88
e7af610e
NC
892000-12-01 Chris Demetriou <[email protected]>
90
91 * aoutx.h (NAME(aout,machine_type)): Add bfd_mach_mips32 and
92 bfd_mach_mips32_4k. Update FIXME comment.
93 * archures.c (bfd_mach_mips32): New constant.
94 (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to
95 the latter, renumber it.
96 * bfd-in2.h (bfd_mach_mips32): New constant.
97 (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to
98 the latter, renumber it.
99 * cpu-mips.c (I_mips32): New constant.
100 (I_mips4K, I_mips32_4k): Rename the former to the latter.
101 (arch_info_struct): Add bfd_mach_mips32 entry, replace
102 bfd_mach_mips4K entry with bfd_mach_mips32_4k entry.
103 * elf32-mips.c (elf_mips_isa): Add E_MIPS_ARCH_32 case.
104 (elf_mips_mach): Likewise. Also, replace E_MIPS_MACH_MIPS32
105 with E_MIPS_MACH_MIPS32_4K.
106 (_bfd_mips_elf_final_write_processing): Replace
107 bfd_mach_mips4K with bfd_mach_mips32_4k case, add
108 bfd_mach_mips32 case.
109 (_bfd_mips_elf_merge_private_bfd_data): Generalize ISA mixing
110 comparison with support for MIPS32.
111 (_bfd_mips_elf_print_private_bfd_data): Print ISA name for
112 MIPS32.
113
84ea6cf2
NC
114 * aoutx.h (NAME(aout,machine_type)): Add cases for
115 bfd_mach_mips5 and bfd_mach_mips64.
116 * archures.c (bfd_mach_mips5, bfd_mach_mips64): New constants.
117 * bfd-in2.h (bfd_mach_mips5, bfd_mach_mips64): Likewise.
118 * cpu_mips.c (I_mips5, I_mips64): New definitions.
119 (arch_info_struct): Add entries for bfd_mach_mips5 and
120 bfd_mach_mips64.
121 * elf32-mips.c (elf_mips_isa, elf_mips_mach,
122 _bfd_mips_elf_print_private_bfd_data): Add cases for
123 E_MIPS_ARCH_5 and E_MIPS_ARCH_64.
124 (_bfd_mips_elf_final_write_processing): Add cases for
125 bfd_mach_mips5 and bfd_mach_mips64.
126
c6c98b38
NC
127 * bfd/aoutx.h (NAME(aout,machine_type)): Add a
128 bfd_mach_mips_sb1 case.
129 * bfd/archures.c (bfd_mach_mips_sb1): New constant.
130 * bfd/bfd-in2.h (bfd_mach_mips_sb1): New constant.
131 * bfd/cpu-mips.c (I_sb1): New constant.
132 (arch_info_struct): Add entry for bfd_mach_mips_sb1.
133 * bfd/elf32-mips.c (elf_mips_mach): Add case for
134 E_MIPS_MACH_SB1.
135 (_bfd_mips_elf_final_write_processing): Add case for
136 bfd_mach_mips_sb1.
137
ddcfc5fc
NC
1382000-12-01 Joel Sherrill <[email protected]>
139
140 * config.bfd (arm-*-rtems*, a29k-*rtems*): New targets.
141 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
142 (sparc*-*-rtems*): Switched from a.out to ELF.
143
8d88c4ca
NC
1442000-11-30 Jan Hubicka <[email protected]>
145
146 * Makefile.am (BFD64_BACKENDS): Add elf64-x86-64.lo
147 BFD64_BACKENDS_CFILES): Add elf64-x86-64.c
148 (elf64-x86-64.lo): Add dependencies.
149 * archures.c (DESCRIPTION): Add bfd_mach_x86_64,
150 bfd_mach_x86_64_intel_syntax.
151 * elf.c (prep_headers): Use EM_x86_64 for 64bit output.
152 * config.bfd (x86_64): Add.
153 * configure.in: Add support for bfd_elf64_x86_64_vec.
154 * cpu-i386.c (bfd_x86_64_arch_intel_syntax, bfd_x86_64_arch): Add.
155 (bfd_i386_arch, i8086_ar): Link in.
156 * elf64-x86-64.c: New file.
157 * reloc.c (ENUMDOC): Add BFD_RELOC_X86_64*.
158 * targets.c (bfd_elf64_x86_64_vec): Add.
159 (bfd_target_vect): Add bfd_elf64_x86_64_vec.
160
fbc4fff4
KH
1612000-11-30 Kazu Hirata <[email protected]>
162
163 * xcofflink.c: Fix formatting.
164
e60b52c6
KH
1652000-11-28 Kazu Hirata <[email protected]>
166
167 * aoutx.h: Fix formatting.
168 * bfd-in.h: Likewise.
169 * bfd-in2.h: Likewise.
170 * cache.c: Likewise.
171 * cisco-core.c: Likewise.
172 * coff64-rs6000.c: Likewise.
173 * coffcode.h: Likewise.
174 * coffswap.h: Likewise.
175 * corefile.c: Likewise.
be3ccd9c 176 * elf32-mips.c: Likewise.
e60b52c6 177
336eced2
KH
1782000-11-27 Kazu Hirata <[email protected]>
179
180 * aout-adobe.c: Fix formatting.
244148ad
KH
181 * coff64-rs6000.c: Likewise.
182 * coffgen.c: Likewise.
183 * cofflink.c: Likewise.
336eced2 184
d71f672e
PB
1852000-11-27 Philip Blundell <[email protected]>
186
187 * libcoff-in.h (coff_tdata): Add `strings_written' flag.
188 (obj_coff_strings_written): New accessor macro for above.
189 * libcoff.h: Regenerate.
190 * cofflink.c (_bfd_coff_final_link): Say that we wrote the
191 strings.
192 * coffcode.h (coff_write_object_contents): No need to write out
193 the string table if it's already been done.
194
bc7a577d
PB
1952000-11-22 Philip Blundell <[email protected]>
196
197 * cofflink.c (_bfd_coff_generic_relocate_section): Don't object to
198 weak undefined symbols.
199
077b8428
NC
2002000-11-24 Nick Clifton <[email protected]>
201
202 * archures.c (bfd_mach_arm_5TE): Define.
203 (bfd_mach_arm+XScale): Define.
204 * bfd-in2.h: Regenerate.
205
206 * coff-arm.c (coff_arm_reloc_type_lookup): Accept
207 BFD_RELOC_ARM_PCREL_BLX.
208
209 * coffcode.h (coff_set_flags): Set flags for 5t, 5te and
210 XScale machine numbers.
211
212 * config.bfd (xscale-elf): Add target.
213 (xscale-coff): Add target.
214
215 * cpu-arm.c: Add xscale machine name.
216 Add v5t, v5te and XScale machine numbers.
217
e9e41bd9
KH
2182000-11-23 Kazu Hirata <[email protected]>
219
220 * aix386-core.c: Fix formatting.
221
64bf6ae6
JW
2222000-11-22 Jim Wilson <[email protected]>
223
224 * coff-ia64.c (howto_table): Use EMPTY_HOWTO.
225 (in_reloc_p): Add ATTRIBUTE_UNUSED to unused parameters.
226 * cpu-ia64-opc.c (ins_rsvd, ext_rsvd, ins_const, ext_const): Likewise.
227 (ins_imms_scaled): Initialize sign_bit at function entry.
228 (elf64_ia64_operands): Add missing initializers.
229 * elfxx-ia64.c (elfNN_ia64_reloc, elfNN_ia64_reloc_type_lookup,
230 elfNN_ia64_info_to_howto, elfNN_ia64_fake_sections,
231 elfNN_ia64_add_symbol_hook, elfNN_ia64_is_local_label_name,
232 elfNN_ia64_local_hash_table_init, get_fptr, get_pltoff,
233 elfNN_ia64_adjust_dynamic_symbol): Add ATTRIBUTE_UNUSED for unused
234 parameters.
235 (elfNN_ia64_info_to_howto): Initialize free_relocs, free_contents,
236 and free_extsyms at function entry.
237 (elfNN_add_symbol_hook): Add unsigned cast to bfd_get_gp_size result.
238 (elfNN_ia64_create_dynamic_sections): Delete unused local h.
239 (get_got): Delete unused local srel.
240 (elfNN_ia64_check_relocs): Initialize dynrel_type when declared.
241 (elfNN_ia64_relocate_section): Delete unused local dynindx.
242
1abaf976
KH
2432000-11-21 Kazu Hirata <[email protected]>
244
6e301b2b
KH
245 * coff-a29k.c: Fix formatting.
246 * coff-h8500.c: Likewise.
247 * coff-i960.c: Likewise.
248 * coff-ppc.c: Likewise.
249 * coff-rs6000.c: Likewise.
250 * coff-stgo32.c: Likewise.
251 * coff-tic54x.c: Likewise.
252 * coff-w65.c: Likewise.
253 * cpu-h8500.c: Likewise.
254 * cpu-hppa.c: Likewise.
255 * cpu-ns32k.c: Likewise.
256 * ecoff.c: Likewise.
1abaf976
KH
257 * ecofflink.c: Likewise.
258
a0fc8ba1
NC
2592000-11-21 Nick Clifton <[email protected]>
260
261 * elf32-sh.c (sh_elf_reloc_loop): Fix compile time warning, and
262 remove possibility of infinite loop.
263
beb0d161
KH
2642000-11-20 Kazu Hirata <[email protected]>
265
266 * aix386-core.c: Fix formatting.
267 * aout-adobe.c: Likewise.
268 * aout-arm.c: Likewise.
269 * aout-encap.c: Likewise.
270 * aout-ns32k.c: Likewise.
271 * aout-target.h: Likewise.
272 * aout-tic30.c: Likewise.
273 * aoutf1.h: Likewise.
274 * aoutx.h: Likewise.
275 * archive.c: Likewise.
eb6e10cb
KH
276 * bfd-in.h: Likewise.
277 * bfd-in2.h: Likewise.
278 * bfd.c: Likewise.
279 * bout.c: Likewise.
beb0d161 280
2c2475db
JW
2812000-11-17 H.J. Lu <[email protected]>
282
283 * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Don't create
284 pltoff entries for DT_INIT and DT_FINI.
285 (elfNN_ia64_final_link): Don't set DT_INIT/FINI entries.
286 (elfNN_ia64_finish_dynamic_sections): Don't fill in DT_INIT/FINI
287 entries.
288
18b27f17
RH
2892000-11-16 Richard Henderson <[email protected]>
290
291 * elfxx-ia64.c (elfNN_ia64_check_relocs): Handle IPLT relocs.
292 (allocate_dynrel_entries): Likewise.
293 (elfNN_ia64_relocate_section): Likewise. Set REL addends correctly.
294 (set_pltoff_entry): Likewise.
295 (ia64_howto_table): Remove R_IA64_SEGBASE, and R_IA64_EPLT[ML]SB
296 (elfNN_ia64_reloc_type_lookup): Likewise.
297 (elfNN_ia64_install_value): Likewise.
298 (elfNN_ia64_relocate_section): Likewise.
299 * reloc.c (BFD_RELOC_IA64_SEGBASE): Remove.
300 (BFD_RELOC_IA64_EPLTMSB, BFD_RELOC_IA64_EPLTLSB): Remove.
301
98591c73
KH
3022000-11-16 Kazu Hirata <[email protected]>
303
71f6b586
KH
304 * cpu-a29k.c: Fix formatting.
305 * cpu-alpha.c: Likewise.
306 * cpu-arm.c: Likewise.
307 * cpu-avr.c: Likewise.
308 * cpu-d10v.c: Likewise.
309 * cpu-h8500.c: Likewise.
310 * cpu-hppa.c: Likewise.
311 * cpu-i370.c: Likewise.
312 * cpu-i386.c: Likewise.
313 * cpu-i960.c: Likewise.
314 * cpu-ia64-opc.c: Likewise.
315 * cpu-ia64.c: Likewise.
316 * cpu-m32r.c: Likewise.
317 * cpu-m68hc11.c: Likewise.
318 * cpu-m68hc12.c: Likewise.
319 * cpu-m68k.c: Likewise.
320 * cpu-m88k.c: Likewise.
321 * cpu-mips.c: Likewise.
322 * cpu-ns32k.c: Likewise.
323 * cpu-pj.c: Likewise.
324 * cpu-powerpc.c: Likewise.
325 * cpu-sh.c: Likewise.
326 * cpu-sparc.c: Likewise.
327 * cpu-tic54x.c: Likewise.
328 * cpu-v850.c: Likewise.
329 * cpu-vax.c: Likewise.
330 * cpu-w65.c: Likewise.
331 * cpu-we32k.c: Likewise.
332 * cpu-z8k.c: Likewise.
333 * dwarf1.c: Likewise.
98591c73
KH
334 * dwarf2.c: Likewise.
335
c5930ee6
KH
3362000-11-15 Kazu Hirata <[email protected]>
337
338 * coff-arm.c: Fix formatting.
339 * coff-ppc.c: Likewise.
340 * coff-rs6000.c: Likewise.
cbfe05c4
KH
341 * coff-sh.c: Likewise.
342 * coff-sparc.c: Likewise.
343 * coff-tic30.c: Likewise.
344 * coff-tic54x.c: Likewise.
345 * coff-tic80.c: Likewise.
346 * coff-w65.c: Likewise.
347 * coff-we32k.c: Likewise.
348 * coff-z8k.c: Likewise.
c5930ee6 349
dac544a8
RH
3502000-11-15 Richard Henderson <[email protected]>
351
352 * elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc
353 section with the same ALLOC|LOAD flags as the source section.
354
c810873d
JJ
3552000-11-14 Jakub Jelinek <[email protected]>
356
357 * elf64-alpha.c (elf64_alpha_relax_opt_call): Only check bits used
358 by STO_ALPHA constants.
359
43646c9d
KH
3602000-11-14 Kazu Hirata <[email protected]>
361
362 * coff-pmac.c: Fix formatting.
363 * coff-ppc.c: Likewise.
364
051b8577
L
3652000-11-13 H.J. Lu <[email protected]>
366
367 * elflink.h (elf_link_add_object_symbols): Also add indirect
368 symbols for common symbols with the default version.
369
90460d97
PB
3702000-11-09 Philip Blundell <[email protected]>
371
372 * section.c (STD_SECTION): Set gc_mark flag.
373
b48499ec
KH
3742000-11-11 Kazu Hirata <[email protected]>
375
376 * coff-i960.c: Likewise.
377 * coff-m68k.c: Likewise.
378 * coff-m88k.c: Likewise.
379 * coff-mcore.c: Likewise.
380 * coff-mips.c: Likewise.
381
c5aeb40f
AO
3822000-11-11 Bernd Schmidt <[email protected]>
383
384 * elf32-sh.c (sh_elf_relocate_section): Ignore R_SH_NONE relocs.
385
5fcfd273
KH
3862000-11-10 Kazu Hirata <[email protected]>
387
388 * coff-h8300.c: Fix formatting.
389 * coff-h8500.c: Likewise.
390 * coff-i386.c: Likewise.
391 * coff-i860.c: Likewise.
392 * coff-i960.c: Likewise.
393 * coff-ia64.c: Likewise.
394
047066e1
KH
3952000-11-09 Kazu Hirata <[email protected]>
396
397 * archive.c: Fix formatting.
398 * archures.c: Likewise.
399
9a951beb
RH
4002000-11-07 Richard Henderson <[email protected]>
401
402 * elfxx-ia64.c (elf64_ia64_final_link): New local unwind_output_sec.
403 Set it before bfd_elf64_bfd_final_link call. Use it after the call.
404 * section.c (bfd_set_section_contents): Call memcpy if
405 section->contents set and location not equal to contents plus offset.
406
aebad5fe
KH
4072000-11-08 Kazu Hirata <[email protected]>
408
8546af74
KH
409 * bfd-in.h: Fix formatting.
410 * bfd-in2.h: Likewise.
411 * bfd.c: Likewise.
aebad5fe
KH
412 * binary.c: Likewise.
413 * bout.c: Likewise.
346ceb11
KH
414 * coff-a29k.c: Likewise.
415 * coff-alpha.c: Likewise.
416 * coff-apollo.c: Likewise.
417 * coff-aux.c: Likewise.
aebad5fe 418
0ef5a5bd
KH
4192000-11-07 Kazu Hirata <[email protected]>
420
421 * aix386-core.c: Fix formatting.
422 * aoutf1.h: Likewise.
423 * aoutx.h: Likewise.
424 * archures.c: Likewise.
425 * armnetbsd.c: Likewise.
426
d562d2fb
AM
4272000-11-07 Alan Modra <[email protected]>
428
429 * coff-h8300.c (special): Adjust reloc address.
430
bbe66d08
JW
4312000-11-06 Steve Ellcey <[email protected]>
432
4efc3e05 433 * archures.c (bfd_mach_ia64_elf64, bfd_mach_ia64_elf32): Add defines
bbe66d08
JW
434 to differentiate elf32 and elf64 on ia64.
435 * bfd-in2.h: Regenerate.
436 * config.bfd: Add target for "ia64*-*-hpux*".
437 * configure.in: Add bfd_elf32_ia64_big_vec to selvecs switch.
438 * configure: Regenerate.
4efc3e05 439 * cpu-ia64.c (bfd_ia64_elf32_arch): Add elf32 arch info structure.
bbe66d08
JW
440 * targets.c: Add bfd_target bfd_elf32_ia64_big_vec.
441
442 * Makefile.am: Make elf32-ia64.c and elf64-ia64.c derived objects
443 from elfxx-ia64.c. Add depenency rules for making elf32-ia64.lo.
444 * Makefile.in: Regnerate.
4efc3e05 445 * elf64-ia64.c: Deleted.
bbe66d08
JW
446 * elfxx-ia64.c: New file, paramaterized version of elf64-ia64.c.
447
c4dfa77f
KH
4482000-11-06 Kazu Hirata <[email protected]>
449
450 * aout-adobe.c: Fix formatting.
451 * aout-arm.c: Likewise.
452 * aout-cris.c: Likewise.
453 * aout-encap.c: Likewise.
454 * aout-ns32k.c: Likewise.
455 * aout-target.h: Likewise.
456 * aout-tic30.c: Likewise.
457
cf919dfd
PB
4582000-11-05 Philip Blundell <[email protected]>
459
460 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Always permit
461 BFDs containing no sections to be merged, regardless of their flags.
462
4632000-11-04 Philip Blundell <[email protected]>
464
465 * elf32-arm.h (elf32_arm_relocate_section): Suppress error message
466 if a relocation for an undefined symbol also results in an
467 overflow.
468
8d88c4ca 4692000-11-06 Christopher Faylor <[email protected]>
8848a8d0
CF
470
471 * config.bfd: Add support for Sun Chorus.
472
46d59bfa
DB
4732000-11-05 David O'Brien <[email protected]>
474
475 * configure.in: Recognize alpha-*-freebsd*.
476 * configure: Regenerate.
477
420496c1
NC
4782000-11-02 Luciano Gemme <[email protected]>
479
480 * srec.c (CHUNK): Rename to DEFAULT_CHUNK.
481 (Chunk): New global variable set by a parameter in objcopy.c.
482 (S3Forced): New global variable set by a parameter in
483 objcopy.c.
484 (srec_set_section_contents): If S3Forced is true, always generate
485 S3 records.
486 (srec_write_section): Use 'Chunk' to limit maximum length of S
487 records.
488
59ff2774
NC
4892000-11-02 Per Lundberg <[email protected]>
490
491 * config.bfd: Add support for i[3456]86-chaosdev-storm-chaos.
492 * Makefile.in: Regenerate.
493 * bfd-in2.h: Regenerate.
494 * po/bfd.pot: Regenerate.
495
ee43f35e
PB
4962000-10-31 Philip Blundell <[email protected]>
497
498 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Only handle
499 EF_SOFT_FLOAT if it is defined.
500
1006ba19
PB
5012000-10-27 Philip Blundell <[email protected]>
502
503 * elf32-arm.h (elf32_arm_copy_private_bfd_data): Don't refuse
504 attempts to mix PIC code with non-PIC, just mark the output as
505 being position dependent.
506 (elf32_arm_merge_private_bfd_data): Likewise. Print an error
507 message for EF_SOFT_FLOAT mismatches. Display diagnostics for
508 all mismatches, not just the first one.
509
c4920b97
NC
5102000-10-25 Chris Demetriou <[email protected]>
511
512 * ieee.c (ieee_archive_p): Plug one of many possible
513 memory leaks in error handling.
514
19f7b010
JJ
5152000-10-20 Jakub Jelinek <[email protected]>
516
517 * elf32-sparc.c (elf32_sparc_merge_private_bfd_data,
518 elf32_sparc_object_p, elf32_sparc_final_write_processing):
519 Support v8plusb.
520 * elf64-sparc.c (sparc64_elf_merge_private_bfd_data,
521 sparc64_elf_object_p): Support v9b.
522 * archures.c: Declare v8plusb and v9b machines.
523 * bfd-in2.h: Ditto.
524 * cpu-sparc.c: Ditto.
525
e1e0340b
GK
5262000-10-16 Geoffrey Keating <[email protected]>
527
ea5fbc67
GK
528 * elf64-sparc.c (sparc64_elf_relocate_section): Clear the location
529 of a GOT reloc.
530
e1e0340b
GK
531 * elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): New macro.
532 (SYMBOL_CALLS_LOCAL): New macro.
533 (ppc_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.
534 (ppc_elf_check_relocs): Use SYMBOL_REFERENCES_LOCAL.
535 (ppc_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL.
536 (ppc_elf_relocate_section): Use flag variable to determine
537 whether the relocation refers to a local symbol.
538 Test whether a PLTREL24 reloc will produce a reloc by looking
539 to see whether a PLT entry was made.
540
a4b120e1
GK
5412000-10-14 Geoffrey Keating <[email protected]>
542
543 * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make PLT
544 entries that could serve as a definition for a weak symbol.
545
5af5b85b
UC
5462000-10-13 Ulf Carlsson <[email protected]>
547
548 From Ralf Baechle <[email protected]>
549
550 * elf32-mips.c (mips_elf_create_dynamic_relocation): New argument
551 local_p. Add symbol value only for non-R_MIPS_REL32 relocations
552 against local symbols.
553 (_bfd_mips_elf_finish_dynamic_sections): Undo patch from 2000-10-01.
554
3ef20aaa
AM
5552000-10-12 Alan Modra <[email protected]>
556
24376d1b
AM
557 * section.c (struct sec): Add kept_section.
558 (struct bfd_comdat_info): Remove sec, we can use above.
559 (STD_SECTION): Add initializer.
560 (bfd_make_section_anyway): Init here too.
561
562 * bfd-in2.h: Regenerate.
563
564 * elflink.h (elf_link_add_object_symbols): Remove unnecessary
565 zeroing of `flags'.
566 (elf_link_input_bfd): Set all asection->symbol->value's here, and
567 fudge values for discarded link-once section symbols.
568
3ef20aaa
AM
569 * elf64-hppa.c: Include alloca-conf.h
570
c0e219cc
AM
5712000-10-11 Alan Modra <[email protected]>
572
d01e2a23
AM
573 * elf.c (swap_out_syms): Revert 2000-10-07 changes.
574
c0e219cc
AM
575 * ieee.c (ieee_make_empty_symbol): Oops, bfd_zalloc needs another arg.
576
fe268b66
AM
5772000-10-10 Alan Modra <[email protected]>
578
579 * ieee.c (ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc.
580
4d7ce4dd
AM
5812000-10-10 Tom Rix <[email protected]>
582
583 * section.c (bfd_make_section_anyway): Release newsect ptr when
584 newsect->symbol fails to alloc. Use bfd_release instead of free.
585
f3b6f7c3
RH
5862000-10-09 Richard Henderson <[email protected]
587
588 * elf64-ia64.c (elf64_ia64_unwind_entry_compare_bfd): New.
589 (elf64_ia64_unwind_entry_compare): New.
590 (elf64_ia64_final_link): Sort the .IA_64.unwind section.
591
44852b19
AM
5922000-10-07 Alan Modra <[email protected]>
593
fc8c40a0
AM
594 * elflink.h (size_dynamic_sections): Don't create various tags if
595 .dynstr is excluded from the link. Don't set first dynsym entry
596 if dynsymcount is zero.
597 (elf_bfd_final_link): Don't try to swap out dynamic syms if
598 .dynsym excluded from the link. Don't try to write any dynamic
599 sections excluded from the link.
600
44852b19
AM
601 * elf.c (swap_out_syms): Handle global section symbols.
602
3e4554a2
DD
6032000-10-05 DJ Delorie <[email protected]>
604
605 * peigen.c (_bfd_pei_swap_scnhdr_out): note extended relocs
606 * coffcode.h (coff_set_alignment_hook): read extended reloc count
607 (coff_write_relocs): write extended reloc count
608 (coff_write_object_contents): account for extended relocs
609
fa152c49
JW
6102000-10-05 Jim Wilson <[email protected]>
611
612 * elf-bfd.h (struct elf_backend_data): Add elf_backend_section_flags
613 field.
614 * elf.c (_bfd_elf_make_section_from_shdr): Call the
615 elf_backend_section_flags function.
616 * elf64-ia64.c (elf64_ia64_section_from_shdr): Delete flag conversion
617 code.
618 (elf64_ia64_section_flags): New function containing flag conversion
619 code.
620 (elf_backend_section_flags): Define to elf64_ia64_section_flags.
621 * elfxx-target.h (elf_backend_section_flags): Define.
622 (elfNN_bed): Initialize elf_backend_section_flags field.
623
36605136
AM
6242000-10-02 Alan Modra <[email protected]>
625
626 * elf32-hppa.c (elf32_hppa_check_relocs): Correct call to
627 _bfd_elf32_gc_record_vtable. Correct a comment.
628
4b6609a0
UC
6292000-10-01 Ulf Carlsson <[email protected]>
630
631 From Ralf Baechle <[email protected]>
632
633 * elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Mark gld
634 produces binaries with got[1] = 0x80000001 to differenciate them
635 for the dynamic linker from the broken binaries produced by old
636 versions.
36605136 637
f572a39d
AM
6382000-09-30 Petr Sorfa <[email protected]>
639
640 * elf.c (elfcore_grok_pstatus): Check for size of pxstatus_t.
641 (elfcore_grok_lwpstatus): Check for size of lwpxstatus_t.
642 * configure.in: Add check for pxstatus_t and lwpxstatus_t.
643 * configure: Regenerate.
644
4da81684
HPN
6452000-09-27 Hans-Peter Nilsson <[email protected]>
646
647 Define two bfd_targets for absence and presence of leading
648 underscore on symbols. Make sure to only link same kind.
649 * elf32-cris.c (cris_elf_object_p,
650 cris_elf_final_write_processing, cris_elf_print_private_bfd_data,
651 cris_elf_merge_private_bfd_data): New.
652 (elf_backend_object_p, elf_backend_final_write_processing,
653 bfd_elf32_bfd_print_private_bfd_data,
654 bfd_elf32_bfd_merge_private_bfd_data): Define.
655 <Target vector definition>: Include elf32-target.h twice with
656 different macro settings:
657 (TARGET_LITTLE_SYM): First as bfd_elf32_cris_vec, then as
658 bfd_elf32_us_cris_vec.
659 (TARGET_LITTLE_NAME): First as "elf32-cris", then "elf32-us-cris".
660 (elf_symbol_leading_char): First as 0, then '_'.
661 (INCLUDED_TARGET_FILE): Define for second include of elf32-target.h.
662 * config.bfd (cris-*-*): Add bfd_elf32_us_cris_vec to targ_selvecs.
663 * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vector.
664 * configure: Regenerate.
665 * targets.c: Declare bfd_elf32_us_cris_vec.
666 * po/bfd.pot: Regenerate.
667
9a5aca8c
AM
6682000-09-29 Momchil Velikov <[email protected]>
669
670 * elf32-arm.h (arm_add_to_rel): Correctly adjust the addend for
671 R_ARM_THM_PC22 relocations.
672
512a2384
AM
6732000-09-29 NIIBE Yutaka <[email protected]>
674
675 * elflink.h (elf_link_add_object_symbols): Don't bfd_release runpath.
676
6c99a5c3
AM
6772000-09-29 Momchil Velikov <[email protected]>
678
679 * elf.c (elf_fake_sections): Do not mark the section SHT_NOBITS if
680 is has the SEC_HAS_CONTENTS flag set.
681
b16885a1
HPN
682