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