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