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