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