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