missed from last commit
[deliverable/binutils-gdb.git] / bfd / ChangeLog
1 2008-02-12 Alan Modra <amodra@bigpond.net.au>
2
3 PR 5303, 5755
4 * arange-set.c: Delete.
5 * arange-set.h: Delete.
6 * dwarf2.c: Revert 2007-09-21 changes.
7 * Makefile.am: Likewise.
8 * Makefile.in: Regenerate.
9 * po/SRC-POTFILES.in: Regenerate.
10
11 2008-02-11 Bernd Schmidt <bernd.schmidt@analog.com>
12
13 * elf32-bfin.c (bfin_relocate_section): Set up dynobj before using it
14 if necessary.
15 (elf32_bfin_merge_private_bfd_data): Simplify, and ensure object type
16 mismatches are detected.
17
18 * elf32-bfin.c (bfinfdpic_relocate_section): Take more care not to
19 emit invalid relocs or rofixup entries for deleted .eh_frame entries.
20
21 2008-02-11 Daniel Jacobowitz <dan@codesourcery.com>
22
23 * cache.c (cache_bread): Set bfd_error_file_truncated if EOF
24 was reached.
25 * srec.c (srec_scan): Calculate the checksum. Complain on mismatch.
26
27 2008-02-07 Alan Modra <amodra@bigpond.net.au>
28
29 * elf32-spu.c (spu_elf_size_stubs): Revert 2008-01-28 doubling
30 of _ovly_buf_table size.
31 (spu_elf_build_stubs): Use low bit of .size as "present" bit.
32 Adjust initialisations relating to _ovly_buf_table.
33
34 2008-02-04 Bob Wilson <bob.wilson@acm.org>
35
36 * elf32-xtensa (elf_xtensa_relocate_section): After finding an invalid
37 relocation, do not continue processing it. Ignore R_XTENSA_ASM_EXPAND
38 relocations against dynamic symbols.
39 (elf_xtensa_finish_dynamic_sections): Do not fail if there is no
40 .xt.lit section.
41
42 2008-02-04 Kai Tietz <kai.tietz@onevision.com>
43 H.J. Lu <hongjiu.lu@intel.com>
44
45 PR 5715
46 * warning.m4: Enable -Wno-format by default when using gcc on
47 mingw.
48 * configure: Regenerated.
49
50 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
51
52 * archures.c: Update copyright.
53 (bfd_mach_mips_octeon): New macro.
54 * bfd-in2.h: Regenerate.
55 * elfxx-mips.c (_bfd_elf_mips_mach): Handle Octeon.
56 (mips_set_isa_flags): Likewise.
57 (mips_mach_extensions): Add Octeon.
58 * cpu-mips.c: Update copyright.
59 (I_mipsocteon): New enum constant.
60 (arch_info_struct): Add Octeon.
61
62 2008-02-04 Alan Modra <amodra@bigpond.net.au>
63
64 * elf32-spu.c (spu_elf_relocate_section): Correct return type.
65 Return error status on unexpected relocation errors.
66
67 2008-02-04 Alan Modra <amodra@bigpond.net.au>
68
69 PR ld/5692
70 * elf.c (bfd_elf_get_elf_syms): Revert 2008-01-31. Instead abort
71 on non-ELF input.
72 * elf32-arm.c (elf32_arm_size_dynamic_sections): Skip glue
73 processing on non-ELF input.
74
75 2008-01-31 Marc Gauthier <marc@tensilica.com>
76
77 * config.bfd (xtensa*-*-*): Recognize processor variants.
78
79 2008-01-31 Nick Clifton <nickc@redhat.com>
80
81 PR ld/5692
82 * elf.c (bfd_elf_get_elf_syms): Check the return value of
83 get_elf_backend_data.
84
85 2008-01-28 Fabian Groffen <grobian@gentoo.org>
86
87 * config.bfd (x86_64-*-solaris2): Add support for this target.
88
89 2008-01-28 Alan Modra <amodra@bigpond.net.au>
90
91 Rewrite SPU overlay handling code. Put overlay calls stubs in the
92 overlays where possible. Use a faster call stub, or optionally at
93 compile time, a more compact stub. Double size of _ovly_buf_table
94 so that low bit of _ovly_table.buf can be used as a "present" bit.
95 Reserve an extra _ovly_table entry for index zero.
96 * elf32-spu.c: (struct spu_link_hash_table): Delete a number of fields,
97 add new ones.
98 (struct got_entry): New.
99 (struct spu_stub_hash_entry): Delete.
100 (stub_hash_newfunc, spu_elf_link_hash_table_free): Delete.
101 (spu_elf_link_hash_table_create): Adjust for struct changes.
102 (spu_stub_name): Delete.
103 (spu_elf_find_overlays): Don't track sections from overlay regions.
104 Instead set ovl_buf number in spu elf section data. Error if
105 overlays in one region don't start at the same address. Adjust
106 for struct _spu_elf_section_data changes.
107 (SIZEOF_STUB1, SIZEOF_STUB2, ILA_79, ILA_78): Delete.
108 (OVL_STUB_SIZE, BRSL, LNOP, ILA): Define.
109 (needs_ovl_stub): Adjust for struct _spu_elf_section_data changes.
110 (enum _insn_type): New.
111 (count_stub, build_stub): New functions.
112 (allocate_spuear_stubs): Use count_stub.
113 (build_spuear_stubs): Use build_stub.
114 (populate_stubs, sort_stubs): Delete.
115 (process_stubs): New function.
116 (write_one_stub): Delete.
117 (spu_elf_size_stubs, spu_elf_build_stubs): Rewrite.
118 (alloc_stack_info): Adjust for struct _spu_elf_section_data changes.
119 (maybe_insert_function, check_function_ranges): Likewise.
120 (find_function, pasted_function, build_call_tree): Likewise.
121 (spu_elf_stack_analysis, spu_elf_modify_segment_map): Likewise.
122 (spu_elf_modify_program_headers): Likewise.
123 (interesting_section): Detect stub sections differently. Delete
124 htab param, adjust all callers.
125 (spu_elf_relocate_section): Rewrite stub handling.
126 (spu_elf_output_symbol_hook): Likewise.
127 (bfd_elf32_bfd_link_hash_table_free): Delete.
128 * elf32-spu.h (struct _spu_elf_section_data): Move input-only and
129 output-only fields into a union. Add ovl_buf.
130 (spu_elf_size_stubs, spu_elf_build_stubs): Update prototypes.
131
132 2008-01-25 DJ Delorie <dj@redhat.com>
133
134 * elf32-m32c.c (_bfd_m32c_elf_eh_frame_address_size): New.
135
136 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
137
138 * bfd-in.h: Add mingw I64 support.
139 * bfd-in2.h: Regenerated.
140 * bfd.c: (bfd_get_sign_extend_vma): Add pe-x86-64 and pei-x86-64.
141
142 2008-01-21 Alan Modra <amodra@bigpond.net.au>
143
144 PR 4453
145 * format.c (bfd_check_format_matches): Don't accept archives as
146 fully matching unless they have a map.
147
148 2008-01-21 Alan Modra <amodra@bigpond.net.au>
149
150 * elflink.c (_bfd_elf_link_output_relocs): Correct error return.
151
152 2008-01-21 Alan Modra <amodra@bigpond.net.au>
153
154 * ecoff.c (_bfd_ecoff_archive_p): Delete.
155 * libecoff.h (_bfd_ecoff_archive_p): Delete.
156 * coff-alpha.c (ecoffalpha_little_vec): Use bfd_generic_archive_p.
157 * coff-mips.c (ecoff_little_vec, ecoff_big_vec): Likewise.
158 (ecoff_biglittle_vec): Likewise.
159
160 2008-01-19 Alan Modra <amodra@bigpond.net.au>
161
162 PR 5646
163 * elf64-ppc.c (ppc64_elf_tls_optimize): Ensure htab->tls_get_addr
164 non-NULL before dereferencing.
165
166 2008-01-15 Alan Modra <amodra@bigpond.net.au>
167
168 PR 5604
169 * elf-bfd.h (struct elf_backend_data): Add gc_keep. Remove param
170 names from others.
171 (_bfd_elf_gc_keep): Declare.
172 * elfxx-target.h (elf_backend_gc_keep): Define.
173 (elfNN_bed): Init new field.
174 * elflink.c (_bfd_elf_gc_keep): New function.
175 (bfd_elf_gc_sections): Call gc_keep.
176 * elf64-ppc.c (elf_backend_gc_keep): Define.
177 (struct _ppc64_elf_section_data): Move .opd related fields to
178 a struct so they don't occupy the same storage. Adjust accesses
179 throughout file.
180 (ppc64_elf_gc_keep): New function, split out from..
181 (ppc64_elf_gc_mark_hook): ..here. Don't call _bfd_elf_gc_mark
182 to mark .opd section, just set gc_mark.
183 (ppc64_elf_edit_opd): Remove no_opd_opt parm. Don't set opd->adjust
184 unless we are changing .opd. Test non-NULL opd->adjust at all
185 accesses throughout file.
186 * elf64-ppc.h (ppc64_elf_edit_opd): Update prototype.
187
188 2008-01-15 Alan Modra <amodra@bigpond.net.au>
189
190 * bfd-in.h (BFD_HOST_LONG_LONG): Delete.
191 * bfd-in2.h: Regenerate.
192
193 2008-01-11 Tristan Gingold <gingold@adacore.com>
194 Eric Botcazou <ebotcazou@adacore.com>
195
196 * elf32-ppc.c (ppc_elf_gc_sweep_hook): Exit early if generating a
197 relocatable.
198 * elf32-arm.c (elf32_arm_gc_sweep_hook): Likewise.
199 * elf32-cris.c (cris_elf_gc_sweep_hook): Likewise.
200 * elf32-hppa.c (elf32_hppa_gc_sweep_hook): Likewise.
201 * elf32-i386.c (elf_i386_gc_sweep_hook): Likewise.
202 * elf32-m32r.c (m32r_elf_gc_sweep_hook): Likewise.
203 * elf32-m68k.c (elf_m68k_gc_sweep_hook): Likewise.
204 * elf32-s390.c (elf_s390_gc_sweep_hook): Likewise.
205 * elf32-sh.c (sh_elf_gc_sweep_hook): Likewise.
206 * elf32-vax.c (elf_vax_gc_sweep_hook): Likewise.
207 * elf32-xtensa.c (elf_xtensa_gc_sweep_hook): Likewise.
208 * elf64-x86-64.c (elf64_x86_64_gc_sweep_hook): Likewise.
209 * elf64-s390.c (elf_s390_gc_sweep_hook): Likewise.
210 * elf64-ppc.c (ppc64_elf_gc_sweep_hook): Likewise.
211 * elfxx-mips.c (_bfd_mips_elf_gc_sweep_hook): Likewise.
212 * elfxx-sparc.c (_bfd_sparc_elf_gc_sweep_hook): Likewise.
213 * elflink.c (bfd_elf_gc_sections): Do not punt on relocatable output
214 or executable output with relocations.
215
216 2008-01-09 Nick Clifton <nickc@redhat.com>
217
218 PR gas/5552
219 * elf32-fr30.c (fr30_elf_howto_table): Set partial_inplace field
220 to FALSE for all relocs.
221
222 2008-01-09 Richard Sandiford <rsandifo@nildram.co.uk>
223
224 PR ld/5526
225 * elf-bfd.h (eh_cie_fde): Add u.cie.u.full_cie and u.cie.merged
226 fields. Rename u.cie.u.merged to u.cie.u.merged_with.
227 (eh_frame_sec_info): Add a cies field.
228 (eh_frame_hdr_info): Add a merge_cies field.
229 * elf-eh-frame.c (cie): Add a reloc_index member to the personality
230 union.
231 (_bfd_elf_begin_eh_frame_parsing): Set hdr_info->merge_cies instead
232 of hdr_info->cies.
233 (_bfd_elf_parse_eh_frame): Remove tmp_cie. Ccreate an array of
234 cie structures in all cases and use it instead of extended_cies.
235 If merging, store the cie array in sec_info->cies and point each
236 CIE's eh_fde_cie at the associated element. Do not try to
237 calculate the value of the personality routine here; record the
238 offset of the relocation instead. Do not merge CIEs here.
239 (_bfd_elf_end_eh_frame_parsing): Do not free hdr_info->cies here...
240 (_bfd_elf_discard_section_eh_frame_hdr): ...do it here instead.
241 (_bfd_elf_gc_mark_fdes): Mark the original (unmerged) CIE.
242 (find_merged_cie): New function.
243 (_bfd_elf_gc_mark_fdes): Use it. Free sec_info->cies.
244
245 2008-01-07 Nick Clifton <nickc@redhat.com>
246
247 PR binutils/5535
248 * vms.c (vms_close_and_cleanup): Check for the presence of a
249 vms_private_data_struct before examining any of its fields.
250
251 2008-01-07 H.J. Lu <hongjiu.lu@intel.com>
252
253 PR ld/5522
254 * elflink.c (elf_link_input_bfd): Don't write out a section if
255 its output section is marked with SEC_NEVER_LOAD.
256
257 For older changes see ChangeLog-2007
258 \f
259 Local Variables:
260 mode: change-log
261 left-margin: 8
262 fill-column: 74
263 version-control: never
264 End:
This page took 0.03661 seconds and 5 git commands to generate.