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