ceca41626f7d2a4a435cbbc8ff5dba8495f3bb87
[deliverable/binutils-gdb.git] / bfd / ChangeLog
1 2010-02-09 Alan Modra <amodra@gmail.com>
2
3 * elf64-ppc.c (struct got_entry): Make tls_type and is_indirect
4 unsigned char. Update variables and code using them throughout file.
5 (struct ppc_link_hash_entry): Likewise for tls_mask.
6
7 * elf64-ppc.c (ppc64_elf_layout_multitoc): Don't merge local got ents.
8
9 * elf64-ppc.c (has_small_toc_reloc): Don't define.
10 (makes_toc_func_call, call_check_in_progress): Shuffle flags.
11 (struct ppc64_elf_obj_tdata): Add has_small_toc_reloc. Update
12 code setting the flag.
13 (ppc64_elf_next_toc_section): Group big-toc sections in
14 0x80008000 chunks.
15
16 2010-02-08 David S. Miller <davem@davemloft.net>
17
18 * elfxx-sparc.h (struct _bfd_sparc_elf_link_hash_table): Remove sgot,
19 srelgot, splt, srelplt, and sgotplt members in favor of generic copies.
20
21 * elfxx-sparc.c (create_got_section): Delete.
22 (_bfd_sparc_elf_create_dynamic_sections): Don't call, the dynamic
23 section creator does that work for us. Use ->elf.foo instead of
24 ->foo where applicable.
25 (_bfd_sparc_elf_check_relocs): Use ->elf.foo instead of ->foo
26 where applicable.
27 (allocate_dynrelocs): Likewise.
28 (_bfd_sparc_elf_size_dynamic_sections): Likewise.
29 (_bfd_sparc_elf_relocate_section): Likewise.
30 (sparc_vxworks_build_plt_entry): Likewise.
31 (_bfd_sparc_elf_finish_dynamic_symbol): Likewise.
32 (sparc_finish_dyn): Likewise.
33 (sparc_vxworks_finish_exec_plt): Likewise.
34 (sparc_vxworks_finish_shared_plt): Likewise.
35 (_bfd_sparc_elf_finish_dynamic_sections): Likewise.
36
37 * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Use the SYMBOL_*
38 macros for visibilty and locality checks.
39 (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise.
40 (allocate_dynrelocs): Likewise.
41 (_bfd_sparc_elf_relocate_section): Likewise.
42 (_bfd_sparc_elf_finish_dynamic_symbol):Likewise.
43
44 * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_symbol): Remove set
45 but never used local var 'dynobj'.
46
47 * elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Handle
48 nocopyreloc.
49
50 * reloc.c (BFD_RELOC_SPARC_JMP_IREL): New.
51 (BFD_RELOC_SPARC_IRELATIVE): Likewise.
52 * bfd-in2.h: Regenerate.
53 * libbfd.h: Regenerate.
54
55 * elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Add loc_hash_table
56 and loc_hash_memory.
57 (_bfd_sparc_elf_link_hash_table_free): Declare.
58 * elf32-sparc.c (elf32_sparc_add_symbol_hook): New.
59 (elf_backend_add_symbol_hook, elf_backend_post_process_headers,
60 bfd_elf32_bfd_link_hash_table_free): Define.
61 * elf64-sparc.c (elf64_sparc_add_symbol_hook): Set
62 has_ifunc_symbols if STT_GNU_IFUNC.
63 (bfd_elf64_bfd_link_hash_table_free): Define.
64 (elf_backend_post_process_headers): Define always.
65 * elfxx-sparc.c (sparc_jmp_irel_howto, sparc_irelative_howto): New.
66 (sparc_reloc_map): Add entries for new IFUNC relocs.
67 (_bfd_sparc_elf_reloc_type_lookup): Handle new IFUNC relocs.
68 (_bfd_sparc_elf_info_to_howto_ptr): Likewise.
69 (elf_sparc_local_htab_hash, elf_sparc_local_htab_eq,
70 elf_sparc_get_local_sym_hash): New.
71 (_bfd_sparc_elf_create_dynamic_sections): Move PLT ops initialization
72 from here...
73 (_bfd_sparc_elf_link_hash_table_create): ... to here. Allocate
74 local hash table.
75 (_bfd_sparc_elf_link_hash_table_free): New.
76 (create_ifunc_sections): New.
77 (_bfd_sparc_elf_check_relocs): Unconditionally assign htab->elf.dynobj
78 and call create_ifunc_sections(). For local STT_GNU_IFUNC symbols
79 cons up a fake local hash table entry for it. Unconditionally add
80 a PLT refcount for STT_GNU_IFUNC symbols when h->def_regular. Count
81 dyn relocs for ifunc.
82 (_bfd_sparc_elf_adjust_dynamic_symbol): Handle ifunc.
83 (allocate_dynrelocs): Unconditionally emit a PLT entry when
84 STT_GNU_IFUNC and h->def_regular. Count GOT dyn relocs for ifunc.
85 (allocate_local_dynrelocs): New function.
86 (_bfd_sparc_elf_size_dynamic_sections): Invoke it over the local hash
87 table. Emit dynamic relocs to irelplt when not shared. Treat iplt
88 like splt.
89 (_bfd_sparc_elf_relocate_section): Handle ifunc relocations by hand.
90 (_bfd_sparc_elf_finish_dynamic_symbol): Adjust for non-dynamic ifunc
91 plt in iplt/irelplt.
92
93 2010-02-08 Richard Sandiford <r.sandiford@uk.ibm.com>
94
95 * xcofflink.c (_bfd_xcoff_bfd_final_link): When calculating
96 max_contents_size, only consider sections whose contents must
97 be swapped in.
98
99 2010-02-09 Alan Modra <amodra@gmail.com>
100
101 * elf64-ppc.c (allocate_dynrelocs): Remove unused got structs here..
102 (ppc64_elf_size_dynamic_sections): ..and here..
103 (merge_got_entries): ..rather than here.
104
105 2010-02-09 Alan Modra <amodra@gmail.com>
106
107 * elf64-ppc.c (struct ppc_link_hash_table): Add do_multi_toc.
108 (has_small_toc_reloc): Define.
109 (ppc64_elf_check_relocs): Set the above flags.
110 (ppc64_elf_edit_opd): Delete obfd param.
111 (ppc64_elf_tls_optimize): Likewise.
112 (ppc64_elf_edit_toc): Likewise.
113 (ppc64_elf_tls_setup): Likewise. Add no_multi_toc param.
114 * elf64-ppc.h: Update prototypes.
115
116 2010-02-08 Alan Modra <amodra@gmail.com>
117
118 * section.c (struct bfd_section): Delete has_tls_reloc,
119 has_tls_get_addr_call, has_gp_reloc, need_finalize_relax, reloc_done.
120 Add sec_flg0 thru sec_flg5.
121 (BFD_FAKE_SECTION): Update for changed flags.
122 * ecoff.c (bfd_debug_section): Likewise.
123 * elf32-ppc.c (has_tls_reloc, has_tls_get_addr_call): Define.
124 * elf64-ppc.c (has_tls_reloc, has_tls_get_addr_call): Define.
125 (has_toc_reloc, makes_toc_func_call, call_check_in_progress): Update.
126 * elf32-xtensa.c (reloc_done): Define.
127 * elfxx-ia64.c (skip_relax_pass_0, skip_relax_pass_1): Update.
128 * bfd-in2.h: Regenerate.
129
130 2010-02-08 Tristan Gingold <gingold@adacore.com>
131
132 * mach-o.c (bfd_mach_o_canonicalize_one_reloc): Set reloc.r_extern
133 for non-scattered relocations.
134
135 2010-02-08 Nathan Sidwell <nathan@codesourcery.com>
136
137 * elf32-ppc.c (ppc_elf_begin_write_processing): Allow empty
138 apuinfo sections, only scan input sections once and reuse the
139 buffer.
140
141 2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
142
143 * archures.c (bfd_mach_ppc_titan): Define.
144 * bfd-in2.h: Regenerate.
145 * cpu-powerpc.c (bfd_powerpc_archs): Add titan entry.
146
147 2010-02-08 Alan Modra <amodra@gmail.com>
148
149 * elf32-ppc.c (ppc_elf_check_relocs): Remove dead ifunc code.
150
151 2010-02-05 Sterling Augustine <sterling@tensilica.com>
152
153 * elf.c (assign_file_positions_for_load_sections) Update lma of
154 section if necessary. Fixes Bugzilla 11219.
155
156 2010-02-05 H.J. Lu <hongjiu.lu@intel.com>
157
158 * elf32-i386.c: Remove trailing white spaces.
159 * elf64-x86-64.c: Likewise.
160
161 2010-02-03 Nick Clifton <nickc@redhat.com>
162
163 * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add
164 entries for other architectures.
165 (struct elf_link_hash_table): Add hash_table_id field.
166 (elf_hash_table_id): New accessor macro.
167 * elflink.c (_bfd_elf_link_hash_table_init): Add target_id
168 parameter.
169 * elf-m10300.c (elf32_mn10300_hash_table): Check table id before
170 returning cast pointer.
171 (elf32_mn10300_link_hash_table_create): Identify new table as
172 containing MN10300 extensions.
173 (mn10300_elf_relax_section): Check pointer returned by
174 elf32_mn10300_hash_table.
175 * elf32-arm.c: Likewise, except using ARM extensions.
176 * elf32-avr.c: Likewise, except using AVR extensions.
177 * elf32-bfin.c: Likewise, except using BFIN extensions.
178 * elf32-cris.c: Likewise, except using CRIS extensions.
179 * elf32-frv.c: Likewise, except using FRV extensions.
180 * elf32-hppa.c: Likewise, except using HPPA32 extensions.
181 * elf32-i386.c: Likewise, except using I386 extensions.
182 * elf32-lm32.c: Likewise, except using LM32 extensions.
183 * elf32-m32r.c: Likewise, except using M32RM extensions.
184 * elf32-m68hc11.c: Likewise, except using M68HC11 extensions.
185 * elf32-m68hc1x.c: Likewise, except using M68HC11 extensions.
186 * elf32-m68hc1x.h: Likewise, except using M68HC11 extensions.
187 * elf32-m68k.c: Likewise, except using M68K extensions.
188 * elf32-microblaze.c: Likewise, except using MICROBLAZE extensions.
189 * elf32-ppc.c: Likewise, except using PPC32 extensions.
190 * elf32-s390.c: Likewise, except using S390 extensions.
191 * elf32-sh.c: Likewise, except using SH extensions.
192 * elf32-spu.c: Likewise, except using SPU extensions.
193 * elf32-xtensa.c: Likewise, except using XTENSA extensions.
194 * elf64-alpha.c: Likewise, except using ALPHA extensions.
195 * elf64-hppa.c: Likewise, except using HPPA64 extensions.
196 * elf64-ppc.c: Likewise, except using PPC64 extensions.
197 * elf64-s390.c: Likewise, except using S390 extensions.
198 * elf64-x86-64.c: Likewise, except using X86_64 extensions.
199 * elfxx-ia64.c: Likewise, except using IA64 extensions.
200 * elfxx-mips.c: Likewise, except using MIPS extensions.
201 * elfxx-sparc.c: Likewise, except using SPARC extensions.
202 * elfxx-sparc.h: Likewise, except using SPARC extensions.
203 * elf32-cr16.c (struct elf32_cr16_link_hash_table): Delete
204 redundant structure.
205 (elf32_cr16_hash_table): Delete unused macro.
206 (elf32_cr16_link_hash_traverse): Delete unused macro.
207 * elf32-score.c: Likewise.
208 * elf32-score7.c: Likewise.
209 * elf32-vax.c: Likewise.
210 * elf64-sh64.c: Likewise.
211
212 2010-02-03 Alan Modra <amodra@gmail.com>
213
214 * elf64-ppc.c (struct plt_entry): Move earlier in file.
215 (struct got_entry): Likewise. Add is_indirect and got.ent fields.
216 (struct ppc64_elf_obj_tdata): Change tlsld_got to be a struct got_entry.
217 Update all uses.
218 (struct ppc_link_hash_table): Add got_reli_size and second_toc_pass.
219 Remove no_multi_toc.
220 (update_local_sym_info, ppc64_elf_check_relocs): Clear is_indirect
221 when allocating a new struct got_entry.
222 (allocate_got): New function, extracted from..
223 (allocate_dynrelocs): ..here. Abort on got entry in non-ppc64 bfd.
224 (ppc64_elf_size_dynamic_sections): Track got relocs allocated in
225 .reliplt by got_reli_size. Set owner on ppc64_tlsld_got entries.
226 (ppc64_elf_setup_section_lists): Remove output_bfd param and
227 no_multi_toc, add add_stub_section and layout_sections_again. Stash
228 new params in htab. Extract some code to..
229 (ppc64_elf_start_multitoc_partition): ..here. New function.
230 (ppc64_elf_next_toc_section): Check for linker script errors. Handle
231 second pass toc scan.
232 (merge_got_entries, merge_global_got, reallocate_got): New functions.
233 (ppc64_elf_reinit_toc): Rename to..
234 (ppc64_elf_finish_multitoc_partition): ..this.
235 (ppc64_elf_layout_multitoc): New function.
236 (ppc64_elf_size_stubs): Delete output_bfd, add_stub_section and
237 layout_sections_again params.
238 (ppc64_elf_relocate_section): Handle indirect got entries.
239 * elf64-ppc.h: Update prototypes. Declare new functions.
240
241 2010-02-02 H.J. Lu <hongjiu.lu@intel.com>
242
243 * elf-bfd.h (elfcore_write_xstatereg): New.
244
245 * elf.c (elfcore_grok_xstatereg): New.
246 (elfcore_write_xstatereg): Likewise.
247 (elfcore_grok_note): Handle NT_X86_XSTATE.
248 (elfcore_write_register_note): Handle .reg-xstate section.
249
250 2010-02-01 Tristan Gingold <gingold@adacore.com>
251
252 * som.c (som_write_ar_hdr): Define this macro.
253
254 2010-01-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
255
256 * elf32-hppa.c (final_link_relocate): Convert R_PARISC_TLS_GD21L,
257 R_PARISC_TLS_LDM21L and R_PARISC_TLS_IE21L relocations that use the
258 linkage table pointer to use the global table pointer if not doing
259 a shared link.
260
261 2010-01-29 Joel Brobecker <brobecker@adacore.com>
262
263 * elf.c (elfcore_grok_lwpstatus): Do not overwrite the core signal
264 if it has already been set.
265
266 2010-01-27 Tristan Gingold <gingold@adacore.com>
267
268 * vms.h: Remove trailing spaces.
269 (struct hdr_struct): Remove unused hdr_c_cpr field.
270 (enum file_format_enum): Add comments.
271 * vms.c (vms_bfd_print_private_bfd_data): New function that
272 replaces the macro.
273 Remove trailing spaces.
274 * vms-misc.c: Improve comments.
275 (_bfd_vms_get_object_record): Also handle files without pads.
276 * vms-hdr.c (_bfd_vms_write_dbg): Fix format string.
277 * vms-gsd.c (struct flagdescstruct): Make name field const.
278 (gsyflagdesc): Fix typo.
279
280 2010-01-27 Alan Modra <amodra@gmail.com>
281
282 PR ld/11217
283 * elf64-ppc.c (struct ppc_link_hash_table): Add toc_bfd, toc_first_sec.
284 (ppc64_elf_setup_section_lists): Init them.
285 (ppc64_elf_next_toc_section): Don't partition multi-toc between .got
286 and .toc on the same input file.
287 (ppc64_elf_relocate_section): Correct GOT entry offset.
288
289 2010-01-26 Tristan Gingold <gingold@adacore.com>
290
291 * targets.c (BFD_JUMP_TABLE_ARCHIVE): Add initializer for write_ar_hdr.
292 (bfd_target): Add _bfd_write_ar_hdr_fn field.
293 * archive.c (is_bsd44_extended_name): New macro.
294 (_bfd_generic_read_ar_hdr_mag): Use it. Add extra_size.
295 (bfd_slurp_armap): Also check for "__.SYMDEF" as a BSD4.4 extended
296 name.
297 (_bfd_archive_bsd44_construct_extended_name_table): New function.
298 (_bfd_generic_write_ar_hdr): Ditto.
299 (_bfd_bsd44_write_ar_hdr): Ditto.
300 (_bfd_write_archive_contents): Call _bfd_write_ar_hdr.
301 (bsd_write_armap): Adjust firstreal computation.
302 * libbfd-in.h (struct areltdata): Add extra_size field.
303 (_bfd_generic_write_ar_hdr): Add prototype.
304 (_bfd_bsd44_write_ar_hdr): Ditto.
305 (_bfd_write_ar_hdr): Define.
306 (_bfd_noarchive_write_ar_hdr): Ditto.
307 (_bfd_archive_bsd_write_ar_hdr): Ditto.
308 (_bfd_archive_coff_write_ar_hdr): Ditto.
309 (_bfd_archive_bsd44_slurp_armap): Ditto.
310 (_bfd_archive_bsd44_slurp_extended_name_table): Ditto.
311 (_bfd_archive_bsd44_construct_extended_name_table): New prototype.
312 (_bfd_archive_bsd44_truncate_arname): Ditto.
313 (_bfd_archive_bsd44_write_armap): Ditto.
314 (_bfd_archive_bsd44_read_ar_hdr): Ditto.
315 (_bfd_archive_bsd44_write_ar_hdr): Ditto.
316 (_bfd_archive_bsd44_openr_next_archived_file): Ditto.
317 (_bfd_archive_bsd44_get_elt_at_index): Ditto.
318 (_bfd_archive_bsd44_generic_stat_arch_elt): Ditto.
319 (_bfd_archive_bsd44_update_armap_timestamp): Ditto.
320 * libbfd.h: Regenerate.
321 * oasys.c (oasys_write_ar_hdr): Define.
322 * libecoff.h (_bfd_ecoff_write_ar_hdr): Define.
323 * ieee.c (ieee_write_ar_hdr): Define.
324 * elf64-mips.c (bfd_elf64_archive_write_ar_hdr): Define.
325 * coff-rs6000.c (rs6000coff_vec): Adjust for write_ar_hdr field.
326 (bfd_pmac_xcoff_backend_data): Ditto.
327 * coff64-rs6000.c (rs6000coff64_vec): Ditto.
328 (bfd_xcoff_aix5_backend_data): Ditto.
329 * coff-alpha.c (alpha_ecoff_write_ar_hdr): Define.
330 * aout-target.h (MY_write_ar_hdr): Define it if not defined.
331 * aout-tic30.c (MY_write_ar_hdr): Ditto.
332 * mach-o-target.c (TARGET_NAME): Use _bfd_archive_bsd44 archive.
333 (bfd_mach_o_mkarchive, bfd_mach_o_read_ar_hdr)
334 (bfd_mach_o_slurp_armap, bfd_mach_o_slurp_extended_name_table)
335 (bfd_mach_o_construct_extended_name_table)
336 (bfd_mach_o_truncate_arname, bfd_mach_o_write_armap)
337 (bfd_mach_o_get_elt_at_index, bfd_mach_o_generic_stat_arch_elt)
338 (bfd_mach_o_update_armap_timestamp): Moved to mach-o.c
339 * mach-o.c (bfd_mach_o_mkarchive, bfd_mach_o_read_ar_hdr)
340 (bfd_mach_o_slurp_armap, bfd_mach_o_slurp_extended_name_table)
341 (bfd_mach_o_construct_extended_name_table)
342 (bfd_mach_o_truncate_arname, bfd_mach_o_write_armap)
343 (bfd_mach_o_get_elt_at_index, bfd_mach_o_generic_stat_arch_elt)
344 (bfd_mach_o_update_armap_timestamp): Moved from mach-o-target.c
345 * bfd-in2.h: Regenerate.
346
347 2010-01-26 Alan Modra <amodra@gmail.com>
348 H.J. Lu <hongjiu.lu@intel.com>
349
350 PR ld/11218
351 * elflink.c (elf_link_output_extsym): Do not ignore undefined
352 symbols with ref_regular set when gc_sections is active.
353
354 2010-01-25 Alan Modra <amodra@gmail.com>
355
356 PR ld/11217
357 * elf64-ppc.c (ppc64_elf_tls_optimize): Optimize tls sequences
358 with relocations against undefined weak symbols.
359 (ppc64_elf_relocate_section): Don't optimize calls to undefined
360 weak functions if the symbol is dynamic.
361 (ppc64_elf_relocate_section): Edit tprel tls sequences.
362 * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
363 (_bfd_elf_ppc_at_tprel_transform): New function.
364 * bfd-in.h (_bfd_elf_ppc_at_tprel_transform): Declare.
365 * bfd-in2.h: Regenerate.
366
367 2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
368
369 * coff-rs6000.c (xcoff_howto_table): Change size to 0 and bitsize to 1.
370 (_bfd_xcoff_reloc_type_lookup): Handle BFD_RELOC_NONE.
371 * coff64-rs6000.c (xcoff64_howto_table): Change size to 0 and
372 bitsize to 1.
373 (xcoff64_reloc_type_lookup): Handle BFD_RELOC_NONE.
374
375 2010-01-21 Nick Clifton <nickc@redhat.com>
376
377 * elflink.c (elf_link_add_object_symbols): Look up name of
378 undefined symbol both before and after versioning has been
379 applied. Do not bother with symbols that are weakly undefined.
380
381 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
382
383 * elf32-s390.c (elf32_s390_merge_private_bfd_data): New function.
384 (bfd_elf32_bfd_merge_private_bfd_data): New macro definition.
385
386 2010-01-19 Cary Coutant <ccoutant@google.com>
387
388 * dwarf2.c (read_attribute_value): Add DW_FORM_ref_sig8.
389
390 2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com>
391 Alan Modra <amodra@gmail.com>
392
393 * elfcode.h (elf_swap_ehdr_out): Handle e_phnum > 0xffff.
394 (elf_object_p): Read e_phnum extension.
395 (elf_write_shdrs_and_ehdr): Write e_phnum extension.
396 * elfcore.h (elf_core_file_p): Read e_phnum extension. Sanity check
397 that we can read last program header.
398
399 2010-01-19 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
400
401 * elf32-arm.c (elf32_arm_howto_table_1): Correct bitsize of
402 R_ARM_THM_CALL entry.
403 (elf32_arm_final_link_relocate): Correct calculation of
404 reloc_signed_max when doing a R_ARM_THM_CALL, R_ARM_THM_XPC22,
405 or R_ARM_THM_JUMP24 relocation.
406
407 2010-01-18 Alan Modra <amodra@gmail.com>
408
409 PR 11168
410 * coffcode.h (coff_compute_section_file_positions): Move Rs6000COFF_C
411 block past vars in COFF_IMAGE_WITH_PE block. Report error on more
412 than 32k sections.
413
414 2010-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
415
416 Fix compilation warning on gcc-3.4.
417 * vms-tir.c (start_etir_record, sto_imm): Rename the prototype
418 parameter index to sec_index according to the function definition.
419
420 2010-01-13 Chao-ying Fu <fu@mips.com>
421
422 * elfxx-mips.c (JR_TO_B_P): New define to transform JR to B.
423 It is true for all CPUs.
424 (jal_reloc_p): New function.
425 (mips_elf_calculate_relocation): Rename require_jalxp to
426 cross_mode_jump_p.
427 Update comment for CROSS_MODE_JUMP_P.
428 Set up cross_mode_jump_p based on the mode change.
429 (mips_elf_perform_relocation): Rename require_jalx to cross_mode_jump_p.
430 Update comment for CROSS_MODE_JUMP_P.
431 Test cross_mode_jump_p and jal_reloc_p to turn jal to jalx.
432 Use !cross_mode_jump_p to guard conversion.
433 Convert "jr t9" to "b", if possible.
434 (_bfd_mips_elf_relocate_section): Rename require_jalx to
435 cross_mode_jump_p.
436 Pass &cross_mode_jump_p to call mips_elf_calculate_relocation.
437 Pass cross_mode_jump_p to call mips_elf_perform_relocation.
438
439 2010-01-13 Nick Clifton <nickc@redhat.com>
440
441 * cpu-m32c.c (m32c_scan): New function. Ensures that a scan for
442 "m32c" returns the m32c arch_info_struct and not the m16c
443 arch_info_struct.
444 (arch_info_struct): Use the new scan function.
445 (bfd_m32c_arch): Likewise.
446
447 2010-01-13 Tristan Gingold <gingold@adacore.com>
448
449 * config.bfd: Remove duplicated target vector for i386-*-darwin.
450 Appends new arch instead of overriding.
451 Use mach_o_x86_64_vec for x86_64-*-darwin.
452 * configure.in: Add mach_o_x86_64_vec.
453 * configure: Regenerate.
454 * targets.c: Declare mach_o_x86_64_vec, add it to _bfd_target_vector.
455 * Makefile.am (BFD64_BACKENDS): Add mach-o-x86-64.lo
456 (BFD64_BACKENDS_CFILES): Add mach-o-x86-64.c
457 * Makefile.in: Regenerate.
458 * mach-o-x86-64.c: New file.
459
460 2010-01-13 Tristan Gingold <gingold@adacore.com>
461
462 * reloc.c: Add MACH_O_X86_64 relocations.
463 * bfd-in2.h: Regenerate.
464 * libbfd.h: Regenerate.
465
466 2010-01-13 Tristan Gingold <gingold@adacore.com>
467
468 * archive.c (normalize): Use lbasename.
469 (bfd_bsd_truncate_arname): Ditto.
470 (bfd_gnu_truncate_arname): Ditto.
471
472 2010-01-12 Tristan Gingold <gingold@adacore.com>
473
474 * makefile.vms (CFLAGS): Turns warnings into informational messages.
475
476 2010-01-11 Tristan Gingold <gingold@adacore.com>
477
478 * mach-o.h: Add x86-64 relocation types.
479
480 2010-01-11 Tristan Gingold <gingold@adacore.com>
481
482 * mach-o.h (bfd_mach_o_backend_data): Add arch field.
483 (bfd_mach_o_set_arch_mach): New prototype.
484 * mach-o.c (bfd_mach_o_mkobject): Define with bfd_mach_o_gen_mkobject.
485 (bfd_mach_o_set_arch_mach): New function.
486 (bfd_mach_o_gen_mkobject): New function.
487 Set TARGET_ARCHITECTURE for the generic back-ends.
488 * mach-o-target.c (bfd_mach_o_set_arch_mach): Remove define.
489 Check that TARGET_ARCHITECTURE is defined.
490 Add TARGET_ARCHITECTURE in TARGET_NAME_BACKEND structure.
491 * mach-o-i386.c (TARGET_ARCHITECTURE): Define.
492
493 2010-01-11 Tristan Gingold <gingold@adacore.com>
494
495 * archive.c (bfd_slurp_armap): Also check for Mach-O sorted armap.
496
497 2010-01-11 Nick Clifton <nickc@redhat.com>
498
499 * elf32-v850.c (v850_elf_perform_relocation): Fix overflow
500 handling of R_V850_HI16_S relocation.
501
502 2010-01-11 Alan Modra <amodra@gmail.com>
503
504 PR 11103
505 * dwarf1.c (parse_die): Correct FORM_STRING data pointer increment.
506
507 2010-01-11 Alan Modra <amodra@gmail.com>
508
509 PR 6832
510 * dwarf2.c (struct comp_unit): Add sec_info_ptr.
511 (find_abstract_instance_name): Use it.
512 (parse_comp_unit): Set it.
513
514 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
515
516 * Makefile.in: Regenerate.
517 * configure: Regenerate.
518
519 2010-01-08 Tristan Gingold <gingold@adacore.com>
520
521 * archive.c: Remove bfd_special_undocumented_glue.
522
523 2010-01-08 Alan Modra <amodra@gmail.com>
524
525 PR ld/11133
526 * elf32-cr16.c (elf32_cr16_gc_mark_hook): Call _bfd_elf_gc_mark_hook.
527 * elf32-microblaze.c (microblaze_elf_gc_mark_hook): Likewise.
528 * elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise.
529
530 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
531
532 PR ld/11138
533 * elflink.c (elf_link_check_versioned_symbol): Don't abort if
534 a symbol referenced by DSO is is defined in a non-shared object
535 and forced local.
536
537 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
538
539 PR ld/11133
540 * elflink.c (_bfd_elf_gc_mark_hook): Check section XXX for
541 undefined __start_XXX/__stop_XXX in all input files and set
542 SEC_KEEP.
543
544 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
545
546 PR ld/11143
547 * elflink.c (elf_gc_sweep): Keep SHT_NOTE section.
548
549 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
550
551 * bfd.m4 (BFD_HAVE_SYS_PROCFS_TYPE): Define _STRUCTURE_PROC
552 before including procfs.h.
553 (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Likewise.
554 * configure.in: Added autoconf probe for the pr_fpreg member.
555 * configure: Regenerated.
556 * config.in: Regenerated.
557 * elf.c: Define _STRUCTURE_PROC before including procfs.h.
558
559 2010-01-04 Joel Brobecker <brobecker@adacore.com>
560
561 Fix -Wshadow warnings in dwarf2.c (seen on alpha-tru64).
562 * dwarf2.c (concat_filename): Rename dirname with dir_name
563 to void shadowing the dirname function.
564 Rename subdirname with subdir_name to stay consistent with
565 the new dir_name variable name.
566
567 2010-01-04 Edmar Wienskoski <edmar@freescale.com>
568
569 * archures.c: Add bfd_mach_ppc_e500mc64.
570 * bfd-in2.h: Regenerate.
571 * cpu-powerpc.c (bfd_powerpc_archs): Add entry for
572 bfd_mach_ppc_e500mc64.
573
574 2010-01-01 Joel Brobecker <brobecker@adacore.com>
575
576 Fix -Wshadow warnings (seen on ppc-aix)
577 * xcofflink.c: Replace finfo by flinfo throughout.
578
579 For older changes see ChangeLog-2009
580 \f
581 Local Variables:
582 mode: change-log
583 left-margin: 8
584 fill-column: 74
585 version-control: never
586 End:
This page took 0.064315 seconds and 4 git commands to generate.