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