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