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