Commit | Line | Data |
---|---|---|
4339cae0 L |
1 | 2010-02-02 H.J. Lu <hongjiu.lu@intel.com> |
2 | ||
3 | * elf-bfd.h (elfcore_write_xstatereg): New. | |
4 | ||
5 | * elf.c (elfcore_grok_xstatereg): New. | |
6 | (elfcore_write_xstatereg): Likewise. | |
7 | (elfcore_grok_note): Handle NT_X86_XSTATE. | |
8 | (elfcore_write_register_note): Handle .reg-xstate section. | |
9 | ||
9848eadf TG |
10 | 2010-02-01 Tristan Gingold <gingold@adacore.com> |
11 | ||
12 | * som.c (som_write_ar_hdr): Define this macro. | |
13 | ||
f6fd0237 DA |
14 | 2010-01-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
15 | ||
16 | * elf32-hppa.c (final_link_relocate): Convert R_PARISC_TLS_GD21L, | |
17 | R_PARISC_TLS_LDM21L and R_PARISC_TLS_IE21L relocations that use the | |
18 | linkage table pointer to use the global table pointer if not doing | |
19 | a shared link. | |
20 | ||
a1504221 JB |
21 | 2010-01-29 Joel Brobecker <brobecker@adacore.com> |
22 | ||
23 | * elf.c (elfcore_grok_lwpstatus): Do not overwrite the core signal | |
24 | if it has already been set. | |
25 | ||
771deb08 TG |
26 | 2010-01-27 Tristan Gingold <gingold@adacore.com> |
27 | ||
28 | * vms.h: Remove trailing spaces. | |
29 | (struct hdr_struct): Remove unused hdr_c_cpr field. | |
30 | (enum file_format_enum): Add comments. | |
31 | * vms.c (vms_bfd_print_private_bfd_data): New function that | |
32 | replaces the macro. | |
33 | Remove trailing spaces. | |
34 | * vms-misc.c: Improve comments. | |
35 | (_bfd_vms_get_object_record): Also handle files without pads. | |
36 | * vms-hdr.c (_bfd_vms_write_dbg): Fix format string. | |
37 | * vms-gsd.c (struct flagdescstruct): Make name field const. | |
38 | (gsyflagdesc): Fix typo. | |
39 | ||
bf102f86 AM |
40 | 2010-01-27 Alan Modra <amodra@gmail.com> |
41 | ||
42 | PR ld/11217 | |
43 | * elf64-ppc.c (struct ppc_link_hash_table): Add toc_bfd, toc_first_sec. | |
44 | (ppc64_elf_setup_section_lists): Init them. | |
45 | (ppc64_elf_next_toc_section): Don't partition multi-toc between .got | |
46 | and .toc on the same input file. | |
47 | (ppc64_elf_relocate_section): Correct GOT entry offset. | |
48 | ||
8f95b6e4 TG |
49 | 2010-01-26 Tristan Gingold <gingold@adacore.com> |
50 | ||
51 | * targets.c (BFD_JUMP_TABLE_ARCHIVE): Add initializer for write_ar_hdr. | |
52 | (bfd_target): Add _bfd_write_ar_hdr_fn field. | |
53 | * archive.c (is_bsd44_extended_name): New macro. | |
54 | (_bfd_generic_read_ar_hdr_mag): Use it. Add extra_size. | |
55 | (bfd_slurp_armap): Also check for "__.SYMDEF" as a BSD4.4 extended | |
56 | name. | |
57 | (_bfd_archive_bsd44_construct_extended_name_table): New function. | |
58 | (_bfd_generic_write_ar_hdr): Ditto. | |
59 | (_bfd_bsd44_write_ar_hdr): Ditto. | |
60 | (_bfd_write_archive_contents): Call _bfd_write_ar_hdr. | |
61 | (bsd_write_armap): Adjust firstreal computation. | |
62 | * libbfd-in.h (struct areltdata): Add extra_size field. | |
63 | (_bfd_generic_write_ar_hdr): Add prototype. | |
64 | (_bfd_bsd44_write_ar_hdr): Ditto. | |
65 | (_bfd_write_ar_hdr): Define. | |
66 | (_bfd_noarchive_write_ar_hdr): Ditto. | |
67 | (_bfd_archive_bsd_write_ar_hdr): Ditto. | |
68 | (_bfd_archive_coff_write_ar_hdr): Ditto. | |
69 | (_bfd_archive_bsd44_slurp_armap): Ditto. | |
70 | (_bfd_archive_bsd44_slurp_extended_name_table): Ditto. | |
71 | (_bfd_archive_bsd44_construct_extended_name_table): New prototype. | |
72 | (_bfd_archive_bsd44_truncate_arname): Ditto. | |
73 | (_bfd_archive_bsd44_write_armap): Ditto. | |
74 | (_bfd_archive_bsd44_read_ar_hdr): Ditto. | |
75 | (_bfd_archive_bsd44_write_ar_hdr): Ditto. | |
76 | (_bfd_archive_bsd44_openr_next_archived_file): Ditto. | |
77 | (_bfd_archive_bsd44_get_elt_at_index): Ditto. | |
78 | (_bfd_archive_bsd44_generic_stat_arch_elt): Ditto. | |
79 | (_bfd_archive_bsd44_update_armap_timestamp): Ditto. | |
80 | * libbfd.h: Regenerate. | |
81 | * oasys.c (oasys_write_ar_hdr): Define. | |
82 | * libecoff.h (_bfd_ecoff_write_ar_hdr): Define. | |
83 | * ieee.c (ieee_write_ar_hdr): Define. | |
84 | * elf64-mips.c (bfd_elf64_archive_write_ar_hdr): Define. | |
85 | * coff-rs6000.c (rs6000coff_vec): Adjust for write_ar_hdr field. | |
86 | (bfd_pmac_xcoff_backend_data): Ditto. | |
87 | * coff64-rs6000.c (rs6000coff64_vec): Ditto. | |
88 | (bfd_xcoff_aix5_backend_data): Ditto. | |
89 | * coff-alpha.c (alpha_ecoff_write_ar_hdr): Define. | |
90 | * aout-target.h (MY_write_ar_hdr): Define it if not defined. | |
91 | * aout-tic30.c (MY_write_ar_hdr): Ditto. | |
92 | * mach-o-target.c (TARGET_NAME): Use _bfd_archive_bsd44 archive. | |
93 | (bfd_mach_o_mkarchive, bfd_mach_o_read_ar_hdr) | |
94 | (bfd_mach_o_slurp_armap, bfd_mach_o_slurp_extended_name_table) | |
95 | (bfd_mach_o_construct_extended_name_table) | |
96 | (bfd_mach_o_truncate_arname, bfd_mach_o_write_armap) | |
97 | (bfd_mach_o_get_elt_at_index, bfd_mach_o_generic_stat_arch_elt) | |
98 | (bfd_mach_o_update_armap_timestamp): Moved to mach-o.c | |
99 | * mach-o.c (bfd_mach_o_mkarchive, bfd_mach_o_read_ar_hdr) | |
100 | (bfd_mach_o_slurp_armap, bfd_mach_o_slurp_extended_name_table) | |
101 | (bfd_mach_o_construct_extended_name_table) | |
102 | (bfd_mach_o_truncate_arname, bfd_mach_o_write_armap) | |
103 | (bfd_mach_o_get_elt_at_index, bfd_mach_o_generic_stat_arch_elt) | |
104 | (bfd_mach_o_update_armap_timestamp): Moved from mach-o-target.c | |
105 | * bfd-in2.h: Regenerate. | |
106 | ||
98da7939 L |
107 | 2010-01-26 Alan Modra <amodra@gmail.com> |
108 | H.J. Lu <hongjiu.lu@intel.com> | |
109 | ||
110 | PR ld/11218 | |
111 | * elflink.c (elf_link_output_extsym): Do not ignore undefined | |
112 | symbols with ref_regular set when gc_sections is active. | |
113 | ||
766bc656 AM |
114 | 2010-01-25 Alan Modra <amodra@gmail.com> |
115 | ||
116 | PR ld/11217 | |
117 | * elf64-ppc.c (ppc64_elf_tls_optimize): Optimize tls sequences | |
118 | with relocations against undefined weak symbols. | |
119 | (ppc64_elf_relocate_section): Don't optimize calls to undefined | |
120 | weak functions if the symbol is dynamic. | |
121 | (ppc64_elf_relocate_section): Edit tprel tls sequences. | |
122 | * elf32-ppc.c (ppc_elf_relocate_section): Likewise. | |
123 | (_bfd_elf_ppc_at_tprel_transform): New function. | |
124 | * bfd-in.h (_bfd_elf_ppc_at_tprel_transform): Declare. | |
125 | * bfd-in2.h: Regenerate. | |
126 | ||
c865e45b RS |
127 | 2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com> |
128 | ||
129 | * coff-rs6000.c (xcoff_howto_table): Change size to 0 and bitsize to 1. | |
130 | (_bfd_xcoff_reloc_type_lookup): Handle BFD_RELOC_NONE. | |
131 | * coff64-rs6000.c (xcoff64_howto_table): Change size to 0 and | |
132 | bitsize to 1. | |
133 | (xcoff64_reloc_type_lookup): Handle BFD_RELOC_NONE. | |
134 | ||
b918acf9 NC |
135 | 2010-01-21 Nick Clifton <nickc@redhat.com> |
136 | ||
137 | * elflink.c (elf_link_add_object_symbols): Look up name of | |
138 | undefined symbol both before and after versioning has been | |
139 | applied. Do not bother with symbols that are weakly undefined. | |
140 | ||
55786da2 | 141 | 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
b918acf9 | 142 | |
55786da2 AK |
143 | * elf32-s390.c (elf32_s390_merge_private_bfd_data): New function. |
144 | (bfd_elf32_bfd_merge_private_bfd_data): New macro definition. | |
145 | ||
a37a68dd CC |
146 | 2010-01-19 Cary Coutant <ccoutant@google.com> |
147 | ||
148 | * dwarf2.c (read_attribute_value): Add DW_FORM_ref_sig8. | |
149 | ||
ecd12bc1 AM |
150 | 2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com> |
151 | Alan Modra <amodra@gmail.com> | |
152 | ||
153 | * elfcode.h (elf_swap_ehdr_out): Handle e_phnum > 0xffff. | |
154 | (elf_object_p): Read e_phnum extension. | |
155 | (elf_write_shdrs_and_ehdr): Write e_phnum extension. | |
156 | * elfcore.h (elf_core_file_p): Read e_phnum extension. Sanity check | |
157 | that we can read last program header. | |
158 | ||
f6ebfac0 AM |
159 | 2010-01-19 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> |
160 | ||
161 | * elf32-arm.c (elf32_arm_howto_table_1): Correct bitsize of | |
162 | R_ARM_THM_CALL entry. | |
163 | (elf32_arm_final_link_relocate): Correct calculation of | |
164 | reloc_signed_max when doing a R_ARM_THM_CALL, R_ARM_THM_XPC22, | |
165 | or R_ARM_THM_JUMP24 relocation. | |
166 | ||
22eb4b1d AM |
167 | 2010-01-18 Alan Modra <amodra@gmail.com> |
168 | ||
169 | PR 11168 | |
170 | * coffcode.h (coff_compute_section_file_positions): Move Rs6000COFF_C | |
171 | block past vars in COFF_IMAGE_WITH_PE block. Report error on more | |
172 | than 32k sections. | |
173 | ||
6ec12636 JK |
174 | 2010-01-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
175 | ||
176 | Fix compilation warning on gcc-3.4. | |
177 | * vms-tir.c (start_etir_record, sto_imm): Rename the prototype | |
178 | parameter index to sec_index according to the function definition. | |
179 | ||
38a7df63 CF |
180 | 2010-01-13 Chao-ying Fu <fu@mips.com> |
181 | ||
182 | * elfxx-mips.c (JR_TO_B_P): New define to transform JR to B. | |
183 | It is true for all CPUs. | |
184 | (jal_reloc_p): New function. | |
185 | (mips_elf_calculate_relocation): Rename require_jalxp to | |
186 | cross_mode_jump_p. | |
187 | Update comment for CROSS_MODE_JUMP_P. | |
188 | Set up cross_mode_jump_p based on the mode change. | |
189 | (mips_elf_perform_relocation): Rename require_jalx to cross_mode_jump_p. | |
190 | Update comment for CROSS_MODE_JUMP_P. | |
191 | Test cross_mode_jump_p and jal_reloc_p to turn jal to jalx. | |
192 | Use !cross_mode_jump_p to guard conversion. | |
193 | Convert "jr t9" to "b", if possible. | |
194 | (_bfd_mips_elf_relocate_section): Rename require_jalx to | |
195 | cross_mode_jump_p. | |
196 | Pass &cross_mode_jump_p to call mips_elf_calculate_relocation. | |
197 | Pass cross_mode_jump_p to call mips_elf_perform_relocation. | |
198 | ||
91b9a4a4 NC |
199 | 2010-01-13 Nick Clifton <nickc@redhat.com> |
200 | ||
201 | * cpu-m32c.c (m32c_scan): New function. Ensures that a scan for | |
202 | "m32c" returns the m32c arch_info_struct and not the m16c | |
203 | arch_info_struct. | |
204 | (arch_info_struct): Use the new scan function. | |
205 | (bfd_m32c_arch): Likewise. | |
206 | ||
618b7301 TG |
207 | 2010-01-13 Tristan Gingold <gingold@adacore.com> |
208 | ||
209 | * config.bfd: Remove duplicated target vector for i386-*-darwin. | |
210 | Appends new arch instead of overriding. | |
211 | Use mach_o_x86_64_vec for x86_64-*-darwin. | |
212 | * configure.in: Add mach_o_x86_64_vec. | |
213 | * configure: Regenerate. | |
214 | * targets.c: Declare mach_o_x86_64_vec, add it to _bfd_target_vector. | |
215 | * Makefile.am (BFD64_BACKENDS): Add mach-o-x86-64.lo | |
216 | (BFD64_BACKENDS_CFILES): Add mach-o-x86-64.c | |
217 | * Makefile.in: Regenerate. | |
218 | * mach-o-x86-64.c: New file. | |
219 | ||
f88af2f1 TG |
220 | 2010-01-13 Tristan Gingold <gingold@adacore.com> |
221 | ||
222 | * reloc.c: Add MACH_O_X86_64 relocations. | |
223 | * bfd-in2.h: Regenerate. | |
224 | * libbfd.h: Regenerate. | |
225 | ||
19172f39 TG |
226 | 2010-01-13 Tristan Gingold <gingold@adacore.com> |
227 | ||
228 | * archive.c (normalize): Use lbasename. | |
229 | (bfd_bsd_truncate_arname): Ditto. | |
230 | (bfd_gnu_truncate_arname): Ditto. | |
231 | ||
6cdb8d82 TG |
232 | 2010-01-12 Tristan Gingold <gingold@adacore.com> |
233 | ||
234 | * makefile.vms (CFLAGS): Turns warnings into informational messages. | |
235 | ||
9a753de0 TG |
236 | 2010-01-11 Tristan Gingold <gingold@adacore.com> |
237 | ||
238 | * mach-o.h: Add x86-64 relocation types. | |
239 | ||
42fa0891 TG |
240 | 2010-01-11 Tristan Gingold <gingold@adacore.com> |
241 | ||
242 | * mach-o.h (bfd_mach_o_backend_data): Add arch field. | |
243 | (bfd_mach_o_set_arch_mach): New prototype. | |
244 | * mach-o.c (bfd_mach_o_mkobject): Define with bfd_mach_o_gen_mkobject. | |
245 | (bfd_mach_o_set_arch_mach): New function. | |
246 | (bfd_mach_o_gen_mkobject): New function. | |
247 | Set TARGET_ARCHITECTURE for the generic back-ends. | |
248 | * mach-o-target.c (bfd_mach_o_set_arch_mach): Remove define. | |
249 | Check that TARGET_ARCHITECTURE is defined. | |
250 | Add TARGET_ARCHITECTURE in TARGET_NAME_BACKEND structure. | |
251 | * mach-o-i386.c (TARGET_ARCHITECTURE): Define. | |
252 | ||
cba0723b TG |
253 | 2010-01-11 Tristan Gingold <gingold@adacore.com> |
254 | ||
19172f39 | 255 | * archive.c (bfd_slurp_armap): Also check for Mach-O sorted armap. |
cba0723b | 256 | |
4d421096 NC |
257 | 2010-01-11 Nick Clifton <nickc@redhat.com> |
258 | ||
259 | * elf32-v850.c (v850_elf_perform_relocation): Fix overflow | |
260 | handling of R_V850_HI16_S relocation. | |
261 | ||
20b1d3e3 AM |
262 | 2010-01-11 Alan Modra <amodra@gmail.com> |
263 | ||
264 | PR 11103 | |
265 | * dwarf1.c (parse_die): Correct FORM_STRING data pointer increment. | |
266 | ||
a358ecb8 AM |
267 | 2010-01-11 Alan Modra <amodra@gmail.com> |
268 | ||
269 | PR 6832 | |
270 | * dwarf2.c (struct comp_unit): Add sec_info_ptr. | |
271 | (find_abstract_instance_name): Use it. | |
272 | (parse_comp_unit): Set it. | |
273 | ||
3725885a RW |
274 | 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
275 | ||
276 | * Makefile.in: Regenerate. | |
277 | * configure: Regenerate. | |
278 | ||
3ee87829 TG |
279 | 2010-01-08 Tristan Gingold <gingold@adacore.com> |
280 | ||
281 | * archive.c: Remove bfd_special_undocumented_glue. | |
282 | ||
fb34365b AM |
283 | 2010-01-08 Alan Modra <amodra@gmail.com> |
284 | ||
285 | PR ld/11133 | |
286 | * elf32-cr16.c (elf32_cr16_gc_mark_hook): Call _bfd_elf_gc_mark_hook. | |
287 | * elf32-microblaze.c (microblaze_elf_gc_mark_hook): Likewise. | |
288 | * elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise. | |
289 | ||
d023c380 L |
290 | 2010-01-07 H.J. Lu <hongjiu.lu@intel.com> |
291 | ||
292 | PR ld/11138 | |
293 | * elflink.c (elf_link_check_versioned_symbol): Don't abort if | |
294 | a symbol referenced by DSO is is defined in a non-shared object | |
295 | and forced local. | |
296 | ||
bde6f3eb L |
297 | 2010-01-07 H.J. Lu <hongjiu.lu@intel.com> |
298 | ||
299 | PR ld/11133 | |
300 | * elflink.c (_bfd_elf_gc_mark_hook): Check section XXX for | |
301 | undefined __start_XXX/__stop_XXX in all input files and set | |
302 | SEC_KEEP. | |
303 | ||
16583161 L |
304 | 2010-01-07 H.J. Lu <hongjiu.lu@intel.com> |
305 | ||
306 | PR ld/11143 | |
307 | * elflink.c (elf_gc_sweep): Keep SHT_NOTE section. | |
308 | ||
16231b7b DG |
309 | 2010-01-04 Daniel Gutson <dgutson@codesourcery.com> |
310 | ||
311 | * bfd.m4 (BFD_HAVE_SYS_PROCFS_TYPE): Define _STRUCTURE_PROC | |
312 | before including procfs.h. | |
313 | (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Likewise. | |
314 | * configure.in: Added autoconf probe for the pr_fpreg member. | |
315 | * configure: Regenerated. | |
316 | * config.in: Regenerated. | |
317 | * elf.c: Define _STRUCTURE_PROC before including procfs.h. | |
318 | ||
608fa8d3 JB |
319 | 2010-01-04 Joel Brobecker <brobecker@adacore.com> |
320 | ||
321 | Fix -Wshadow warnings in dwarf2.c (seen on alpha-tru64). | |
322 | * dwarf2.c (concat_filename): Rename dirname with dir_name | |
323 | to void shadowing the dirname function. | |
324 | Rename subdirname with subdir_name to stay consistent with | |
325 | the new dir_name variable name. | |
326 | ||
0dc93057 AM |
327 | 2010-01-04 Edmar Wienskoski <edmar@freescale.com> |
328 | ||
329 | * archures.c: Add bfd_mach_ppc_e500mc64. | |
330 | * bfd-in2.h: Regenerate. | |
331 | * cpu-powerpc.c (bfd_powerpc_archs): Add entry for | |
332 | bfd_mach_ppc_e500mc64. | |
333 | ||
baf9bed3 JB |
334 | 2010-01-01 Joel Brobecker <brobecker@adacore.com> |
335 | ||
336 | Fix -Wshadow warnings (seen on ppc-aix) | |
337 | * xcofflink.c: Replace finfo by flinfo throughout. | |
338 | ||
43ecc30f | 339 | For older changes see ChangeLog-2009 |
56882138 AM |
340 | \f |
341 | Local Variables: | |
342 | mode: change-log | |
343 | left-margin: 8 | |
344 | fill-column: 74 | |
345 | version-control: never | |
346 | End: |