2000-12-08 Michael Snyder <msnyder@mvstp600e.cygnus.com>
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
435b1e90
KH
12000-12-08 Kazu Hirata <kazu@hxi.com>
2
3 * coffgen.c: Fix formatting.
4 * elf32-i386.c: Likewise.
5 * elf32-i960.c: Likewise.
6 * elf32-m68k.c: Likewise.
7 * elf32-mcore.c: Likewise.
8 * elf32-ppc.c: Likewise.
9 * elf32-sh.c: Likewise.
10 * elf32-sparc.c: Likewise.
11 * elf32-v850.c: Likewise.
12 * elf64-sparc.c: Likewise.
13 * elf-m10300.c: Likewise.
14
8da6118f
KH
152000-12-07 Kazu Hirata <kazu@hxi.com>
16
17 * elf32-ppc.c: Fix formatting.
18 * elf64-x86-64.c: Likewise.
19
a9922e52
UC
202000-12-06 Ulf Carlsson <ulfc@engr.sgi.com>
21
22 From Ralf Baechle <ralf@gnu.org>
23
24 * elf32-mips.c (elf32_mips_merge_private_bfd_data): Always permit
25 BFDs containing no sections or empty .text, .data or .bss sections
26 to be merged, regardless of their flags.
27
c3668558
KH
282000-12-06 Kazu Hirata <kazu@hxi.com>
29
30 * elf32-m32r.c: Fix formatting.
31 * elf32-m68hc11.c: Likewise.
32 * elf32-m68hc12.c: Likewise.
33 * elf32-m68k.c: Likewise.
34 * elf32-mcore.c: Likewise.
35 * elf32-pj.c: Likewise.
36 * elf32-ppc.c: Likewise.
37
6609fa74
KH
382000-12-05 Kazu Hirata <kazu@hxi.com>
39
40 * elf32-fr30.c: Fix formatting.
41 * elf32-hppa.c: Likewise.
42 * elf32-i370.c: Likewise.
43 * elf32-i386.c: Likewise.
44 * elf32-i860.c: Likewise.
45 * elf32-i960.c: Likewise.
46
a7c10850
KH
472000-12-03 Kazu Hirata <kazu@hxi.com>
48
49 * elf32-arm.h: Fix formatting.
50 * elf32-avr.c: Likewise.
51 * elf32-cris.c: Likewise.
52 * elf32-d10v.c: Likewise.
53 * elf32-d30v.c: Likewise.
54 * elf-hppa.h: Likewise.
55 * elf-m10200.c: Likewise.
56 * elf-m10300.c: Likewise.
57
e7af610e
NC
582000-12-01 Chris Demetriou <cgd@sibyte.com>
59
60 * aoutx.h (NAME(aout,machine_type)): Add bfd_mach_mips32 and
61 bfd_mach_mips32_4k. Update FIXME comment.
62 * archures.c (bfd_mach_mips32): New constant.
63 (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to
64 the latter, renumber it.
65 * bfd-in2.h (bfd_mach_mips32): New constant.
66 (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to
67 the latter, renumber it.
68 * cpu-mips.c (I_mips32): New constant.
69 (I_mips4K, I_mips32_4k): Rename the former to the latter.
70 (arch_info_struct): Add bfd_mach_mips32 entry, replace
71 bfd_mach_mips4K entry with bfd_mach_mips32_4k entry.
72 * elf32-mips.c (elf_mips_isa): Add E_MIPS_ARCH_32 case.
73 (elf_mips_mach): Likewise. Also, replace E_MIPS_MACH_MIPS32
74 with E_MIPS_MACH_MIPS32_4K.
75 (_bfd_mips_elf_final_write_processing): Replace
76 bfd_mach_mips4K with bfd_mach_mips32_4k case, add
77 bfd_mach_mips32 case.
78 (_bfd_mips_elf_merge_private_bfd_data): Generalize ISA mixing
79 comparison with support for MIPS32.
80 (_bfd_mips_elf_print_private_bfd_data): Print ISA name for
81 MIPS32.
82
84ea6cf2
NC
83 * aoutx.h (NAME(aout,machine_type)): Add cases for
84 bfd_mach_mips5 and bfd_mach_mips64.
85 * archures.c (bfd_mach_mips5, bfd_mach_mips64): New constants.
86 * bfd-in2.h (bfd_mach_mips5, bfd_mach_mips64): Likewise.
87 * cpu_mips.c (I_mips5, I_mips64): New definitions.
88 (arch_info_struct): Add entries for bfd_mach_mips5 and
89 bfd_mach_mips64.
90 * elf32-mips.c (elf_mips_isa, elf_mips_mach,
91 _bfd_mips_elf_print_private_bfd_data): Add cases for
92 E_MIPS_ARCH_5 and E_MIPS_ARCH_64.
93 (_bfd_mips_elf_final_write_processing): Add cases for
94 bfd_mach_mips5 and bfd_mach_mips64.
95
c6c98b38
NC
96 * bfd/aoutx.h (NAME(aout,machine_type)): Add a
97 bfd_mach_mips_sb1 case.
98 * bfd/archures.c (bfd_mach_mips_sb1): New constant.
99 * bfd/bfd-in2.h (bfd_mach_mips_sb1): New constant.
100 * bfd/cpu-mips.c (I_sb1): New constant.
101 (arch_info_struct): Add entry for bfd_mach_mips_sb1.
102 * bfd/elf32-mips.c (elf_mips_mach): Add case for
103 E_MIPS_MACH_SB1.
104 (_bfd_mips_elf_final_write_processing): Add case for
105 bfd_mach_mips_sb1.
106
ddcfc5fc
NC
1072000-12-01 Joel Sherrill <joel@OARcorp.com>
108
109 * config.bfd (arm-*-rtems*, a29k-*rtems*): New targets.
110 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
111 (sparc*-*-rtems*): Switched from a.out to ELF.
112
8d88c4ca
NC
1132000-11-30 Jan Hubicka <jh@suse.cz>
114
115 * Makefile.am (BFD64_BACKENDS): Add elf64-x86-64.lo
116 BFD64_BACKENDS_CFILES): Add elf64-x86-64.c
117 (elf64-x86-64.lo): Add dependencies.
118 * archures.c (DESCRIPTION): Add bfd_mach_x86_64,
119 bfd_mach_x86_64_intel_syntax.
120 * elf.c (prep_headers): Use EM_x86_64 for 64bit output.
121 * config.bfd (x86_64): Add.
122 * configure.in: Add support for bfd_elf64_x86_64_vec.
123 * cpu-i386.c (bfd_x86_64_arch_intel_syntax, bfd_x86_64_arch): Add.
124 (bfd_i386_arch, i8086_ar): Link in.
125 * elf64-x86-64.c: New file.
126 * reloc.c (ENUMDOC): Add BFD_RELOC_X86_64*.
127 * targets.c (bfd_elf64_x86_64_vec): Add.
128 (bfd_target_vect): Add bfd_elf64_x86_64_vec.
129
fbc4fff4
KH
1302000-11-30 Kazu Hirata <kazu@hxi.com>
131
132 * xcofflink.c: Fix formatting.
133
e60b52c6
KH
1342000-11-28 Kazu Hirata <kazu@hxi.com>
135
136 * aoutx.h: Fix formatting.
137 * bfd-in.h: Likewise.
138 * bfd-in2.h: Likewise.
139 * cache.c: Likewise.
140 * cisco-core.c: Likewise.
141 * coff64-rs6000.c: Likewise.
142 * coffcode.h: Likewise.
143 * coffswap.h: Likewise.
144 * corefile.c: Likewise.
be3ccd9c 145 * elf32-mips.c: Likewise.
e60b52c6 146
336eced2
KH
1472000-11-27 Kazu Hirata <kazu@hxi.com>
148
149 * aout-adobe.c: Fix formatting.
244148ad
KH
150 * coff64-rs6000.c: Likewise.
151 * coffgen.c: Likewise.
152 * cofflink.c: Likewise.
336eced2 153
d71f672e
PB
1542000-11-27 Philip Blundell <pb@futuretv.com>
155
156 * libcoff-in.h (coff_tdata): Add `strings_written' flag.
157 (obj_coff_strings_written): New accessor macro for above.
158 * libcoff.h: Regenerate.
159 * cofflink.c (_bfd_coff_final_link): Say that we wrote the
160 strings.
161 * coffcode.h (coff_write_object_contents): No need to write out
162 the string table if it's already been done.
163
bc7a577d
PB
1642000-11-22 Philip Blundell <pb@futuretv.com>
165
166 * cofflink.c (_bfd_coff_generic_relocate_section): Don't object to
167 weak undefined symbols.
168
077b8428
NC
1692000-11-24 Nick Clifton <nickc@redhat.com>
170
171 * archures.c (bfd_mach_arm_5TE): Define.
172 (bfd_mach_arm+XScale): Define.
173 * bfd-in2.h: Regenerate.
174
175 * coff-arm.c (coff_arm_reloc_type_lookup): Accept
176 BFD_RELOC_ARM_PCREL_BLX.
177
178 * coffcode.h (coff_set_flags): Set flags for 5t, 5te and
179 XScale machine numbers.
180
181 * config.bfd (xscale-elf): Add target.
182 (xscale-coff): Add target.
183
184 * cpu-arm.c: Add xscale machine name.
185 Add v5t, v5te and XScale machine numbers.
186
e9e41bd9
KH
1872000-11-23 Kazu Hirata <kazu@hxi.com>
188
189 * aix386-core.c: Fix formatting.
190
64bf6ae6
JW
1912000-11-22 Jim Wilson <wilson@redhat.com>
192
193 * coff-ia64.c (howto_table): Use EMPTY_HOWTO.
194 (in_reloc_p): Add ATTRIBUTE_UNUSED to unused parameters.
195 * cpu-ia64-opc.c (ins_rsvd, ext_rsvd, ins_const, ext_const): Likewise.
196 (ins_imms_scaled): Initialize sign_bit at function entry.
197 (elf64_ia64_operands): Add missing initializers.
198 * elfxx-ia64.c (elfNN_ia64_reloc, elfNN_ia64_reloc_type_lookup,
199 elfNN_ia64_info_to_howto, elfNN_ia64_fake_sections,
200 elfNN_ia64_add_symbol_hook, elfNN_ia64_is_local_label_name,
201 elfNN_ia64_local_hash_table_init, get_fptr, get_pltoff,
202 elfNN_ia64_adjust_dynamic_symbol): Add ATTRIBUTE_UNUSED for unused
203 parameters.
204 (elfNN_ia64_info_to_howto): Initialize free_relocs, free_contents,
205 and free_extsyms at function entry.
206 (elfNN_add_symbol_hook): Add unsigned cast to bfd_get_gp_size result.
207 (elfNN_ia64_create_dynamic_sections): Delete unused local h.
208 (get_got): Delete unused local srel.
209 (elfNN_ia64_check_relocs): Initialize dynrel_type when declared.
210 (elfNN_ia64_relocate_section): Delete unused local dynindx.
211
1abaf976
KH
2122000-11-21 Kazu Hirata <kazu@hxi.com>
213
6e301b2b
KH
214 * coff-a29k.c: Fix formatting.
215 * coff-h8500.c: Likewise.
216 * coff-i960.c: Likewise.
217 * coff-ppc.c: Likewise.
218 * coff-rs6000.c: Likewise.
219 * coff-stgo32.c: Likewise.
220 * coff-tic54x.c: Likewise.
221 * coff-w65.c: Likewise.
222 * cpu-h8500.c: Likewise.
223 * cpu-hppa.c: Likewise.
224 * cpu-ns32k.c: Likewise.
225 * ecoff.c: Likewise.
1abaf976
KH
226 * ecofflink.c: Likewise.
227
a0fc8ba1
NC
2282000-11-21 Nick Clifton <nickc@redhat.com>
229
230 * elf32-sh.c (sh_elf_reloc_loop): Fix compile time warning, and
231 remove possibility of infinite loop.
232
beb0d161
KH
2332000-11-20 Kazu Hirata <kazu@hxi.com>
234
235 * aix386-core.c: Fix formatting.
236 * aout-adobe.c: Likewise.
237 * aout-arm.c: Likewise.
238 * aout-encap.c: Likewise.
239 * aout-ns32k.c: Likewise.
240 * aout-target.h: Likewise.
241 * aout-tic30.c: Likewise.
242 * aoutf1.h: Likewise.
243 * aoutx.h: Likewise.
244 * archive.c: Likewise.
eb6e10cb
KH
245 * bfd-in.h: Likewise.
246 * bfd-in2.h: Likewise.
247 * bfd.c: Likewise.
248 * bout.c: Likewise.
beb0d161 249
2c2475db
JW
2502000-11-17 H.J. Lu <hjl@gnu.org>
251
252 * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Don't create
253 pltoff entries for DT_INIT and DT_FINI.
254 (elfNN_ia64_final_link): Don't set DT_INIT/FINI entries.
255 (elfNN_ia64_finish_dynamic_sections): Don't fill in DT_INIT/FINI
256 entries.
257
18b27f17
RH
2582000-11-16 Richard Henderson <rth@redhat.com>
259
260 * elfxx-ia64.c (elfNN_ia64_check_relocs): Handle IPLT relocs.
261 (allocate_dynrel_entries): Likewise.
262 (elfNN_ia64_relocate_section): Likewise. Set REL addends correctly.
263 (set_pltoff_entry): Likewise.
264 (ia64_howto_table): Remove R_IA64_SEGBASE, and R_IA64_EPLT[ML]SB
265 (elfNN_ia64_reloc_type_lookup): Likewise.
266 (elfNN_ia64_install_value): Likewise.
267 (elfNN_ia64_relocate_section): Likewise.
268 * reloc.c (BFD_RELOC_IA64_SEGBASE): Remove.
269 (BFD_RELOC_IA64_EPLTMSB, BFD_RELOC_IA64_EPLTLSB): Remove.
270
98591c73
KH
2712000-11-16 Kazu Hirata <kazu@hxi.com>
272
71f6b586
KH
273 * cpu-a29k.c: Fix formatting.
274 * cpu-alpha.c: Likewise.
275 * cpu-arm.c: Likewise.
276 * cpu-avr.c: Likewise.
277 * cpu-d10v.c: Likewise.
278 * cpu-h8500.c: Likewise.
279 * cpu-hppa.c: Likewise.
280 * cpu-i370.c: Likewise.
281 * cpu-i386.c: Likewise.
282 * cpu-i960.c: Likewise.
283 * cpu-ia64-opc.c: Likewise.
284 * cpu-ia64.c: Likewise.
285 * cpu-m32r.c: Likewise.
286 * cpu-m68hc11.c: Likewise.
287 * cpu-m68hc12.c: Likewise.
288 * cpu-m68k.c: Likewise.
289 * cpu-m88k.c: Likewise.
290 * cpu-mips.c: Likewise.
291 * cpu-ns32k.c: Likewise.
292 * cpu-pj.c: Likewise.
293 * cpu-powerpc.c: Likewise.
294 * cpu-sh.c: Likewise.
295 * cpu-sparc.c: Likewise.
296 * cpu-tic54x.c: Likewise.
297 * cpu-v850.c: Likewise.
298 * cpu-vax.c: Likewise.
299 * cpu-w65.c: Likewise.
300 * cpu-we32k.c: Likewise.
301 * cpu-z8k.c: Likewise.
302 * dwarf1.c: Likewise.
98591c73
KH
303 * dwarf2.c: Likewise.
304
c5930ee6
KH
3052000-11-15 Kazu Hirata <kazu@hxi.com>
306
307 * coff-arm.c: Fix formatting.
308 * coff-ppc.c: Likewise.
309 * coff-rs6000.c: Likewise.
cbfe05c4
KH
310 * coff-sh.c: Likewise.
311 * coff-sparc.c: Likewise.
312 * coff-tic30.c: Likewise.
313 * coff-tic54x.c: Likewise.
314 * coff-tic80.c: Likewise.
315 * coff-w65.c: Likewise.
316 * coff-we32k.c: Likewise.
317 * coff-z8k.c: Likewise.
c5930ee6 318
dac544a8
RH
3192000-11-15 Richard Henderson <rth@redhat.com>
320
321 * elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc
322 section with the same ALLOC|LOAD flags as the source section.
323
c810873d
JJ
3242000-11-14 Jakub Jelinek <jakub@redhat.com>
325
326 * elf64-alpha.c (elf64_alpha_relax_opt_call): Only check bits used
327 by STO_ALPHA constants.
328
43646c9d
KH
3292000-11-14 Kazu Hirata <kazu@hxi.com>
330
331 * coff-pmac.c: Fix formatting.
332 * coff-ppc.c: Likewise.
333
051b8577
L
3342000-11-13 H.J. Lu <hjl@gnu.org>
335
336 * elflink.h (elf_link_add_object_symbols): Also add indirect
337 symbols for common symbols with the default version.
338
90460d97
PB
3392000-11-09 Philip Blundell <pb@futuretv.com>
340
341 * section.c (STD_SECTION): Set gc_mark flag.
342
b48499ec
KH
3432000-11-11 Kazu Hirata <kazu@hxi.com>
344
345 * coff-i960.c: Likewise.
346 * coff-m68k.c: Likewise.
347 * coff-m88k.c: Likewise.
348 * coff-mcore.c: Likewise.
349 * coff-mips.c: Likewise.
350
c5aeb40f
AO
3512000-11-11 Bernd Schmidt <bernds@cygnus.co.uk>
352
353 * elf32-sh.c (sh_elf_relocate_section): Ignore R_SH_NONE relocs.
354
5fcfd273
KH
3552000-11-10 Kazu Hirata <kazu@hxi.com>
356
357 * coff-h8300.c: Fix formatting.
358 * coff-h8500.c: Likewise.
359 * coff-i386.c: Likewise.
360 * coff-i860.c: Likewise.
361 * coff-i960.c: Likewise.
362 * coff-ia64.c: Likewise.
363
047066e1
KH
3642000-11-09 Kazu Hirata <kazu@hxi.com>
365
366 * archive.c: Fix formatting.
367 * archures.c: Likewise.
368
9a951beb
RH
3692000-11-07 Richard Henderson <rth@redhat.com>
370
371 * elfxx-ia64.c (elf64_ia64_final_link): New local unwind_output_sec.
372 Set it before bfd_elf64_bfd_final_link call. Use it after the call.
373 * section.c (bfd_set_section_contents): Call memcpy if
374 section->contents set and location not equal to contents plus offset.
375
aebad5fe
KH
3762000-11-08 Kazu Hirata <kazu@hxi.com>
377
8546af74
KH
378 * bfd-in.h: Fix formatting.
379 * bfd-in2.h: Likewise.
380 * bfd.c: Likewise.
aebad5fe
KH
381 * binary.c: Likewise.
382 * bout.c: Likewise.
346ceb11
KH
383 * coff-a29k.c: Likewise.
384 * coff-alpha.c: Likewise.
385 * coff-apollo.c: Likewise.
386 * coff-aux.c: Likewise.
aebad5fe 387
0ef5a5bd
KH
3882000-11-07 Kazu Hirata <kazu@hxi.com>
389
390 * aix386-core.c: Fix formatting.
391 * aoutf1.h: Likewise.
392 * aoutx.h: Likewise.
393 * archures.c: Likewise.
394 * armnetbsd.c: Likewise.
395
d562d2fb
AM
3962000-11-07 Alan Modra <alan@linuxcare.com.au>
397
398 * coff-h8300.c (special): Adjust reloc address.
399
bbe66d08
JW
4002000-11-06 Steve Ellcey <sje@cup.hp.com>
401
4efc3e05 402 * archures.c (bfd_mach_ia64_elf64, bfd_mach_ia64_elf32): Add defines
bbe66d08
JW
403 to differentiate elf32 and elf64 on ia64.
404 * bfd-in2.h: Regenerate.
405 * config.bfd: Add target for "ia64*-*-hpux*".
406 * configure.in: Add bfd_elf32_ia64_big_vec to selvecs switch.
407 * configure: Regenerate.
4efc3e05 408 * cpu-ia64.c (bfd_ia64_elf32_arch): Add elf32 arch info structure.
bbe66d08
JW
409 * targets.c: Add bfd_target bfd_elf32_ia64_big_vec.
410
411 * Makefile.am: Make elf32-ia64.c and elf64-ia64.c derived objects
412 from elfxx-ia64.c. Add depenency rules for making elf32-ia64.lo.
413 * Makefile.in: Regnerate.
4efc3e05 414 * elf64-ia64.c: Deleted.
bbe66d08
JW
415 * elfxx-ia64.c: New file, paramaterized version of elf64-ia64.c.
416
c4dfa77f
KH
4172000-11-06 Kazu Hirata <kazu@hxi.com>
418
419 * aout-adobe.c: Fix formatting.
420 * aout-arm.c: Likewise.
421 * aout-cris.c: Likewise.
422 * aout-encap.c: Likewise.
423 * aout-ns32k.c: Likewise.
424 * aout-target.h: Likewise.
425 * aout-tic30.c: Likewise.
426
cf919dfd
PB
4272000-11-05 Philip Blundell <philb@gnu.org>
428
429 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Always permit
430 BFDs containing no sections to be merged, regardless of their flags.
431
4322000-11-04 Philip Blundell <philb@gnu.org>
433
434 * elf32-arm.h (elf32_arm_relocate_section): Suppress error message
435 if a relocation for an undefined symbol also results in an
436 overflow.
437
8d88c4ca 4382000-11-06 Christopher Faylor <cgf@cygnus.com>
8848a8d0
CF
439
440 * config.bfd: Add support for Sun Chorus.
441
46d59bfa
DB
4422000-11-05 David O'Brien <obrien@FreeBSD.org>
443
444 * configure.in: Recognize alpha-*-freebsd*.
445 * configure: Regenerate.
446
420496c1
NC
4472000-11-02 Luciano Gemme <ishitawa@yahoo.com>
448
449 * srec.c (CHUNK): Rename to DEFAULT_CHUNK.
450 (Chunk): New global variable set by a parameter in objcopy.c.
451 (S3Forced): New global variable set by a parameter in
452 objcopy.c.
453 (srec_set_section_contents): If S3Forced is true, always generate
454 S3 records.
455 (srec_write_section): Use 'Chunk' to limit maximum length of S
456 records.
457
59ff2774
NC
4582000-11-02 Per Lundberg <plundis@chaosdev.org>
459
460 * config.bfd: Add support for i[3456]86-chaosdev-storm-chaos.
461 * Makefile.in: Regenerate.
462 * bfd-in2.h: Regenerate.
463 * po/bfd.pot: Regenerate.
464
ee43f35e
PB
4652000-10-31 Philip Blundell <philb@gnu.org>
466
467 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Only handle
468 EF_SOFT_FLOAT if it is defined.
469
1006ba19
PB
4702000-10-27 Philip Blundell <philb@gnu.org>
471
472 * elf32-arm.h (elf32_arm_copy_private_bfd_data): Don't refuse
473 attempts to mix PIC code with non-PIC, just mark the output as
474 being position dependent.
475 (elf32_arm_merge_private_bfd_data): Likewise. Print an error
476 message for EF_SOFT_FLOAT mismatches. Display diagnostics for
477 all mismatches, not just the first one.
478
c4920b97
NC
4792000-10-25 Chris Demetriou <cgd@sibyte.com>
480
481 * ieee.c (ieee_archive_p): Plug one of many possible
482 memory leaks in error handling.
483
19f7b010
JJ
4842000-10-20 Jakub Jelinek <jakub@redhat.com>
485
486 * elf32-sparc.c (elf32_sparc_merge_private_bfd_data,
487 elf32_sparc_object_p, elf32_sparc_final_write_processing):
488 Support v8plusb.
489 * elf64-sparc.c (sparc64_elf_merge_private_bfd_data,
490 sparc64_elf_object_p): Support v9b.
491 * archures.c: Declare v8plusb and v9b machines.
492 * bfd-in2.h: Ditto.
493 * cpu-sparc.c: Ditto.
494
e1e0340b
GK
4952000-10-16 Geoffrey Keating <geoffk@shoggoth.cygnus.com>
496
ea5fbc67
GK
497 * elf64-sparc.c (sparc64_elf_relocate_section): Clear the location
498 of a GOT reloc.
499
e1e0340b
GK
500 * elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): New macro.
501 (SYMBOL_CALLS_LOCAL): New macro.
502 (ppc_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.
503 (ppc_elf_check_relocs): Use SYMBOL_REFERENCES_LOCAL.
504 (ppc_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL.
505 (ppc_elf_relocate_section): Use flag variable to determine
506 whether the relocation refers to a local symbol.
507 Test whether a PLTREL24 reloc will produce a reloc by looking
508 to see whether a PLT entry was made.
509
a4b120e1
GK
5102000-10-14 Geoffrey Keating <geoffk@shoggoth.cygnus.com>
511
512 * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make PLT
513 entries that could serve as a definition for a weak symbol.
514
5af5b85b
UC
5152000-10-13 Ulf Carlsson <ulfc@engr.sgi.com>
516
517 From Ralf Baechle <ralf@gnu.org>
518
519 * elf32-mips.c (mips_elf_create_dynamic_relocation): New argument
520 local_p. Add symbol value only for non-R_MIPS_REL32 relocations
521 against local symbols.
522 (_bfd_mips_elf_finish_dynamic_sections): Undo patch from 2000-10-01.
523
3ef20aaa
AM
5242000-10-12 Alan Modra <alan@linuxcare.com.au>
525
24376d1b
AM
526 * section.c (struct sec): Add kept_section.
527 (struct bfd_comdat_info): Remove sec, we can use above.
528 (STD_SECTION): Add initializer.
529 (bfd_make_section_anyway): Init here too.
530
531 * bfd-in2.h: Regenerate.
532
533 * elflink.h (elf_link_add_object_symbols): Remove unnecessary
534 zeroing of `flags'.
535 (elf_link_input_bfd): Set all asection->symbol->value's here, and
536 fudge values for discarded link-once section symbols.
537
3ef20aaa
AM
538 * elf64-hppa.c: Include alloca-conf.h
539
c0e219cc
AM
5402000-10-11 Alan Modra <alan@linuxcare.com.au>
541
d01e2a23
AM
542 * elf.c (swap_out_syms): Revert 2000-10-07 changes.
543
c0e219cc
AM
544 * ieee.c (ieee_make_empty_symbol): Oops, bfd_zalloc needs another arg.
545
fe268b66
AM
5462000-10-10 Alan Modra <alan@linuxcare.com.au>
547
548 * ieee.c (ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc.
549
4d7ce4dd
AM
5502000-10-10 Tom Rix <trix@redhat.com>
551
552 * section.c (bfd_make_section_anyway): Release newsect ptr when
553 newsect->symbol fails to alloc. Use bfd_release instead of free.
554
f3b6f7c3
RH
5552000-10-09 Richard Henderson <rth@cygnus.com
556
557 * elf64-ia64.c (elf64_ia64_unwind_entry_compare_bfd): New.
558 (elf64_ia64_unwind_entry_compare): New.
559 (elf64_ia64_final_link): Sort the .IA_64.unwind section.
560
44852b19
AM
5612000-10-07 Alan Modra <alan@linuxcare.com.au>
562
fc8c40a0
AM
563 * elflink.h (size_dynamic_sections): Don't create various tags if
564 .dynstr is excluded from the link. Don't set first dynsym entry
565 if dynsymcount is zero.
566 (elf_bfd_final_link): Don't try to swap out dynamic syms if
567 .dynsym excluded from the link. Don't try to write any dynamic
568 sections excluded from the link.
569
44852b19
AM
570 * elf.c (swap_out_syms): Handle global section symbols.
571
3e4554a2
DD
5722000-10-05 DJ Delorie <dj@redhat.com>
573
574 * peigen.c (_bfd_pei_swap_scnhdr_out): note extended relocs
575 * coffcode.h (coff_set_alignment_hook): read extended reloc count
576 (coff_write_relocs): write extended reloc count
577 (coff_write_object_contents): account for extended relocs
578
fa152c49
JW
5792000-10-05 Jim Wilson <wilson@cygnus.com>
580
581 * elf-bfd.h (struct elf_backend_data): Add elf_backend_section_flags
582 field.
583 * elf.c (_bfd_elf_make_section_from_shdr): Call the
584 elf_backend_section_flags function.
585 * elf64-ia64.c (elf64_ia64_section_from_shdr): Delete flag conversion
586 code.
587 (elf64_ia64_section_flags): New function containing flag conversion
588 code.
589 (elf_backend_section_flags): Define to elf64_ia64_section_flags.
590 * elfxx-target.h (elf_backend_section_flags): Define.
591 (elfNN_bed): Initialize elf_backend_section_flags field.
592
36605136
AM
5932000-10-02 Alan Modra <alan@linuxcare.com.au>
594
595 * elf32-hppa.c (elf32_hppa_check_relocs): Correct call to
596 _bfd_elf32_gc_record_vtable. Correct a comment.
597
4b6609a0
UC
5982000-10-01 Ulf Carlsson <ulfc@engr.sgi.com>
599
600 From Ralf Baechle <ralf@gnu.org>
601
602 * elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Mark gld
603 produces binaries with got[1] = 0x80000001 to differenciate them
604 for the dynamic linker from the broken binaries produced by old
605 versions.
36605136 606
f572a39d
AM
6072000-09-30 Petr Sorfa <petrs@sco.com>
608
609 * elf.c (elfcore_grok_pstatus): Check for size of pxstatus_t.
610 (elfcore_grok_lwpstatus): Check for size of lwpxstatus_t.
611 * configure.in: Add check for pxstatus_t and lwpxstatus_t.
612 * configure: Regenerate.
613
4da81684
HPN
6142000-09-27 Hans-Peter Nilsson <hp@axis.com>
615
616 Define two bfd_targets for absence and presence of leading
617 underscore on symbols. Make sure to only link same kind.
618 * elf32-cris.c (cris_elf_object_p,
619 cris_elf_final_write_processing, cris_elf_print_private_bfd_data,
620 cris_elf_merge_private_bfd_data): New.
621 (elf_backend_object_p, elf_backend_final_write_processing,
622 bfd_elf32_bfd_print_private_bfd_data,
623 bfd_elf32_bfd_merge_private_bfd_data): Define.
624 <Target vector definition>: Include elf32-target.h twice with
625 different macro settings:
626 (TARGET_LITTLE_SYM): First as bfd_elf32_cris_vec, then as
627 bfd_elf32_us_cris_vec.
628 (TARGET_LITTLE_NAME): First as "elf32-cris", then "elf32-us-cris".
629 (elf_symbol_leading_char): First as 0, then '_'.
630 (INCLUDED_TARGET_FILE): Define for second include of elf32-target.h.
631 * config.bfd (cris-*-*): Add bfd_elf32_us_cris_vec to targ_selvecs.
632 * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vector.
633 * configure: Regenerate.
634 * targets.c: Declare bfd_elf32_us_cris_vec.
635 * po/bfd.pot: Regenerate.
636
9a5aca8c
AM
6372000-09-29 Momchil Velikov <velco@fadata.bg>
638
639 * elf32-arm.h (arm_add_to_rel): Correctly adjust the addend for
640 R_ARM_THM_PC22 relocations.
641
512a2384
AM
6422000-09-29 NIIBE Yutaka <gniibe@chroot.org>
643
644 * elflink.h (elf_link_add_object_symbols): Don't bfd_release runpath.
645
6c99a5c3
AM
6462000-09-29 Momchil Velikov <velco@fadata.bg>
647
648 * elf.c (elf_fake_sections): Do not mark the section SHT_NOBITS if
649 is has the SEC_HAS_CONTENTS flag set.
650