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