* dwarf2.c (find_line): Don't trust debug information after an
[deliverable/binutils-gdb.git] / bfd / ChangeLog
1 2008-02-16 Nathan Sidwell <nathan@codesourcery.com>
2
3 * dwarf2.c (find_line): Don't trust debug information after an
4 unparseable compilation unit.
5
6 2008-02-15 Alan Modra <amodra@bigpond.net.au>
7
8 PR 5765
9 * section.c (SEC_LINK_DUPLICATES): Correct. Renumber following flags.
10 * bfd-in2.h: Regenerate.
11
12 2008-02-15 Alan Modra <amodra@bigpond.net.au>
13
14 * elf-bfd.h (enum elf_object_id): Add HPPA_ELF_TDATA.
15 * elf.c (bfd_elf_allocate_object): Don't check for already allocated
16 tdata.
17 * elf32-hppa.c (elf32_hppa_mkobject): New function.
18 (bfd_elf32_mkobject): Define.
19 * elf32-ppc.c (is_ppc_elf_target): Delete. Replace all uses with..
20 (is_ppc_elf): ..this new macro.
21 * elf64-ppc.c (is_ppc64_elf_target): Delete. Replace all uses with..
22 (is_ppc64_elf): ..this new macro.
23
24 2008-02-15 Alan Modra <amodra@bigpond.net.au>
25
26 * elflink.c: Replace all accesses to hash->creator field with
27 output_bfd->xvec.
28 * cofflink.c: Likewise.
29 * coff-h8300.c: Likewise.
30 * ecoff.c: Likewise.
31 * elf32-m68hc1x.c: Likewise.
32 * elf32-ppc.c: Likewise.
33 * elf64-alpha.c: Likewise.
34 * elf64-ppc.c: Likewise.
35 * elf64-sparc.c: Likewise.
36 * elfxx-mips.c: Likewise.
37 * i386linux.c: Likewise.
38 * m68klinux.c: Likewise.
39 * sparclinux.c: Likewise.
40 * sunos.c: Likewise.
41 * xcofflink.c: Likewise.
42 * linker.c: Likewise.
43 (_bfd_link_hash_table_init): Don't store creator.
44
45 2008-02-14 Peter Jones <pjones@redhat.com>
46
47 * efi-rtdrv-ia32.c: New file.
48 * efi-bsdrv-ia32.c: New file.
49 * efi-rtdrv-ia64.c: New file.
50 * efi-bsdrv-ia64.c: New file.
51 * efi-rtdrv-x86_64.c: New file.
52 * efi-bsdrv-x86_64.c: New file.
53 * peicode.h (pe_bfd_object_p): Add support for boot service and
54 runtime service drivers.
55 * libpei.h: Add macros for EFI formats, and rename the efi application
56 format macros to disambiguate.
57 * targets.c: Add bfd_target _vec externs.
58 (_bfd_tar): Add EFI _vec entries.
59 * config.bfd: Add EFI vectors into the selection routines.
60 * configure.in: add EFI _vec entries.
61 * configure: Regenerate.
62 * Makefile.am: Add EFI files.
63 * Makefile.in: Regenerate.
64
65 2008-02-14 Nathan Sidwell <nathan@codesourcery.com>
66
67 * dwarf1.c (struct dwarf1_debug): Add syms member.
68 (alloc_dwarf1_unit, alloc_dwarf1_func): Check for out of memory.
69 (parse_line_table, _bfd_dwarf1_find_nearest_line): Relocate
70 section contents, check for out of memory.
71
72 * dwarf1.c (struct dwarf1_debug): Change data pointers to bfd_byte.
73 (parse_die): Change data pointers to bfd_byte.
74 (parse_line_table, parse_functions_in_unit): Likewise.
75
76 2008-02-14 Alan Modra <amodra@bigpond.net.au>
77
78 * elflink.c (compute_bucket_count): Warning fixes.
79
80 2008-02-12 DJ Delorie <dj@redhat.com>
81
82 * elf32-iq2000.c (iq2000_elf_relocate_section): Adjust addend of
83 relocation pointing to local symbol in merged section.
84
85 * elf32-iq2000.c (iq2000_elf_relocate_offset16): New.
86 (iq2000_elf_relocate_section): Call it.
87
88 2008-02-12 Nick Clifton <nickc@redhat.com>
89
90 PR ld/5692
91 * elf-bfd.h (enum elf_object_id): New enum, used to identify
92 target specific extensions to the elf_obj_tdata structure.
93 (struct elf_obj_tdata): New field 'object_id'.
94 (elf_object_id, elf_program_header_size, elf_symtab_hdr): New
95 macros for accessing fields in the elf_obj_tdata structure.
96 (bfd_elf_mkobject): Rename to bfd_elf_make_generic_object.
97 (bfd_elf_allocate_object): New function.
98 * elf.c (bfd_elf_mkobject): Rename to bfd_elf_make_generic_object
99 and implement by calling bfd_elf_allocate_object.
100 (bfd_elf_allocate_object): New function: Allocates an
101 elf_obj_tdata structure, possibly with a target specific
102 extension.
103 * elfxx-target.h (bfd_elfNN_mkobject): Use
104 bfd_elf_make_generic_object as the default value.
105 * elf32-arm.c (elf32_arm_obj_tdata): Rename to elf_arm_obj_tdata
106 for consistency with other, similar structures.
107 (is_arm_elf): New macro. Checks a BFD to make sure that is an ARM
108 ELF bfd.
109 (elf32_arm_mkobject): Call bfd_elf_allocate_object.
110 (bfd_elf32_arm_vfp11_erratum_scan): Use is_arm_elf macro to check
111 the bfd being processed.
112 (bfd_elf32_arm_vfp11_fix_veneer_locations): Likewise.
113 (bfd_elf32_arm_set_target_relocs): Likewise.
114 (bfd_elf32_arm_final_link_relocate): Likewise.
115 (bfd_elf32_arm_copy_private_bfd_data): Likewise.
116 (bfd_elf32_arm_merge_eabi_attributes): Likewise.
117 (bfd_elf32_arm_merge_private_bfd_data): Likewise.
118 (bfd_elf32_arm_check_relocs): Likewise.
119 (bfd_elf32_arm_gc_mark_extra_sections): Likewise.
120 (bfd_elf32_arm_size_dynamic_sections): Likewise.
121 (bfd_elf32_arm_process_before_allocation): Use elf_symtab_hdr.
122 (bfd_elf32_arm_init_maps): Likewise.
123 (bfd_elf32_arm_final_link_relocate): Likewise.
124 (bfd_elf32_arm_relocate_section): Likewise.
125 (bfd_elf32_arm_gc_sweep_hook): Likewise.
126 (bfd_elf32_arm_check_relocs): Likewise.
127 (bfd_elf32_arm_size_dynamic_sections): Likewise.
128 * elf32-i386.c (elf_i386_mkobject): Call bfd_elf_allocate_object.
129 (is_i386_elf): New macro. Checks a BFD to make sure that is an x86
130 ELF bfd.
131 (elf_i386_check_relocs): Use is_i386_elf macro to check the bfd
132 being processed.
133 (elf_i386_size_dynamic_sections): Likewise.
134 (elf_i386_relocate_section): Likewise.
135 (elf_i386_check_relocs): Use elf_symtab_hdr.
136 (elf_i386_gc_sweep_hook): Likewise.
137 (elf_i386_size_dynamic_sections): Likewise.
138 (elf_i386_relocate_section): Likewise.
139 * elf32-ppc.c (ppc_elf_mkobject): Call bfd_elf_allocate_object.
140 (elf_create_pointer_linker_section): Use is_ppc_elf_target to
141 verify that the bfd before accessing target specific fields.
142 (ppc_elf_check_relocs): Likewise.
143 (elf_finish_pointer_linker_section): Likewise.
144 (elf_create_pointer_linker_section): Use elf_symtab_hdr.
145 (ppc_elf_check_relocs): Likewise.
146 (ppc_elf_gc_sweep_hook): Likewise.
147 (ppc_elf_tls_optimize): Likewise.
148 (ppc_elf_size_dynamic_sections): Likewise.
149 (ppc_elf_relax_section): Likewise.
150 (ppc_elf_relocate_section): Likewise.
151 * elf32-s390.c (struct elf_s390_obj_tdata): Add a comment
152 reminding programmers to keep this structure in sync with the one
153 defined in elf64-s390.c.
154 (elf_s390_mkobject): Call bfd_elf_allocate_object.
155 (is_s390_elf): New macro. Checks a BFD to make sure that is an s390
156 ELF bfd.
157 (elf_s390_check_relocs): Use is_s390_elf macro to check the bfd
158 being processed.
159 (elf_s390_size_dynamic_sections): Likewise.
160 (elf_s390_relocate_section): Likewise.
161 (elf_s390_check_relocs): Use elf_symtab_hdr.
162 (elf_s390_gc_sweep_hook): Likewise.
163 (elf_s390_size_dynamic_sections): Likewise.
164 (elf_s390_relocate_section): Likewise.
165 * elf32-sh.c (sh_elf_mkobject): Call bfd_elf_allocate_object.
166 (is_sh_elf): New macro. Checks a BFD to make sure that is an SH
167 ELF bfd.
168 (sh_elf_size_dynamic_sections): Use is_sh_elf macro to check the
169 bfd being processed.
170 (sh_elf_relocate_section): Likewise.
171 (sh_elf_check_relocs): Likewise.
172 (sh_elf_copy_private_data): Likewise.
173 (sh_elf_relax_section): Use elf_symtab_hdr.
174 (sh_elf_size_dynamic_sections): Likewise.
175 (sh_elf_relocate_section): Likewise.
176 (sh_elf_get_relocated_section_contents): Likewise.
177 (sh_elf_gc_sweep_hook): Likewise.
178 (sh_elf_check_relocs): Likewise.
179 * elf64-alpha.c (elf64_alpha_mkobject): Call bfd_elf_allocate_object.
180 (is_alpha_elf): New macro. Checks a BFD to make sure that is an
181 Alpha ELF bfd.
182 (elf64_alpha_create_got_section): Use is_alpha_elf macro to check
183 the bfd being processed.
184 (elf64_alpha_create_dynamic_section): Likewise.
185 (elf64_alpha_check_relocs): Likewise.
186 (elf64_alpha_size_got_sections): Likewise.
187 (elf64_alpha_relax_section): Likewise.
188 (elf64_alpha_relocate_section): Likewise.
189 (elf64_alpha_final_link): Likewise.
190 (elf64_alpha_check_relocs): Use elf_symtab_hdr.
191 (elf64_alpha_relax_section): Likewise.
192 (elf64_alpha_relocate_section_r): Likewise.
193 (elf64_alpha_relocate_section): Likewise.
194 * elf64-ppc.c (ppc64_elf_mkobject): Call bfd_elf_allocate_object.
195 (ppc64_elf_check_relocs): Use is_ppc64_elf_target to check the bfd
196 being processed.
197 (opd_entry_value): Likewise.
198 (allocate_dynrelocs): Likewise.
199 (ppc64_elf_relocate_section): Likewise.
200 (ppc64_elf_check_relocs): Use elf_symtab_hdr.
201 (opd_entry_value): Likewise.
202 (ppc64_elf_gc_sweep_hook): Likewise.
203 (get_sym_h): Likewise.
204 (ppc64_elf_edit_opd): Likewise.
205 (ppc64_elf_tls_optimize): Likewise.
206 (ppc64_elf_edit_toc): Likewise.
207 (ppc64_elf_size_dynamic_sections): Likewise.
208 (toc_adjusting_stub_needed): Likewise.
209 (ppc64_elf_size_stubs): Likewise.
210 (ppc64_elf_relocate_section): Likewise.
211 * elf64-s390.c (struct elf_s390_obj_tdata): Add a comment
212 reminding programmers to keep this structure in sync with the one
213 defined in elf32-s390.c.
214 (elf_s390_mkobject): Call bfd_elf_allocate_object.
215 (is_s390_elf): New macro. Checks a BFD to make sure that is an s390
216 ELF bfd.
217 (elf_s390_check_relocs): Use is_s390_elf macro to check the bfd
218 being processed.
219 (elf_s390_size_dynamic_sections): Likewise.
220 (elf_s390_relocate_section): Likewise.
221 (elf_s390_check_relocs): Use elf_symtab_hdr.
222 (elf_s390_gc_sweep_hook): Likewise.
223 (elf_s390_size_dynamic_sections): Likewise.
224 (elf_s390_relocate_section): Likewise.
225 * elf64-x86_64.c (elf64_x86_64_mkobject): Call bfd_elf_allocate_object.
226 (is_x86_64_elf): New macro. Checks a BFD to make sure that is an
227 x86_64 ELF bfd.
228 (elf64_x86_64_check_relocs): Use is_x86_64_elf macro to check the bfd
229 being processed.
230 (elf64_x86_64_size_dynamic_sections): Likewise.
231 (elf64_x86_64_relocate_section): Likewise.
232 (elf64_x86_64_check_relocs): Use elf_symtab_hdr.
233 (elf64_x86_64_gc_sweep_hook): Likewise.
234 (elf64_x86_64_size_dynamic_sections): Likewise.
235 (elf64_x86_64_relocate_section): Likewise.
236 * elfxx-sparc.c (_bfd_sparc_elf_mkobject): Call bfd_elf_allocate_object.
237 (is_sparc_elf): New macro. Checks a BFD to make sure that is a Sparc
238 ELF bfd.
239 (_bfd_sparc_elf_check_relocs): Use is_sparc_elf macro to check the
240 bfd being processed.
241 (_bfd_sparc_elf_gc_sweep_hook): Likewise.
242 (_bfd_sparc_elf_size_dynamic_sections): Likewise.
243 (_bfd_sparc_elf_check_relocs): Use elf_symtab_hdr.
244 (_bfd_sparc_elf_gc_sweep_hook): Likewise.
245 (_bfd_sparc_elf_size_dynamic_sections): Likewise.
246 (_bfd_sparc_elf_relocate_section): Likewise.
247
248 2008-02-12 Alan Modra <amodra@bigpond.net.au>
249
250 PR 5303, 5755
251 * arange-set.c: Delete.
252 * arange-set.h: Delete.
253 * dwarf2.c: Revert 2007-09-21 changes.
254 * Makefile.am: Likewise.
255 * Makefile.in: Regenerate.
256 * po/SRC-POTFILES.in: Regenerate.
257
258 2008-02-11 Bernd Schmidt <bernd.schmidt@analog.com>
259
260 * elf32-bfin.c (bfin_relocate_section): Set up dynobj before using it
261 if necessary.
262 (elf32_bfin_merge_private_bfd_data): Simplify, and ensure object type
263 mismatches are detected.
264
265 * elf32-bfin.c (bfinfdpic_relocate_section): Take more care not to
266 emit invalid relocs or rofixup entries for deleted .eh_frame entries.
267
268 2008-02-11 Daniel Jacobowitz <dan@codesourcery.com>
269
270 * cache.c (cache_bread): Set bfd_error_file_truncated if EOF
271 was reached.
272 * srec.c (srec_scan): Calculate the checksum. Complain on mismatch.
273
274 2008-02-07 Alan Modra <amodra@bigpond.net.au>
275
276 * elf32-spu.c (spu_elf_size_stubs): Revert 2008-01-28 doubling
277 of _ovly_buf_table size.
278 (spu_elf_build_stubs): Use low bit of .size as "present" bit.
279 Adjust initialisations relating to _ovly_buf_table.
280
281 2008-02-04 Bob Wilson <bob.wilson@acm.org>
282
283 * elf32-xtensa (elf_xtensa_relocate_section): After finding an invalid
284 relocation, do not continue processing it. Ignore R_XTENSA_ASM_EXPAND
285 relocations against dynamic symbols.
286 (elf_xtensa_finish_dynamic_sections): Do not fail if there is no
287 .xt.lit section.
288
289 2008-02-04 Kai Tietz <kai.tietz@onevision.com>
290 H.J. Lu <hongjiu.lu@intel.com>
291
292 PR 5715
293 * warning.m4: Enable -Wno-format by default when using gcc on
294 mingw.
295 * configure: Regenerated.
296
297 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
298
299 * archures.c: Update copyright.
300 (bfd_mach_mips_octeon): New macro.
301 * bfd-in2.h: Regenerate.
302 * elfxx-mips.c (_bfd_elf_mips_mach): Handle Octeon.
303 (mips_set_isa_flags): Likewise.
304 (mips_mach_extensions): Add Octeon.
305 * cpu-mips.c: Update copyright.
306 (I_mipsocteon): New enum constant.
307 (arch_info_struct): Add Octeon.
308
309 2008-02-04 Alan Modra <amodra@bigpond.net.au>
310
311 * elf32-spu.c (spu_elf_relocate_section): Correct return type.
312 Return error status on unexpected relocation errors.
313
314 2008-02-04 Alan Modra <amodra@bigpond.net.au>
315
316 PR ld/5692
317 * elf.c (bfd_elf_get_elf_syms): Revert 2008-01-31. Instead abort
318 on non-ELF input.
319 * elf32-arm.c (elf32_arm_size_dynamic_sections): Skip glue
320 processing on non-ELF input.
321
322 2008-01-31 Marc Gauthier <marc@tensilica.com>
323
324 * config.bfd (xtensa*-*-*): Recognize processor variants.
325
326 2008-01-31 Nick Clifton <nickc@redhat.com>
327
328 PR ld/5692
329 * elf.c (bfd_elf_get_elf_syms): Check the return value of
330 get_elf_backend_data.
331
332 2008-01-28 Fabian Groffen <grobian@gentoo.org>
333
334 * config.bfd (x86_64-*-solaris2): Add support for this target.
335
336 2008-01-28 Alan Modra <amodra@bigpond.net.au>
337
338 Rewrite SPU overlay handling code. Put overlay calls stubs in the
339 overlays where possible. Use a faster call stub, or optionally at
340 compile time, a more compact stub. Double size of _ovly_buf_table
341 so that low bit of _ovly_table.buf can be used as a "present" bit.
342 Reserve an extra _ovly_table entry for index zero.
343 * elf32-spu.c: (struct spu_link_hash_table): Delete a number of fields,
344 add new ones.
345 (struct got_entry): New.
346 (struct spu_stub_hash_entry): Delete.
347 (stub_hash_newfunc, spu_elf_link_hash_table_free): Delete.
348 (spu_elf_link_hash_table_create): Adjust for struct changes.
349 (spu_stub_name): Delete.
350 (spu_elf_find_overlays): Don't track sections from overlay regions.
351 Instead set ovl_buf number in spu elf section data. Error if
352 overlays in one region don't start at the same address. Adjust
353 for struct _spu_elf_section_data changes.
354 (SIZEOF_STUB1, SIZEOF_STUB2, ILA_79, ILA_78): Delete.
355 (OVL_STUB_SIZE, BRSL, LNOP, ILA): Define.
356 (needs_ovl_stub): Adjust for struct _spu_elf_section_data changes.
357 (enum _insn_type): New.
358 (count_stub, build_stub): New functions.
359 (allocate_spuear_stubs): Use count_stub.
360 (build_spuear_stubs): Use build_stub.
361 (populate_stubs, sort_stubs): Delete.
362 (process_stubs): New function.
363 (write_one_stub): Delete.
364 (spu_elf_size_stubs, spu_elf_build_stubs): Rewrite.
365 (alloc_stack_info): Adjust for struct _spu_elf_section_data changes.
366 (maybe_insert_function, check_function_ranges): Likewise.
367 (find_function, pasted_function, build_call_tree): Likewise.
368 (spu_elf_stack_analysis, spu_elf_modify_segment_map): Likewise.
369 (spu_elf_modify_program_headers): Likewise.
370 (interesting_section): Detect stub sections differently. Delete
371 htab param, adjust all callers.
372 (spu_elf_relocate_section): Rewrite stub handling.
373 (spu_elf_output_symbol_hook): Likewise.
374 (bfd_elf32_bfd_link_hash_table_free): Delete.
375 * elf32-spu.h (struct _spu_elf_section_data): Move input-only and
376 output-only fields into a union. Add ovl_buf.
377 (spu_elf_size_stubs, spu_elf_build_stubs): Update prototypes.
378
379 2008-01-25 DJ Delorie <dj@redhat.com>
380
381 * elf32-m32c.c (_bfd_m32c_elf_eh_frame_address_size): New.
382
383 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
384
385 * bfd-in.h: Add mingw I64 support.
386 * bfd-in2.h: Regenerated.
387 * bfd.c: (bfd_get_sign_extend_vma): Add pe-x86-64 and pei-x86-64.
388
389 2008-01-21 Alan Modra <amodra@bigpond.net.au>
390
391 PR 4453
392 * format.c (bfd_check_format_matches): Don't accept archives as
393 fully matching unless they have a map.
394
395 2008-01-21 Alan Modra <amodra@bigpond.net.au>
396
397 * elflink.c (_bfd_elf_link_output_relocs): Correct error return.
398
399 2008-01-21 Alan Modra <amodra@bigpond.net.au>
400
401 * ecoff.c (_bfd_ecoff_archive_p): Delete.
402 * libecoff.h (_bfd_ecoff_archive_p): Delete.
403 * coff-alpha.c (ecoffalpha_little_vec): Use bfd_generic_archive_p.
404 * coff-mips.c (ecoff_little_vec, ecoff_big_vec): Likewise.
405 (ecoff_biglittle_vec): Likewise.
406
407 2008-01-19 Alan Modra <amodra@bigpond.net.au>
408
409 PR 5646
410 * elf64-ppc.c (ppc64_elf_tls_optimize): Ensure htab->tls_get_addr
411 non-NULL before dereferencing.
412
413 2008-01-15 Alan Modra <amodra@bigpond.net.au>
414
415 PR 5604
416 * elf-bfd.h (struct elf_backend_data): Add gc_keep. Remove param
417 names from others.
418 (_bfd_elf_gc_keep): Declare.
419 * elfxx-target.h (elf_backend_gc_keep): Define.
420 (elfNN_bed): Init new field.
421 * elflink.c (_bfd_elf_gc_keep): New function.
422 (bfd_elf_gc_sections): Call gc_keep.
423 * elf64-ppc.c (elf_backend_gc_keep): Define.
424 (struct _ppc64_elf_section_data): Move .opd related fields to
425 a struct so they don't occupy the same storage. Adjust accesses
426 throughout file.
427 (ppc64_elf_gc_keep): New function, split out from..
428 (ppc64_elf_gc_mark_hook): ..here. Don't call _bfd_elf_gc_mark
429 to mark .opd section, just set gc_mark.
430 (ppc64_elf_edit_opd): Remove no_opd_opt parm. Don't set opd->adjust
431 unless we are changing .opd. Test non-NULL opd->adjust at all
432 accesses throughout file.
433 * elf64-ppc.h (ppc64_elf_edit_opd): Update prototype.
434
435 2008-01-15 Alan Modra <amodra@bigpond.net.au>
436
437 * bfd-in.h (BFD_HOST_LONG_LONG): Delete.
438 * bfd-in2.h: Regenerate.
439
440 2008-01-11 Tristan Gingold <gingold@adacore.com>
441 Eric Botcazou <ebotcazou@adacore.com>
442
443 * elf32-ppc.c (ppc_elf_gc_sweep_hook): Exit early if generating a
444 relocatable.
445 * elf32-arm.c (elf32_arm_gc_sweep_hook): Likewise.
446 * elf32-cris.c (cris_elf_gc_sweep_hook): Likewise.
447 * elf32-hppa.c (elf32_hppa_gc_sweep_hook): Likewise.
448 * elf32-i386.c (elf_i386_gc_sweep_hook): Likewise.
449 * elf32-m32r.c (m32r_elf_gc_sweep_hook): Likewise.
450 * elf32-m68k.c (elf_m68k_gc_sweep_hook): Likewise.
451 * elf32-s390.c (elf_s390_gc_sweep_hook): Likewise.
452 * elf32-sh.c (sh_elf_gc_sweep_hook): Likewise.
453 * elf32-vax.c (elf_vax_gc_sweep_hook): Likewise.
454 * elf32-xtensa.c (elf_xtensa_gc_sweep_hook): Likewise.
455 * elf64-x86-64.c (elf64_x86_64_gc_sweep_hook): Likewise.
456 * elf64-s390.c (elf_s390_gc_sweep_hook): Likewise.
457 * elf64-ppc.c (ppc64_elf_gc_sweep_hook): Likewise.
458 * elfxx-mips.c (_bfd_mips_elf_gc_sweep_hook): Likewise.
459 * elfxx-sparc.c (_bfd_sparc_elf_gc_sweep_hook): Likewise.
460 * elflink.c (bfd_elf_gc_sections): Do not punt on relocatable output
461 or executable output with relocations.
462
463 2008-01-09 Nick Clifton <nickc@redhat.com>
464
465 PR gas/5552
466 * elf32-fr30.c (fr30_elf_howto_table): Set partial_inplace field
467 to FALSE for all relocs.
468
469 2008-01-09 Richard Sandiford <rsandifo@nildram.co.uk>
470
471 PR ld/5526
472 * elf-bfd.h (eh_cie_fde): Add u.cie.u.full_cie and u.cie.merged
473 fields. Rename u.cie.u.merged to u.cie.u.merged_with.
474 (eh_frame_sec_info): Add a cies field.
475 (eh_frame_hdr_info): Add a merge_cies field.
476 * elf-eh-frame.c (cie): Add a reloc_index member to the personality
477 union.
478 (_bfd_elf_begin_eh_frame_parsing): Set hdr_info->merge_cies instead
479 of hdr_info->cies.
480 (_bfd_elf_parse_eh_frame): Remove tmp_cie. Ccreate an array of
481 cie structures in all cases and use it instead of extended_cies.
482 If merging, store the cie array in sec_info->cies and point each
483 CIE's eh_fde_cie at the associated element. Do not try to
484 calculate the value of the personality routine here; record the
485 offset of the relocation instead. Do not merge CIEs here.
486 (_bfd_elf_end_eh_frame_parsing): Do not free hdr_info->cies here...
487 (_bfd_elf_discard_section_eh_frame_hdr): ...do it here instead.
488 (_bfd_elf_gc_mark_fdes): Mark the original (unmerged) CIE.
489 (find_merged_cie): New function.
490 (_bfd_elf_gc_mark_fdes): Use it. Free sec_info->cies.
491
492 2008-01-07 Nick Clifton <nickc@redhat.com>
493
494 PR binutils/5535
495 * vms.c (vms_close_and_cleanup): Check for the presence of a
496 vms_private_data_struct before examining any of its fields.
497
498 2008-01-07 H.J. Lu <hongjiu.lu@intel.com>
499
500 PR ld/5522
501 * elflink.c (elf_link_input_bfd): Don't write out a section if
502 its output section is marked with SEC_NEVER_LOAD.
503
504 For older changes see ChangeLog-2007
505 \f
506 Local Variables:
507 mode: change-log
508 left-margin: 8
509 fill-column: 74
510 version-control: never
511 End:
This page took 0.040714 seconds and 5 git commands to generate.