1 2008-02-23 Alan Modra <amodra@bigpond.net.au>
3 * elf32-ppc.c (ppc_elf_copy_indirect_symbol): Copy
4 pointer_equality_needed.
5 (ppc_elf_check_relocs): Split out non-branch relocs from others
6 that might emit dynamic relocs. Set pointer_equality_needed
7 for their symbols. Don't set non_got_ref on branch reloc symbols.
8 (ppc_elf_hash_symbol): New function.
9 (elf_backend_hash_symbol): Define.
10 (ppc_elf_finish_dynamic_symbol): Handle pointer_equality_needed.
11 Error if pointer_equality_needed on weak plt symbol.
13 2008-02-22 H.J. Lu <hongjiu.lu@intel.com>
16 * elflink.c (elf_create_symbuf): Correct buffer size and
19 2008-02-22 Nick Clifton <nickc@redhat.com>
22 * dwarf2.c: Revert previous patch. All of the allocate memory is
23 on an obstack which will be freed at some other time.
25 2008-02-20 Nick Clifton <nickc@redhat.com>
28 * libbfd.c (bfd_realloc_or_free): New function. Performs like
29 bfd_realloc, but if the (re)allocation fails, the pointer is
31 * libbfd-in.h: Prototype.
32 * libbfd.h: Regenerate.
33 * bfdio.c (bfd_bwrite): Use the new function.
35 * bfdwin.c:(bfd_get_file_window): Likewise.
36 * elf-strtab.c (_bfd_elf_strtab_add): Likewise.
37 * elf32-ppc.c (ppc_elf_relax_section): Likewise.
38 * elf32-xtensa.c (vsprintf_msg): Likewise.
39 * mach-o.c (bfd_mach_o_core_fetch_environment): Likewise.
40 * stabs.c (_bfd_link_seciton_stabs): Likewise.
41 * vms-misc.c (_bfd_vms_get_record): Likewise.
42 * vms-tir.c (check_section): Likewise.
43 * vms.c (vms_new_section_hook): Likewise.
44 * elf32-arm.c (elf32_arm_section_map_add): Check that the
45 allocation of sec_data->map succeeded before using it.
46 * elflink.c (elf_link_output_sym): Do not overwrite finfo->
47 symshndxbuf until it is known that the reallocation succeeded.
49 2008-02-20 Diogo de Carvalho Kraemer <diogo@kraemer.eng.br>
50 Nick Clifton <nickc@redhat.com>
53 * dwarf2.c (read_abbrevs): Free the abbreviation table if we run
55 (decode_line_info): Free the line_info_table before returning a
57 (_bfd_dwarf2_cleanup_debug_info): Free the abbreviation table.
58 Free the line table. Free the function table. Free the variable
61 2008-02-17 Mark Kettenis <kettenis@gnu.org>
63 * elf.c (swap_out_syms): Avoid preprocessing directive within
66 2008-02-17 Jan Kratochvil <jan.kratochvil@redhat.com>
68 * elf.c (assign_file_positions_for_load_sections): Set the type of
69 PT_NOTE sections to SHT_NOTE.
71 2008-02-17 Ulrich Weigand <uweigand@de.ibm.com>
73 * simple.c (bfd_simple_get_relocated_section_contents): Set
76 2008-02-16 Nathan Sidwell <nathan@codesourcery.com>
78 * dwarf2.c (find_line): Don't trust debug information after an
79 unparseable compilation unit.
81 2008-02-15 Alan Modra <amodra@bigpond.net.au>
84 * section.c (SEC_LINK_DUPLICATES): Correct. Renumber following flags.
85 * bfd-in2.h: Regenerate.
87 2008-02-15 Alan Modra <amodra@bigpond.net.au>
89 * elf-bfd.h (enum elf_object_id): Add HPPA_ELF_TDATA.
90 * elf.c (bfd_elf_allocate_object): Don't check for already allocated
92 * elf32-hppa.c (elf32_hppa_mkobject): New function.
93 (bfd_elf32_mkobject): Define.
94 * elf32-ppc.c (is_ppc_elf_target): Delete. Replace all uses with..
95 (is_ppc_elf): ..this new macro.
96 * elf64-ppc.c (is_ppc64_elf_target): Delete. Replace all uses with..
97 (is_ppc64_elf): ..this new macro.
99 2008-02-15 Alan Modra <amodra@bigpond.net.au>
101 * elflink.c: Replace all accesses to hash->creator field with
103 * cofflink.c: Likewise.
104 * coff-h8300.c: Likewise.
106 * elf32-m68hc1x.c: Likewise.
107 * elf32-ppc.c: Likewise.
108 * elf64-alpha.c: Likewise.
109 * elf64-ppc.c: Likewise.
110 * elf64-sparc.c: Likewise.
111 * elfxx-mips.c: Likewise.
112 * i386linux.c: Likewise.
113 * m68klinux.c: Likewise.
114 * sparclinux.c: Likewise.
116 * xcofflink.c: Likewise.
117 * linker.c: Likewise.
118 (_bfd_link_hash_table_init): Don't store creator.
120 2008-02-14 Peter Jones <pjones@redhat.com>
122 * efi-rtdrv-ia32.c: New file.
123 * efi-bsdrv-ia32.c: New file.
124 * efi-rtdrv-ia64.c: New file.
125 * efi-bsdrv-ia64.c: New file.
126 * efi-rtdrv-x86_64.c: New file.
127 * efi-bsdrv-x86_64.c: New file.
128 * peicode.h (pe_bfd_object_p): Add support for boot service and
129 runtime service drivers.
130 * libpei.h: Add macros for EFI formats, and rename the efi application
131 format macros to disambiguate.
132 * targets.c: Add bfd_target _vec externs.
133 (_bfd_tar): Add EFI _vec entries.
134 * config.bfd: Add EFI vectors into the selection routines.
135 * configure.in: add EFI _vec entries.
136 * configure: Regenerate.
137 * Makefile.am: Add EFI files.
138 * Makefile.in: Regenerate.
140 2008-02-14 Nathan Sidwell <nathan@codesourcery.com>
142 * dwarf1.c (struct dwarf1_debug): Add syms member.
143 (alloc_dwarf1_unit, alloc_dwarf1_func): Check for out of memory.
144 (parse_line_table, _bfd_dwarf1_find_nearest_line): Relocate
145 section contents, check for out of memory.
147 * dwarf1.c (struct dwarf1_debug): Change data pointers to bfd_byte.
148 (parse_die): Change data pointers to bfd_byte.
149 (parse_line_table, parse_functions_in_unit): Likewise.
151 2008-02-14 Alan Modra <amodra@bigpond.net.au>
153 * elflink.c (compute_bucket_count): Warning fixes.
155 2008-02-12 DJ Delorie <dj@redhat.com>
157 * elf32-iq2000.c (iq2000_elf_relocate_section): Adjust addend of
158 relocation pointing to local symbol in merged section.
160 * elf32-iq2000.c (iq2000_elf_relocate_offset16): New.
161 (iq2000_elf_relocate_section): Call it.
163 2008-02-12 Nick Clifton <nickc@redhat.com>
166 * elf-bfd.h (enum elf_object_id): New enum, used to identify
167 target specific extensions to the elf_obj_tdata structure.
168 (struct elf_obj_tdata): New field 'object_id'.
169 (elf_object_id, elf_program_header_size, elf_symtab_hdr): New
170 macros for accessing fields in the elf_obj_tdata structure.
171 (bfd_elf_mkobject): Rename to bfd_elf_make_generic_object.
172 (bfd_elf_allocate_object): New function.
173 * elf.c (bfd_elf_mkobject): Rename to bfd_elf_make_generic_object
174 and implement by calling bfd_elf_allocate_object.
175 (bfd_elf_allocate_object): New function: Allocates an
176 elf_obj_tdata structure, possibly with a target specific
178 * elfxx-target.h (bfd_elfNN_mkobject): Use
179 bfd_elf_make_generic_object as the default value.
180 * elf32-arm.c (elf32_arm_obj_tdata): Rename to elf_arm_obj_tdata
181 for consistency with other, similar structures.
182 (is_arm_elf): New macro. Checks a BFD to make sure that is an ARM
184 (elf32_arm_mkobject): Call bfd_elf_allocate_object.
185 (bfd_elf32_arm_vfp11_erratum_scan): Use is_arm_elf macro to check
186 the bfd being processed.
187 (bfd_elf32_arm_vfp11_fix_veneer_locations): Likewise.
188 (bfd_elf32_arm_set_target_relocs): Likewise.
189 (bfd_elf32_arm_final_link_relocate): Likewise.
190 (bfd_elf32_arm_copy_private_bfd_data): Likewise.
191 (bfd_elf32_arm_merge_eabi_attributes): Likewise.
192 (bfd_elf32_arm_merge_private_bfd_data): Likewise.
193 (bfd_elf32_arm_check_relocs): Likewise.
194 (bfd_elf32_arm_gc_mark_extra_sections): Likewise.
195 (bfd_elf32_arm_size_dynamic_sections): Likewise.
196 (bfd_elf32_arm_process_before_allocation): Use elf_symtab_hdr.
197 (bfd_elf32_arm_init_maps): Likewise.
198 (bfd_elf32_arm_final_link_relocate): Likewise.
199 (bfd_elf32_arm_relocate_section): Likewise.
200 (bfd_elf32_arm_gc_sweep_hook): Likewise.
201 (bfd_elf32_arm_check_relocs): Likewise.
202 (bfd_elf32_arm_size_dynamic_sections): Likewise.
203 * elf32-i386.c (elf_i386_mkobject): Call bfd_elf_allocate_object.
204 (is_i386_elf): New macro. Checks a BFD to make sure that is an x86
206 (elf_i386_check_relocs): Use is_i386_elf macro to check the bfd
208 (elf_i386_size_dynamic_sections): Likewise.
209 (elf_i386_relocate_section): Likewise.
210 (elf_i386_check_relocs): Use elf_symtab_hdr.
211 (elf_i386_gc_sweep_hook): Likewise.
212 (elf_i386_size_dynamic_sections): Likewise.
213 (elf_i386_relocate_section): Likewise.
214 * elf32-ppc.c (ppc_elf_mkobject): Call bfd_elf_allocate_object.
215 (elf_create_pointer_linker_section): Use is_ppc_elf_target to
216 verify that the bfd before accessing target specific fields.
217 (ppc_elf_check_relocs): Likewise.
218 (elf_finish_pointer_linker_section): Likewise.
219 (elf_create_pointer_linker_section): Use elf_symtab_hdr.
220 (ppc_elf_check_relocs): Likewise.
221 (ppc_elf_gc_sweep_hook): Likewise.
222 (ppc_elf_tls_optimize): Likewise.
223 (ppc_elf_size_dynamic_sections): Likewise.
224 (ppc_elf_relax_section): Likewise.
225 (ppc_elf_relocate_section): Likewise.
226 * elf32-s390.c (struct elf_s390_obj_tdata): Add a comment
227 reminding programmers to keep this structure in sync with the one
228 defined in elf64-s390.c.
229 (elf_s390_mkobject): Call bfd_elf_allocate_object.
230 (is_s390_elf): New macro. Checks a BFD to make sure that is an s390
232 (elf_s390_check_relocs): Use is_s390_elf macro to check the bfd
234 (elf_s390_size_dynamic_sections): Likewise.
235 (elf_s390_relocate_section): Likewise.
236 (elf_s390_check_relocs): Use elf_symtab_hdr.
237 (elf_s390_gc_sweep_hook): Likewise.
238 (elf_s390_size_dynamic_sections): Likewise.
239 (elf_s390_relocate_section): Likewise.
240 * elf32-sh.c (sh_elf_mkobject): Call bfd_elf_allocate_object.
241 (is_sh_elf): New macro. Checks a BFD to make sure that is an SH
243 (sh_elf_size_dynamic_sections): Use is_sh_elf macro to check the
245 (sh_elf_relocate_section): Likewise.
246 (sh_elf_check_relocs): Likewise.
247 (sh_elf_copy_private_data): Likewise.
248 (sh_elf_relax_section): Use elf_symtab_hdr.
249 (sh_elf_size_dynamic_sections): Likewise.
250 (sh_elf_relocate_section): Likewise.
251 (sh_elf_get_relocated_section_contents): Likewise.
252 (sh_elf_gc_sweep_hook): Likewise.
253 (sh_elf_check_relocs): Likewise.
254 * elf64-alpha.c (elf64_alpha_mkobject): Call bfd_elf_allocate_object.
255 (is_alpha_elf): New macro. Checks a BFD to make sure that is an
257 (elf64_alpha_create_got_section): Use is_alpha_elf macro to check
258 the bfd being processed.
259 (elf64_alpha_create_dynamic_section): Likewise.
260 (elf64_alpha_check_relocs): Likewise.
261 (elf64_alpha_size_got_sections): Likewise.
262 (elf64_alpha_relax_section): Likewise.
263 (elf64_alpha_relocate_section): Likewise.
264 (elf64_alpha_final_link): Likewise.
265 (elf64_alpha_check_relocs): Use elf_symtab_hdr.
266 (elf64_alpha_relax_section): Likewise.
267 (elf64_alpha_relocate_section_r): Likewise.
268 (elf64_alpha_relocate_section): Likewise.
269 * elf64-ppc.c (ppc64_elf_mkobject): Call bfd_elf_allocate_object.
270 (ppc64_elf_check_relocs): Use is_ppc64_elf_target to check the bfd
272 (opd_entry_value): Likewise.
273 (allocate_dynrelocs): Likewise.
274 (ppc64_elf_relocate_section): Likewise.
275 (ppc64_elf_check_relocs): Use elf_symtab_hdr.
276 (opd_entry_value): Likewise.
277 (ppc64_elf_gc_sweep_hook): Likewise.
278 (get_sym_h): Likewise.
279 (ppc64_elf_edit_opd): Likewise.
280 (ppc64_elf_tls_optimize): Likewise.
281 (ppc64_elf_edit_toc): Likewise.
282 (ppc64_elf_size_dynamic_sections): Likewise.
283 (toc_adjusting_stub_needed): Likewise.
284 (ppc64_elf_size_stubs): Likewise.
285 (ppc64_elf_relocate_section): Likewise.
286 * elf64-s390.c (struct elf_s390_obj_tdata): Add a comment
287 reminding programmers to keep this structure in sync with the one
288 defined in elf32-s390.c.
289 (elf_s390_mkobject): Call bfd_elf_allocate_object.
290 (is_s390_elf): New macro. Checks a BFD to make sure that is an s390
292 (elf_s390_check_relocs): Use is_s390_elf macro to check the bfd
294 (elf_s390_size_dynamic_sections): Likewise.
295 (elf_s390_relocate_section): Likewise.
296 (elf_s390_check_relocs): Use elf_symtab_hdr.
297 (elf_s390_gc_sweep_hook): Likewise.
298 (elf_s390_size_dynamic_sections): Likewise.
299 (elf_s390_relocate_section): Likewise.
300 * elf64-x86_64.c (elf64_x86_64_mkobject): Call bfd_elf_allocate_object.
301 (is_x86_64_elf): New macro. Checks a BFD to make sure that is an
303 (elf64_x86_64_check_relocs): Use is_x86_64_elf macro to check the bfd
305 (elf64_x86_64_size_dynamic_sections): Likewise.
306 (elf64_x86_64_relocate_section): Likewise.
307 (elf64_x86_64_check_relocs): Use elf_symtab_hdr.
308 (elf64_x86_64_gc_sweep_hook): Likewise.
309 (elf64_x86_64_size_dynamic_sections): Likewise.
310 (elf64_x86_64_relocate_section): Likewise.
311 * elfxx-sparc.c (_bfd_sparc_elf_mkobject): Call bfd_elf_allocate_object.
312 (is_sparc_elf): New macro. Checks a BFD to make sure that is a Sparc
314 (_bfd_sparc_elf_check_relocs): Use is_sparc_elf macro to check the
316 (_bfd_sparc_elf_gc_sweep_hook): Likewise.
317 (_bfd_sparc_elf_size_dynamic_sections): Likewise.
318 (_bfd_sparc_elf_check_relocs): Use elf_symtab_hdr.
319 (_bfd_sparc_elf_gc_sweep_hook): Likewise.
320 (_bfd_sparc_elf_size_dynamic_sections): Likewise.
321 (_bfd_sparc_elf_relocate_section): Likewise.
323 2008-02-12 Alan Modra <amodra@bigpond.net.au>
326 * arange-set.c: Delete.
327 * arange-set.h: Delete.
328 * dwarf2.c: Revert 2007-09-21 changes.
329 * Makefile.am: Likewise.
330 * Makefile.in: Regenerate.
331 * po/SRC-POTFILES.in: Regenerate.
333 2008-02-11 Bernd Schmidt <bernd.schmidt@analog.com>
335 * elf32-bfin.c (bfin_relocate_section): Set up dynobj before using it
337 (elf32_bfin_merge_private_bfd_data): Simplify, and ensure object type
338 mismatches are detected.
340 * elf32-bfin.c (bfinfdpic_relocate_section): Take more care not to
341 emit invalid relocs or rofixup entries for deleted .eh_frame entries.
343 2008-02-11 Daniel Jacobowitz <dan@codesourcery.com>
345 * cache.c (cache_bread): Set bfd_error_file_truncated if EOF
347 * srec.c (srec_scan): Calculate the checksum. Complain on mismatch.
349 2008-02-07 Alan Modra <amodra@bigpond.net.au>
351 * elf32-spu.c (spu_elf_size_stubs): Revert 2008-01-28 doubling
352 of _ovly_buf_table size.
353 (spu_elf_build_stubs): Use low bit of .size as "present" bit.
354 Adjust initialisations relating to _ovly_buf_table.
356 2008-02-04 Bob Wilson <bob.wilson@acm.org>
358 * elf32-xtensa (elf_xtensa_relocate_section): After finding an invalid
359 relocation, do not continue processing it. Ignore R_XTENSA_ASM_EXPAND
360 relocations against dynamic symbols.
361 (elf_xtensa_finish_dynamic_sections): Do not fail if there is no
364 2008-02-04 Kai Tietz <kai.tietz@onevision.com>
365 H.J. Lu <hongjiu.lu@intel.com>
368 * warning.m4: Enable -Wno-format by default when using gcc on
370 * configure: Regenerated.
372 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
374 * archures.c: Update copyright.
375 (bfd_mach_mips_octeon): New macro.
376 * bfd-in2.h: Regenerate.
377 * elfxx-mips.c (_bfd_elf_mips_mach): Handle Octeon.
378 (mips_set_isa_flags): Likewise.
379 (mips_mach_extensions): Add Octeon.
380 * cpu-mips.c: Update copyright.
381 (I_mipsocteon): New enum constant.
382 (arch_info_struct): Add Octeon.
384 2008-02-04 Alan Modra <amodra@bigpond.net.au>
386 * elf32-spu.c (spu_elf_relocate_section): Correct return type.
387 Return error status on unexpected relocation errors.
389 2008-02-04 Alan Modra <amodra@bigpond.net.au>
392 * elf.c (bfd_elf_get_elf_syms): Revert 2008-01-31. Instead abort
394 * elf32-arm.c (elf32_arm_size_dynamic_sections): Skip glue
395 processing on non-ELF input.
397 2008-01-31 Marc Gauthier <marc@tensilica.com>
399 * config.bfd (xtensa*-*-*): Recognize processor variants.
401 2008-01-31 Nick Clifton <nickc@redhat.com>
404 * elf.c (bfd_elf_get_elf_syms): Check the return value of
405 get_elf_backend_data.
407 2008-01-28 Fabian Groffen <grobian@gentoo.org>
409 * config.bfd (x86_64-*-solaris2): Add support for this target.
411 2008-01-28 Alan Modra <amodra@bigpond.net.au>
413 Rewrite SPU overlay handling code. Put overlay calls stubs in the
414 overlays where possible. Use a faster call stub, or optionally at
415 compile time, a more compact stub. Double size of _ovly_buf_table
416 so that low bit of _ovly_table.buf can be used as a "present" bit.
417 Reserve an extra _ovly_table entry for index zero.
418 * elf32-spu.c: (struct spu_link_hash_table): Delete a number of fields,
420 (struct got_entry): New.
421 (struct spu_stub_hash_entry): Delete.
422 (stub_hash_newfunc, spu_elf_link_hash_table_free): Delete.
423 (spu_elf_link_hash_table_create): Adjust for struct changes.
424 (spu_stub_name): Delete.
425 (spu_elf_find_overlays): Don't track sections from overlay regions.
426 Instead set ovl_buf number in spu elf section data. Error if
427 overlays in one region don't start at the same address. Adjust
428 for struct _spu_elf_section_data changes.
429 (SIZEOF_STUB1, SIZEOF_STUB2, ILA_79, ILA_78): Delete.
430 (OVL_STUB_SIZE, BRSL, LNOP, ILA): Define.
431 (needs_ovl_stub): Adjust for struct _spu_elf_section_data changes.
432 (enum _insn_type): New.
433 (count_stub, build_stub): New functions.
434 (allocate_spuear_stubs): Use count_stub.
435 (build_spuear_stubs): Use build_stub.
436 (populate_stubs, sort_stubs): Delete.
437 (process_stubs): New function.
438 (write_one_stub): Delete.
439 (spu_elf_size_stubs, spu_elf_build_stubs): Rewrite.
440 (alloc_stack_info): Adjust for struct _spu_elf_section_data changes.
441 (maybe_insert_function, check_function_ranges): Likewise.
442 (find_function, pasted_function, build_call_tree): Likewise.
443 (spu_elf_stack_analysis, spu_elf_modify_segment_map): Likewise.
444 (spu_elf_modify_program_headers): Likewise.
445 (interesting_section): Detect stub sections differently. Delete
446 htab param, adjust all callers.
447 (spu_elf_relocate_section): Rewrite stub handling.
448 (spu_elf_output_symbol_hook): Likewise.
449 (bfd_elf32_bfd_link_hash_table_free): Delete.
450 * elf32-spu.h (struct _spu_elf_section_data): Move input-only and
451 output-only fields into a union. Add ovl_buf.
452 (spu_elf_size_stubs, spu_elf_build_stubs): Update prototypes.
454 2008-01-25 DJ Delorie <dj@redhat.com>
456 * elf32-m32c.c (_bfd_m32c_elf_eh_frame_address_size): New.
458 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
460 * bfd-in.h: Add mingw I64 support.
461 * bfd-in2.h: Regenerated.
462 * bfd.c: (bfd_get_sign_extend_vma): Add pe-x86-64 and pei-x86-64.
464 2008-01-21 Alan Modra <amodra@bigpond.net.au>
467 * format.c (bfd_check_format_matches): Don't accept archives as
468 fully matching unless they have a map.
470 2008-01-21 Alan Modra <amodra@bigpond.net.au>
472 * elflink.c (_bfd_elf_link_output_relocs): Correct error return.
474 2008-01-21 Alan Modra <amodra@bigpond.net.au>
476 * ecoff.c (_bfd_ecoff_archive_p): Delete.
477 * libecoff.h (_bfd_ecoff_archive_p): Delete.
478 * coff-alpha.c (ecoffalpha_little_vec): Use bfd_generic_archive_p.
479 * coff-mips.c (ecoff_little_vec, ecoff_big_vec): Likewise.
480 (ecoff_biglittle_vec): Likewise.
482 2008-01-19 Alan Modra <amodra@bigpond.net.au>
485 * elf64-ppc.c (ppc64_elf_tls_optimize): Ensure htab->tls_get_addr
486 non-NULL before dereferencing.
488 2008-01-15 Alan Modra <amodra@bigpond.net.au>
491 * elf-bfd.h (struct elf_backend_data): Add gc_keep. Remove param
493 (_bfd_elf_gc_keep): Declare.
494 * elfxx-target.h (elf_backend_gc_keep): Define.
495 (elfNN_bed): Init new field.
496 * elflink.c (_bfd_elf_gc_keep): New function.
497 (bfd_elf_gc_sections): Call gc_keep.
498 * elf64-ppc.c (elf_backend_gc_keep): Define.
499 (struct _ppc64_elf_section_data): Move .opd related fields to
500 a struct so they don't occupy the same storage. Adjust accesses
502 (ppc64_elf_gc_keep): New function, split out from..
503 (ppc64_elf_gc_mark_hook): ..here. Don't call _bfd_elf_gc_mark
504 to mark .opd section, just set gc_mark.
505 (ppc64_elf_edit_opd): Remove no_opd_opt parm. Don't set opd->adjust
506 unless we are changing .opd. Test non-NULL opd->adjust at all
507 accesses throughout file.
508 * elf64-ppc.h (ppc64_elf_edit_opd): Update prototype.
510 2008-01-15 Alan Modra <amodra@bigpond.net.au>
512 * bfd-in.h (BFD_HOST_LONG_LONG): Delete.
513 * bfd-in2.h: Regenerate.
515 2008-01-11 Tristan Gingold <gingold@adacore.com>
516 Eric Botcazou <ebotcazou@adacore.com>
518 * elf32-ppc.c (ppc_elf_gc_sweep_hook): Exit early if generating a
520 * elf32-arm.c (elf32_arm_gc_sweep_hook): Likewise.
521 * elf32-cris.c (cris_elf_gc_sweep_hook): Likewise.
522 * elf32-hppa.c (elf32_hppa_gc_sweep_hook): Likewise.
523 * elf32-i386.c (elf_i386_gc_sweep_hook): Likewise.
524 * elf32-m32r.c (m32r_elf_gc_sweep_hook): Likewise.
525 * elf32-m68k.c (elf_m68k_gc_sweep_hook): Likewise.
526 * elf32-s390.c (elf_s390_gc_sweep_hook): Likewise.
527 * elf32-sh.c (sh_elf_gc_sweep_hook): Likewise.
528 * elf32-vax.c (elf_vax_gc_sweep_hook): Likewise.
529 * elf32-xtensa.c (elf_xtensa_gc_sweep_hook): Likewise.
530 * elf64-x86-64.c (elf64_x86_64_gc_sweep_hook): Likewise.
531 * elf64-s390.c (elf_s390_gc_sweep_hook): Likewise.
532 * elf64-ppc.c (ppc64_elf_gc_sweep_hook): Likewise.
533 * elfxx-mips.c (_bfd_mips_elf_gc_sweep_hook): Likewise.
534 * elfxx-sparc.c (_bfd_sparc_elf_gc_sweep_hook): Likewise.
535 * elflink.c (bfd_elf_gc_sections): Do not punt on relocatable output
536 or executable output with relocations.
538 2008-01-09 Nick Clifton <nickc@redhat.com>
541 * elf32-fr30.c (fr30_elf_howto_table): Set partial_inplace field
542 to FALSE for all relocs.
544 2008-01-09 Richard Sandiford <rsandifo@nildram.co.uk>
547 * elf-bfd.h (eh_cie_fde): Add u.cie.u.full_cie and u.cie.merged
548 fields. Rename u.cie.u.merged to u.cie.u.merged_with.
549 (eh_frame_sec_info): Add a cies field.
550 (eh_frame_hdr_info): Add a merge_cies field.
551 * elf-eh-frame.c (cie): Add a reloc_index member to the personality
553 (_bfd_elf_begin_eh_frame_parsing): Set hdr_info->merge_cies instead
555 (_bfd_elf_parse_eh_frame): Remove tmp_cie. Ccreate an array of
556 cie structures in all cases and use it instead of extended_cies.
557 If merging, store the cie array in sec_info->cies and point each
558 CIE's eh_fde_cie at the associated element. Do not try to
559 calculate the value of the personality routine here; record the
560 offset of the relocation instead. Do not merge CIEs here.
561 (_bfd_elf_end_eh_frame_parsing): Do not free hdr_info->cies here...
562 (_bfd_elf_discard_section_eh_frame_hdr): ...do it here instead.
563 (_bfd_elf_gc_mark_fdes): Mark the original (unmerged) CIE.
564 (find_merged_cie): New function.
565 (_bfd_elf_gc_mark_fdes): Use it. Free sec_info->cies.
567 2008-01-07 Nick Clifton <nickc@redhat.com>
570 * vms.c (vms_close_and_cleanup): Check for the presence of a
571 vms_private_data_struct before examining any of its fields.
573 2008-01-07 H.J. Lu <hongjiu.lu@intel.com>
576 * elflink.c (elf_link_input_bfd): Don't write out a section if
577 its output section is marked with SEC_NEVER_LOAD.
579 For older changes see ChangeLog-2007
585 version-control: never