PR ld/5692
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
e44a2c9c
AM
12008-02-04 Alan Modra <amodra@bigpond.net.au>
2
3 PR ld/5692
4 * elf.c (bfd_elf_get_elf_syms): Revert 2008-01-31. Instead abort
5 on non-ELF input.
6 * elf32-arm.c (elf32_arm_size_dynamic_sections): Skip glue
7 processing on non-ELF input.
8
f8a52b59
BW
92008-01-31 Marc Gauthier <marc@tensilica.com>
10
11 * config.bfd (xtensa*-*-*): Recognize processor variants.
12
b7c368d0
NC
132008-01-31 Nick Clifton <nickc@redhat.com>
14
15 PR ld/5692
16 * elf.c (bfd_elf_get_elf_syms): Check the return value of
17 get_elf_backend_data.
18
00b2bfc1
NC
192008-01-28 Fabian Groffen <grobian@gentoo.org>
20
21 * config.bfd (x86_64-*-solaris2): Add support for this target.
22
47f6dab9
AM
232008-01-28 Alan Modra <amodra@bigpond.net.au>
24
25 Rewrite SPU overlay handling code. Put overlay calls stubs in the
26 overlays where possible. Use a faster call stub, or optionally at
27 compile time, a more compact stub. Double size of _ovly_buf_table
28 so that low bit of _ovly_table.buf can be used as a "present" bit.
29 Reserve an extra _ovly_table entry for index zero.
30 * elf32-spu.c: (struct spu_link_hash_table): Delete a number of fields,
31 add new ones.
32 (struct got_entry): New.
33 (struct spu_stub_hash_entry): Delete.
34 (stub_hash_newfunc, spu_elf_link_hash_table_free): Delete.
35 (spu_elf_link_hash_table_create): Adjust for struct changes.
36 (spu_stub_name): Delete.
37 (spu_elf_find_overlays): Don't track sections from overlay regions.
38 Instead set ovl_buf number in spu elf section data. Error if
39 overlays in one region don't start at the same address. Adjust
40 for struct _spu_elf_section_data changes.
41 (SIZEOF_STUB1, SIZEOF_STUB2, ILA_79, ILA_78): Delete.
42 (OVL_STUB_SIZE, BRSL, LNOP, ILA): Define.
43 (needs_ovl_stub): Adjust for struct _spu_elf_section_data changes.
44 (enum _insn_type): New.
45 (count_stub, build_stub): New functions.
46 (allocate_spuear_stubs): Use count_stub.
47 (build_spuear_stubs): Use build_stub.
48 (populate_stubs, sort_stubs): Delete.
49 (process_stubs): New function.
50 (write_one_stub): Delete.
51 (spu_elf_size_stubs, spu_elf_build_stubs): Rewrite.
52 (alloc_stack_info): Adjust for struct _spu_elf_section_data changes.
53 (maybe_insert_function, check_function_ranges): Likewise.
54 (find_function, pasted_function, build_call_tree): Likewise.
55 (spu_elf_stack_analysis, spu_elf_modify_segment_map): Likewise.
56 (spu_elf_modify_program_headers): Likewise.
57 (interesting_section): Detect stub sections differently. Delete
58 htab param, adjust all callers.
59 (spu_elf_relocate_section): Rewrite stub handling.
60 (spu_elf_output_symbol_hook): Likewise.
61 (bfd_elf32_bfd_link_hash_table_free): Delete.
62 * elf32-spu.h (struct _spu_elf_section_data): Move input-only and
63 output-only fields into a union. Add ovl_buf.
64 (spu_elf_size_stubs, spu_elf_build_stubs): Update prototypes.
65
c006d697
DD
662008-01-25 DJ Delorie <dj@redhat.com>
67
68 * elf32-m32c.c (_bfd_m32c_elf_eh_frame_address_size): New.
69
6e3d6dc1
NC
702008-01-25 Kai Tietz <kai.tietz@onevision.com>
71
72 * bfd-in.h: Add mingw I64 support.
73 * bfd-in2.h: Regenerated.
74 * bfd.c: (bfd_get_sign_extend_vma): Add pe-x86-64 and pei-x86-64.
75
fbb3bb98
AM
762008-01-21 Alan Modra <amodra@bigpond.net.au>
77
78 PR 4453
79 * format.c (bfd_check_format_matches): Don't accept archives as
80 fully matching unless they have a map.
81
297d8443
AM
822008-01-21 Alan Modra <amodra@bigpond.net.au>
83
84 * elflink.c (_bfd_elf_link_output_relocs): Correct error return.
85
66cd82b5
AM
862008-01-21 Alan Modra <amodra@bigpond.net.au>
87
88 * ecoff.c (_bfd_ecoff_archive_p): Delete.
89 * libecoff.h (_bfd_ecoff_archive_p): Delete.
90 * coff-alpha.c (ecoffalpha_little_vec): Use bfd_generic_archive_p.
91 * coff-mips.c (ecoff_little_vec, ecoff_big_vec): Likewise.
92 (ecoff_biglittle_vec): Likewise.
93
85f7a9cb
AM
942008-01-19 Alan Modra <amodra@bigpond.net.au>
95
96 PR 5646
97 * elf64-ppc.c (ppc64_elf_tls_optimize): Ensure htab->tls_get_addr
98 non-NULL before dereferencing.
99
74f0fb50
AM
1002008-01-15 Alan Modra <amodra@bigpond.net.au>
101
102 PR 5604
103 * elf-bfd.h (struct elf_backend_data): Add gc_keep. Remove param
104 names from others.
105 (_bfd_elf_gc_keep): Declare.
106 * elfxx-target.h (elf_backend_gc_keep): Define.
107 (elfNN_bed): Init new field.
108 * elflink.c (_bfd_elf_gc_keep): New function.
109 (bfd_elf_gc_sections): Call gc_keep.
110 * elf64-ppc.c (elf_backend_gc_keep): Define.
111 (struct _ppc64_elf_section_data): Move .opd related fields to
112 a struct so they don't occupy the same storage. Adjust accesses
113 throughout file.
114 (ppc64_elf_gc_keep): New function, split out from..
115 (ppc64_elf_gc_mark_hook): ..here. Don't call _bfd_elf_gc_mark
116 to mark .opd section, just set gc_mark.
117 (ppc64_elf_edit_opd): Remove no_opd_opt parm. Don't set opd->adjust
118 unless we are changing .opd. Test non-NULL opd->adjust at all
119 accesses throughout file.
120 * elf64-ppc.h (ppc64_elf_edit_opd): Update prototype.
121
787daa7a
AM
1222008-01-15 Alan Modra <amodra@bigpond.net.au>
123
124 * bfd-in.h (BFD_HOST_LONG_LONG): Delete.
125 * bfd-in2.h: Regenerate.
126
7dda2462
TG
1272008-01-11 Tristan Gingold <gingold@adacore.com>
128 Eric Botcazou <ebotcazou@adacore.com>
129
130 * elf32-ppc.c (ppc_elf_gc_sweep_hook): Exit early if generating a
131 relocatable.
132 * elf32-arm.c (elf32_arm_gc_sweep_hook): Likewise.
133 * elf32-cris.c (cris_elf_gc_sweep_hook): Likewise.
134 * elf32-hppa.c (elf32_hppa_gc_sweep_hook): Likewise.
135 * elf32-i386.c (elf_i386_gc_sweep_hook): Likewise.
136 * elf32-m32r.c (m32r_elf_gc_sweep_hook): Likewise.
137 * elf32-m68k.c (elf_m68k_gc_sweep_hook): Likewise.
138 * elf32-s390.c (elf_s390_gc_sweep_hook): Likewise.
139 * elf32-sh.c (sh_elf_gc_sweep_hook): Likewise.
140 * elf32-vax.c (elf_vax_gc_sweep_hook): Likewise.
141 * elf32-xtensa.c (elf_xtensa_gc_sweep_hook): Likewise.
142 * elf64-x86-64.c (elf64_x86_64_gc_sweep_hook): Likewise.
143 * elf64-s390.c (elf_s390_gc_sweep_hook): Likewise.
144 * elf64-ppc.c (ppc64_elf_gc_sweep_hook): Likewise.
145 * elfxx-mips.c (_bfd_mips_elf_gc_sweep_hook): Likewise.
146 * elfxx-sparc.c (_bfd_sparc_elf_gc_sweep_hook): Likewise.
147 * elflink.c (bfd_elf_gc_sections): Do not punt on relocatable output
148 or executable output with relocations.
149
d2e2e649
NC
1502008-01-09 Nick Clifton <nickc@redhat.com>
151
152 PR gas/5552
153 * elf32-fr30.c (fr30_elf_howto_table): Set partial_inplace field
154 to FALSE for all relocs.
155
184d07da
RS
1562008-01-09 Richard Sandiford <rsandifo@nildram.co.uk>
157
158 PR ld/5526
159 * elf-bfd.h (eh_cie_fde): Add u.cie.u.full_cie and u.cie.merged
160 fields. Rename u.cie.u.merged to u.cie.u.merged_with.
161 (eh_frame_sec_info): Add a cies field.
162 (eh_frame_hdr_info): Add a merge_cies field.
163 * elf-eh-frame.c (cie): Add a reloc_index member to the personality
164 union.
165 (_bfd_elf_begin_eh_frame_parsing): Set hdr_info->merge_cies instead
166 of hdr_info->cies.
167 (_bfd_elf_parse_eh_frame): Remove tmp_cie. Ccreate an array of
168 cie structures in all cases and use it instead of extended_cies.
169 If merging, store the cie array in sec_info->cies and point each
170 CIE's eh_fde_cie at the associated element. Do not try to
171 calculate the value of the personality routine here; record the
172 offset of the relocation instead. Do not merge CIEs here.
173 (_bfd_elf_end_eh_frame_parsing): Do not free hdr_info->cies here...
174 (_bfd_elf_discard_section_eh_frame_hdr): ...do it here instead.
175 (_bfd_elf_gc_mark_fdes): Mark the original (unmerged) CIE.
176 (find_merged_cie): New function.
177 (_bfd_elf_gc_mark_fdes): Use it. Free sec_info->cies.
178
780b2360
NC
1792008-01-07 Nick Clifton <nickc@redhat.com>
180
181 PR binutils/5535
182 * vms.c (vms_close_and_cleanup): Check for the presence of a
183 vms_private_data_struct before examining any of its fields.
184
ace79388
L
1852008-01-07 H.J. Lu <hongjiu.lu@intel.com>
186
187 PR ld/5522
188 * elflink.c (elf_link_input_bfd): Don't write out a section if
189 its output section is marked with SEC_NEVER_LOAD.
190
6c7ac64e 191For older changes see ChangeLog-2007
56882138
AM
192\f
193Local Variables:
194mode: change-log
195left-margin: 8
196fill-column: 74
197version-control: never
198End:
This page took 0.41488 seconds and 4 git commands to generate.