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