Commit | Line | Data |
---|---|---|
82590249 WL |
1 | 2012-02-25 Walter Lee <walt@tilera.com> |
2 | ||
fb6cedde WL |
3 | * config.bfd (tilegx-*-*): rename little endian vector; add big |
4 | endian vector. | |
5 | (tilegxbe-*-*): New case. | |
6 | * configure.in (bfd_elf32_tilegx_vec): Rename... | |
7 | (bfd_elf32_tilegx_le_vec): ... to this. | |
8 | (bfd_elf32_tilegx_be_vec): New vector. | |
9 | (bfd_elf64_tilegx_vec): Rename... | |
10 | (bfd_elf64_tilegx_le_vec): ... to this. | |
11 | (bfd_elf64_tilegx_be_vec): New vector. | |
12 | * configure: Regenerate. | |
13 | * elf32-tilegx.c (TARGET_LITTLE_SYM): Rename. | |
14 | (TARGET_LITTLE_NAME): Ditto. | |
15 | (TARGET_BIG_SYM): Define. | |
16 | (TARGET_BIG_NAME): Define. | |
17 | * elf64-tilegx.c (TARGET_LITTLE_SYM): Rename. | |
18 | (TARGET_LITTLE_NAME): Ditto. | |
19 | (TARGET_BIG_SYM): Define. | |
20 | (TARGET_BIG_NAME): Define. | |
21 | * targets.c (bfd_elf32_tilegx_vec): Rename... | |
22 | (bfd_elf32_tilegx_le_vec): ... to this. | |
23 | (bfd_elf32_tilegx_be_vec): Declare. | |
24 | (bfd_elf64_tilegx_vec): Rename... | |
25 | (bfd_elf64_tilegx_le_vec): ... to this. | |
26 | (bfd_elf64_tilegx_be_vec): Declare. | |
27 | (_bfd_target_vector): Add / rename above vectors. | |
82590249 WL |
28 | * arctures.c (bfd_architecture): Define bfd_mach_tilegx32. |
29 | * bfd-in2.h: Regenerate. | |
30 | * cpu-tilegx.c (bfd_tilegx32_arch): define. | |
fb6cedde | 31 | (bfd_tilegx_arch): link to bfd_tilegx32_arch. |
82590249 | 32 | |
4115917d NC |
33 | 2012-02-24 Nick Clifton <nickc@redhat.com> |
34 | ||
35 | PR ld/13730 | |
36 | * reloc.c (bfd_generic_get_relocated_section_contents): Issue an | |
37 | error message instead of aborting, when an outofrange reloc is | |
38 | encountered. | |
39 | ||
19765f52 IS |
40 | 2012-02-23 Iain Sandoe <idsandoe@googlemail.com> |
41 | ||
42 | * mach-o.c (bfd_mach_o_swap_in_non_scattered_reloc): New. | |
43 | (bfd_mach_o_canonicalize_one_reloc): Swap non-scattered reloc | |
44 | bit-fields when target and host differ in endian-ness. When | |
45 | PAIRs are non-scattered find the 'symbol' from the preceding | |
46 | reloc. Add FIXME re. reloc symbols on section boundaries. | |
47 | (bfd_mach_o_swap_out_non_scattered_reloc): New. | |
48 | (bfd_mach_o_write_relocs): Use bfd_mach_o_encode_non_scattered_reloc. | |
49 | ||
6639d37a IS |
50 | 2012-02-17 Iain Sandoe <idsandoe@googlemail.com> |
51 | ||
52 | * mach-o-i386.c (i386_howto_table): Add support for 16 bit | |
53 | sect-diffs. | |
54 | (bfd_mach_o_i386_swap_reloc_in): Handle 16bit sect-diffs. | |
55 | (bfd_mach_o_i386_swap_reloc_out): Likewise. | |
56 | ||
e1e81ed3 IS |
57 | 2012-02-17 Tristan Gingold <gingold@adacore.com> |
58 | ||
59 | * reloc.c (BFD_RELOC_MACH_O_LOCAL_SECTDIFF): | |
60 | * libbfd.h: Regenerated. | |
61 | * bfd-in2.h: Likewise. | |
62 | * mach-o-i386.c (i386_howto_table): Include local sectdiff. | |
63 | (bfd_mach_o_i386_swap_reloc_in): Update for local sectdiff. | |
64 | (bfd_mach_o_i386_swap_reloc_out): Likewise. | |
65 | ||
d0ddfe27 AK |
66 | 2012-02-17 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
67 | ||
68 | * elf32-s390.c (elf_s390_relocate_section): Support basr in the | |
69 | GD->LE and LD->LE optimizations. | |
70 | ||
eb8c5f3f AM |
71 | 2012-02-16 Alan Modra <amodra@gmail.com> |
72 | ||
73 | PR binutils/13355 | |
74 | * elf32-rx.c (elf32_rx_relax_section): Correct width check. | |
75 | ||
e1741a1e RH |
76 | 2012-02-13 Richard Henderson <rth@redhat.com> |
77 | ||
78 | PR ld/13621 | |
79 | * linker.c (fix_syms): Force symbols outside any section into | |
80 | bfd_abs_section_ptr. | |
81 | ||
5efbbc43 AM |
82 | 2012-02-13 Alan Modra <amodra@gmail.com> |
83 | ||
84 | * elf32-m68hc1x.c (elf32_m68hc11_merge_symbol_attribute): New function. | |
85 | * elf32-m68hc1x.h (elf32_m68hc11_merge_symbol_attribute): Declare. | |
86 | * elf32-m68hc11.c (elf_backend_merge_symbol_attribute): Define. | |
87 | * elf32-m68hc12.c (elf_backend_merge_symbol_attribute): Define. | |
88 | ||
3e3c397d JK |
89 | 2012-02-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
90 | Nick Clifton <nickc@redhat.com> | |
91 | ||
92 | * oasys.c (oasys_write_header): Fix compilation warning on zero-sized | |
93 | memset. | |
94 | ||
09903f4b IS |
95 | 2012-02-10 Iain Sandoe <idsandoe@googlemail.com> |
96 | ||
97 | * mach-o.c (bfd_mach_o_build_seg_command): Count zerofill section | |
98 | vma additions in their logical, rather than physical order. | |
99 | ||
632039e0 IS |
100 | 2012-02-10 Iain Sandoe <idsandoe@googlemail.com> |
101 | ||
102 | * mach-o.c (mach_o_section_name_xlat): Correct eh-frame section | |
103 | parameters. | |
104 | * mach-o-x86-64.c (text_section_names_xlat): New. | |
105 | (mach_o_x86_64_segsec_names_xlat): New. | |
106 | (bfd_mach_o_tgt_seg_table): Define to mach_o_x86_64_segsec_names_xlat. | |
107 | * mach-o-i386.c (text_section_names_xlat): Correct section parameters. | |
108 | ||
565a6476 TG |
109 | 2012-02-10 Tristan Gingold <gingold@adacore.com> |
110 | ||
111 | * elfnn-ia64.c (elfNN_vms_object_p): Change comparison operator | |
112 | to avoid infinite loop. Add comments. | |
113 | ||
923f257f L |
114 | 2012-02-09 H.J. Lu <hongjiu.lu@intel.com> |
115 | ||
116 | PR ld/13675 | |
117 | * cpu-i386.c (bfd_arch_i386_fill): Updated to support multi byte | |
118 | nop instructions. | |
119 | (bfd_arch_i386_short_nop_fill): New. | |
120 | (bfd_arch_i386_long_nop_fill): Likewise. | |
121 | Use bfd_arch_i386_short_nop_fill in 32bit bfd_arch_info | |
122 | initializers. Use bfd_arch_i386_long_nop_fill on 64bit | |
123 | bfd_arch_info initializers. | |
124 | ||
125 | * cpu-k1om.c (bfd_arch_i386_fill): Renamed to ... | |
126 | (bfd_arch_i386_short_nop_fill): This. | |
127 | Update bfd_arch_info initializers. | |
128 | * cpu-l1om.c: Likewise. | |
129 | ||
4e6b54a6 AM |
130 | 2012-02-08 Alan Modra <amodra@gmail.com> |
131 | ||
132 | * elflink.c (_bfd_elf_gc_mark_rsec): Mark weakdef syms too. | |
133 | (_bfd_elf_fix_symbol_flags): When a weakdef is def_regular, clear | |
134 | the correct h->u.weakdef. | |
135 | ||
ff9e0f5b AM |
136 | 2012-02-07 Alan Modra <amodra@gmail.com> |
137 | ||
138 | * elf.c (elf_find_function): Don't use internal_elf_sym. | |
139 | (_bfd_elf_maybe_function_sym): Likewise. Replace elf_symbol_type | |
140 | parameter with asymbol. | |
141 | * elf64-ppc.c (ppc64_elf_maybe_function_sym): Likewise. | |
142 | * elf-bfd.h (_bfd_elf_maybe_function_sym): Update prototype. | |
143 | (struct elf_backend_data <maybe_function_sym>): Likewise. | |
144 | ||
526f25b2 EW |
145 | 2012-02-02 Vidya Praveen (vidya.praveen@atmel.com) |
146 | ||
147 | PR bfd/13410 | |
ff9e0f5b | 148 | * bfd/elf32-avr.c (elf32_avr_relax_section): Correct the |
526f25b2 EW |
149 | condition that qualifies the candidates for relaxation. |
150 | ||
7c4f9963 TG |
151 | 2012-02-02 Tristan Gingold <gingold@adacore.com> |
152 | ||
153 | * bfdio.c (real_fopen): Remove unused vms_modes variable. | |
154 | ||
facf03f2 TG |
155 | 2012-02-02 Tristan Gingold <gingold@adacore.com> |
156 | ||
157 | * mach-o.c (bfd_mach_o_read_header): Silent uninitialized | |
158 | variable warning. | |
159 | ||
cd99171c TG |
160 | 2012-02-02 Tristan Gingold <gingold@adacore.com> |
161 | ||
162 | * archive.c (bfd_slurp_armap): Fix thinko in cast. | |
163 | ||
b7761f11 L |
164 | 2012-01-31 H.J. Lu <hongjiu.lu@intel.com> |
165 | ||
166 | PR ld/13616 | |
167 | * archures.c (bfd_arch_info): Add fill. | |
168 | (bfd_default_arch_struct): Add bfd_arch_default_fill. | |
169 | (bfd_arch_default_fill): New. | |
170 | ||
171 | * configure.in: Set bfd version to 2.22.52. | |
172 | * configure: Regenerated. | |
173 | ||
174 | * cpu-alpha.c: Add bfd_arch_default_fill to bfd_arch_info | |
175 | initializer. | |
176 | * cpu-arc.c: Likewise. | |
177 | * cpu-arm.c: Likewise. | |
178 | * cpu-avr.c: Likewise. | |
179 | * cpu-bfin.c: Likewise. | |
180 | * cpu-cr16.c: Likewise. | |
181 | * cpu-cr16c.c: Likewise. | |
182 | * cpu-cris.c: Likewise. | |
183 | * cpu-crx.c: Likewise. | |
184 | * cpu-d10v.c: Likewise. | |
185 | * cpu-d30v.c: Likewise. | |
186 | * cpu-dlx.c: Likewise. | |
187 | * cpu-epiphany.c: Likewise. | |
188 | * cpu-fr30.c: Likewise. | |
189 | * cpu-frv.c: Likewise. | |
190 | * cpu-h8300.c: Likewise. | |
191 | * cpu-h8500.c: Likewise. | |
192 | * cpu-hppa.c: Likewise. | |
193 | * cpu-i370.c: Likewise. | |
194 | * cpu-i860.c: Likewise. | |
195 | * cpu-i960.c: Likewise. | |
196 | * cpu-ia64.c: Likewise. | |
197 | * cpu-ip2k.c: Likewise. | |
198 | * cpu-iq2000.c: Likewise. | |
199 | * cpu-lm32.c: Likewise. | |
200 | * cpu-m10200.c: Likewise. | |
201 | * cpu-m10300.c: Likewise. | |
202 | * cpu-m32c.c: Likewise. | |
203 | * cpu-m32r.c: Likewise. | |
204 | * cpu-m68hc11.c: Likewise. | |
205 | * cpu-m68hc12.c: Likewise. | |
206 | * cpu-m68k.c: Likewise. | |
207 | * cpu-m88k.c: Likewise. | |
208 | * cpu-mcore.c: Likewise. | |
209 | * cpu-mep.c: Likewise. | |
210 | * cpu-microblaze.c: Likewise. | |
211 | * cpu-mips.c: Likewise. | |
212 | * cpu-mmix.c: Likewise. | |
213 | * cpu-moxie.c: Likewise. | |
214 | * cpu-msp430.c: Likewise. | |
215 | * cpu-mt.c: Likewise. | |
216 | * cpu-ns32k.c: Likewise. | |
217 | * cpu-openrisc.c: Likewise. | |
218 | * cpu-or32.c: Likewise. | |
219 | * cpu-pdp11.c: Likewise. | |
220 | * cpu-pj.c: Likewise. | |
221 | * cpu-plugin.c: Likewise. | |
222 | * cpu-powerpc.c: Likewise. | |
223 | * cpu-rl78.c: Likewise. | |
224 | * cpu-rs6000.c: Likewise. | |
225 | * cpu-rx.c: Likewise. | |
226 | * cpu-s390.c: Likewise. | |
227 | * cpu-score.c: Likewise. | |
228 | * cpu-sh.c: Likewise. | |
229 | * cpu-sparc.c: Likewise. | |
230 | * cpu-spu.c: Likewise. | |
231 | * cpu-tic30.c: Likewise. | |
232 | * cpu-tic4x.c: Likewise. | |
233 | * cpu-tic54x.c: Likewise. | |
234 | * cpu-tic6x.c: Likewise. | |
235 | * cpu-tic80.c: Likewise. | |
236 | * cpu-tilegx.c: Likewise. | |
237 | * cpu-tilepro.c: Likewise. | |
238 | * cpu-v850.c: Likewise. | |
239 | * cpu-vax.c: Likewise. | |
240 | * cpu-w65.c: Likewise. | |
241 | * cpu-we32k.c: Likewise. | |
242 | * cpu-xc16x.c: Likewise. | |
243 | * cpu-xstormy16.c: Likewise. | |
244 | * cpu-xtensa.c: Likewise. | |
245 | * cpu-z80.c: Likewise. | |
246 | * cpu-z8k.c: Likewise. | |
247 | ||
248 | * cpu-i386.c: Include "libiberty.h". | |
ff9e0f5b | 249 | (bfd_arch_i386_fill): New. |
b7761f11 L |
250 | Add bfd_arch_i386_fill to bfd_arch_info initializer. |
251 | ||
252 | * cpu-k1om.c: Add bfd_arch_i386_fill to bfd_arch_info initializer. | |
253 | * cpu-l1om.c: Likewise. | |
254 | ||
ff9e0f5b | 255 | * linker.c (default_data_link_order): Call abfd->arch_info->fill |
b7761f11 L |
256 | if fill size is 0. |
257 | ||
258 | * bfd-in2.h: Regenerated. | |
259 | ||
0d048da3 ME |
260 | 2012-01-27 Michael Eager <eager@eagercon.com> |
261 | ||
262 | * bfd/elf32-microblaze.c (create_got_section): | |
263 | Reuse existing .rela.got section. | |
264 | ||
9f296da3 AM |
265 | 2012-01-23 Alan Modra <amodra@gmail.com> |
266 | ||
267 | * elf-bfd.h: Formatting. | |
268 | (struct elf_backend_data): Add "maybe_function_sym". | |
269 | (_bfd_elf_maybe_function_sym): Declare. | |
270 | * elfxx-target.h (elf_backend_maybe_function_sym): Define. | |
271 | (elfNN_bed): Init new field. | |
272 | * elf.c (elf_find_function): Use maybe_function_sym. | |
273 | (_bfd_elf_maybe_function_sym): New function. | |
274 | * elf64-ppc.c (elf_backend_maybe_function_sym): Define. | |
275 | (ppc64_elf_maybe_function_sym): New function. | |
276 | ||
f1bb16f8 NC |
277 | 2012-01-20 Francois Gouget <fgouget@codeweavers.com> |
278 | ||
279 | PR binutils/13534 | |
280 | * archive.c (_bfd_ar_sizepad): New function. Correctly install and | |
281 | pad the size field in an archive header. | |
282 | (_bfd_generic_read_ar_hdr_mag): Use the correct type and scan | |
283 | function for the archive size field. | |
284 | (bfd_generic_openr_next_archived_file): Likewise. | |
285 | (do_slurp_coff_armap): Likewise. | |
286 | (_bfd_write_archive_contents): Likewise. | |
287 | (_bfd_bsd44_write_ar_hdr): Use the new function. | |
288 | (bfd_ar_hdr_from_filesystem): Likewise. | |
289 | (_bfd_write_archive_contents): Likewise. | |
290 | (bsd_write_armap): Likewise. | |
291 | (coff_write_armap): Likewise. | |
292 | * archive64.c (bfd_elf64_archive_write_armap): Likewise. | |
293 | * bfdio.c (bfd_bread): Use correct type for archive element | |
294 | sizes. | |
295 | * ar.c (open_inarch): Likewise. | |
296 | (extract_file): Likewise. | |
297 | * libbfd-in.h (struct areltdata): Use correct types for | |
298 | parsed_size and extra_size fields. | |
299 | Prototype _bfd_ar_sizepad function. | |
300 | * libbfd.h: Regenerate. | |
301 | ||
1f20dca5 UW |
302 | 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org> |
303 | ||
304 | * elf.c (elfcore_write_prpsinfo): Provide unconditionally. | |
305 | Return NULL if core file generation is unsupported. | |
306 | (elfcore_write_prstatus): Likewise. | |
307 | * elf32-arm.c (elf32_arm_nabi_write_core_note): New function. | |
308 | (elf_backend_write_core_note): Define. | |
309 | ||
100fc767 TG |
310 | 2012-01-19 Tristan Gingold <gingold@adacore.com> |
311 | ||
312 | * pef.c: Add a comment. | |
313 | * xsym.c: Likewise. | |
314 | ||
75cd47ed AM |
315 | 2012-01-17 Alan Modra <amodra@gmail.com> |
316 | ||
317 | * elf32-ppc.c (ppc_elf_write_core_note <NT_PRPSINFO>): Don't leave | |
318 | trailing garbage in the note. | |
319 | * elf64-ppc.c (ppc64_elf_write_core_note <NT_PRPSINFO>): Likewise. | |
320 | ||
8a5dcf53 AM |
321 | 2012-01-16 Daniel Green <venix1@gmail.com> |
322 | ||
323 | PR ld/13491 | |
324 | * coff-i386.c (coff_i386_rtype_to_howto <R_SECREL32>): Test | |
325 | h->root.type not h->type. | |
326 | * coff-x86_64.c (coff_amd64_rtype_to_howto <R_AMD64_SECREL>): Likewise. | |
327 | ||
bb76d940 IS |
328 | 2012-01-13 Iain Sandoe <idsandoe@googlemail.com> |
329 | ||
8a5dcf53 AM |
330 | * mach-o.c (bfd_mach_o_build_dysymtab_command): Handle absolute |
331 | indirect symbols. | |
687be931 IS |
332 | |
333 | 2012-01-13 Iain Sandoe <idsandoe@googlemail.com> | |
334 | ||
335 | * mach-o.c (bfd_mach_o_write_relocs): Move computation of relocs file | |
bb76d940 IS |
336 | position from here... to (bfd_mach_o_build_seg_command): Here. |
337 | ||
50d10658 IS |
338 | 2012-01-12 Iain Sandoe <idsandoe@googlemail.com> |
339 | ||
340 | * mach-o.c (bfd_mach_o_count_indirect_symbols): New. | |
341 | (bfd_mach_o_build_dysymtab_command): Populate indirect symbol table. | |
342 | * mach-o.h (bfd_mach_o_asymbol): Move declaration to start of the | |
343 | file. (bfd_mach_o_section): Add indirect_syms field. | |
344 | ||
e5081f2f IS |
345 | 2012-01-11 Iain Sandoe <idsandoe@googlemail.com> |
346 | ||
347 | * mach-o.c (bfd_mach_o_build_seg_command): Separate computation of | |
348 | vmsize from filesize. Don't compute offsets or file sizes for | |
349 | zerofill sections. | |
350 | ||
bbd56171 IS |
351 | 2012-01-11 Iain Sandoe <idsandoe@googlemail.com> |
352 | ||
353 | * mach-o.c (bfd_mach_o_build_commands): Make the building of each | |
354 | command type independent. | |
355 | ||
794e51c0 AM |
356 | 2012-01-11 Alan Modra <amodra@gmail.com> |
357 | ||
358 | * elf64-ppc.c: Define more insns used in plt call stubs. | |
359 | (ppc64_elf_brtaken_reloc): Assume isa version 2 or above. | |
360 | (ppc64_elf_relocate_section): Likewise. | |
361 | (enum ppc_stub_type): Add ppc_stub_plt_call_r2save. | |
362 | (struct ppc_link_hash_table): Increase size of stub_count array. | |
363 | Add plt_stub_align and plt_thread_safe. | |
364 | (ALWAYS_USE_FAKE_DEP, ALWAYS_EMIT_R2SAVE): Define. | |
365 | (plt_stub_size, plt_stub_pad): New functions. | |
366 | (build_plt_stub): Emit barriers for power7 thread safety. Don't | |
367 | emit needless save of r2. | |
368 | (build_tls_get_addr_stub): Adjust params. | |
369 | (ppc_build_one_stub): Handle ppc_stub_plt_call_r2save and aligning | |
370 | plt stubs. Adjust build_*plt_stub calls. | |
371 | (ppc_size_one_stub): Similarly. | |
372 | (ppc64_elf_size_stubs): Accept plt_thread_safe and plt_stub_align | |
373 | params. Choose default for plt_thread_safe based on existence of | |
374 | calls to thread creation functions. Modify plt_call to | |
375 | plt_call_r2save when no tocsave reloc found. Align tail of stub | |
376 | sections. | |
377 | (ppc64_elf_build_stubs): Align tail of stub sections. Adjust | |
378 | output of stub statistics. | |
379 | (ppc64_elf_relocate_section): Handle ppc_stub_plt_call_r2save. | |
380 | * elf64-ppc.h (ppc64_elf_size_stubs): Update prototype. | |
381 | ||
df4f9443 L |
382 | 2012-01-10 H.J. Lu <hongjiu.lu@intel.com> |
383 | ||
384 | PR ld/13581 | |
385 | * elf64-x86-64.c (elf_x86_64_relocate_section): Remove ABI_64_P | |
386 | check on R_X86_64_PCXX. | |
387 | ||
2a65a88e TG |
388 | 2012-01-10 Tristan Gingold <gingold@adacore.com> |
389 | ||
390 | * mach-o.c (bfd_mach_o_build_commands): Avoid uninitialized false | |
391 | warning. | |
392 | ||
660722b0 TG |
393 | 2012-01-10 Tristan Gingold <gingold@adacore.com> |
394 | ||
395 | * bfdio.c (bfd_tell): Handle nested archives. | |
396 | (bfd_seek): Ditto. | |
397 | * cache.c (bfd_cache_lookup_worker): Ditto. | |
398 | * archive.c (_bfd_get_elt_at_filepos): Remove code dealing with | |
399 | nested archives. | |
400 | (bfd_generic_openr_next_archived_file): Likewise. | |
401 | ||
b22161d6 IS |
402 | 2012-01-09 Iain Sandoe <idsandoe@googlemail.com> |
403 | ||
404 | * mach-o.c (bfd_mach_o_bfd_copy_private_symbol_data): Implement. | |
405 | (bfd_mach_o_write_symtab): Remove handling for indirect syms. | |
406 | (bfd_mach_o_primary_symbol_sort_key): Likewise. | |
407 | (bfd_mach_o_cf_symbols): Likewise. | |
408 | (bfd_mach_o_sort_symbol_table): Remove. | |
409 | (bfd_mach_o_mangle_symbols): Adjust arguments, remove handling | |
410 | for indirect and dysymtab counts. Do the symbol sorting here. | |
411 | (bfd_mach_o_build_dysymtab_command): Count the symbol types here. | |
412 | Make the indirect symbols a TODO. | |
413 | (bfd_mach_o_build_commands): Adjust call to bfd_mach_o_mangle_symbols. | |
414 | (bfd_mach_o_make_empty_symbol): Specifically flag unset symbols with | |
415 | a non-zero value. | |
416 | (bfd_mach_o_read_symtab_symbol): Record the symbol index. | |
417 | (bfd_mach_o_read_symtab_symbol): Adjust recording of global status. | |
418 | * mach-o.h (mach_o_data_struct): Remove indirect and dysymtab entries. | |
419 | (IS_MACHO_INDIRECT): Remove. | |
420 | (SYM_MACHO_FIELDS_UNSET, SYM_MACHO_FIELDS_NOT_VALIDATED): New. | |
421 | ||
28a1b4f8 NC |
422 | 2012-01-06 Nick Clifton <nickc@redhat.com> |
423 | ||
424 | PR binutils/13121 | |
425 | * reloc.c (bfd_generic_lookup_section_flags): Rename 'finfo' to | |
426 | 'flaginfo' to avoid conflicts with AIX system headers. | |
427 | ||
36f0a48f TG |
428 | 2012-01-06 Tristan Gingold <gingold@adacore.com> |
429 | ||
430 | * bfdio.c (bfd_bread): Use arelt_size macro. | |
431 | ||
76d4c1cb TG |
432 | 2012-01-06 Tristan Gingold <gingold@adacore.com> |
433 | ||
434 | * config.bfd (i[3-7]86-*-darwin*): Define targ64_selvecs. | |
435 | ||
a1c7aafb NC |
436 | 2012-01-05 Nick Clifton <nickc@redhat.com> |
437 | ||
438 | PR ld/12161 | |
439 | * elf32-avr.c (elf32_avr_relax_delete_bytes): Read in relocs if | |
440 | necessary. | |
441 | ||
e85c6a70 JK |
442 | 2012-01-05 Jan Kratochvil <jan.kratochvil@redhat.com> |
443 | ||
444 | Fix zero registers core files when built by gcc-4.7. | |
445 | * elf64-x86-64.c (elf_x86_64_write_core_note): Remove variables p and | |
446 | size. Call elfcore_write_note for the local variables. Remove the | |
447 | final elfcore_write_note call. Add NOTREACHED comments. | |
448 | ||
15bbba8d TG |
449 | 2012-01-04 Tristan Gingold <gingold@adacore.com> |
450 | ||
451 | * mach-o.c (bfd_mach_o_fat_stat_arch_elt): New function. | |
452 | (bfd_mach_o_generic_stat_arch_elt): Adjust. | |
453 | ||
a4e241ca TG |
454 | 2012-01-04 Tristan Gingold <gingold@adacore.com> |
455 | ||
456 | * mach-o.c (bfd_mach_o_fat_member_init): New function. | |
457 | (bfd_mach_o_openr_next_archived_file): Reindent. | |
458 | Adjust to call bfd_mach_o_fat_member_init. | |
459 | (bfd_mach_o_fat_extract): Adjust to call bfd_mach_o_fat_member_init. | |
460 | ||
71141310 TG |
461 | 2012-01-04 Tristan Gingold <gingold@adacore.com> |
462 | ||
463 | * mach-o-x86-64.c (bfd_mach_o_x86_64_swap_reloc_out): Handle | |
464 | BFD_RELOC_32, BFD_RELOC_MACH_O_X86_64_PCREL32_1, | |
465 | BFD_RELOC_MACH_O_X86_64_PCREL32_2, | |
466 | BFD_RELOC_MACH_O_X86_64_PCREL32_4, | |
467 | BFD_RELOC_MACH_O_X86_64_BRANCH32, | |
468 | BFD_RELOC_MACH_O_X86_64_SUBTRACTOR32, | |
469 | BFD_RELOC_MACH_O_X86_64_GOT. | |
470 | ||
9f4a5bd1 TG |
471 | 2012-01-04 Tristan Gingold <gingold@adacore.com> |
472 | ||
473 | * mach-o.h (bfd_mach_o_fvmlib_command): New structure. | |
474 | (bfd_mach_o_load_command): Add fvmlib field. | |
475 | ||
476 | * mach-o.c (bfd_mach_o_read_fvmlib): New function. | |
477 | (bfd_mach_o_read_command): Handle fvmlib. | |
478 | ||
0b2de107 TG |
479 | 2012-01-04 Tristan Gingold <gingold@adacore.com> |
480 | ||
481 | * mach-o.c (bfd_mach_o_convert_architecture): Reindent. | |
482 | Decode msubtype for ARM. | |
483 | ||
aeefa1c9 TG |
484 | 2012-01-04 Tristan Gingold <gingold@adacore.com> |
485 | ||
486 | * mach-o.c (bfd_mach_o_get_synthetic_symtab): Add comments. | |
487 | ||
fc55a902 TG |
488 | 2012-01-04 Tristan Gingold <gingold@adacore.com> |
489 | ||
490 | * mach-o.h: Reindent header. | |
491 | (bfd_mach_o_encryption_info_command): New structure. | |
492 | (bfd_mach_o_load_command): Add encryption_info field. | |
493 | ||
494 | * mach-o.c (bfd_mach_o_read_encryption_info): New function. | |
495 | (bfd_mach_o_read_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO. | |
496 | (bfd_mach_o_read_command): Adjust error message. | |
497 | ||
2ca7691a TG |
498 | 2012-01-04 Shinichiro Hamaji <shinichiro.hamaji@gmail.com> |
499 | ||
500 | * dwarf2.c (_bfd_dwarf2_slurp_debug_info): Factor out the part | |
501 | which reads DWARF2 and stores in stash from find_line. | |
502 | (find_line) Call _bfd_dwarf2_slurp_debug_info. | |
503 | * libbfd-in.h (_bfd_dwarf2_slurp_debug_info): Add declaration. | |
504 | * libbfd.h (_bfd_dwarf2_slurp_debug_info): Regenerate. | |
505 | * mach-o.c (dsym_subdir): The name of subdir where debug | |
506 | information may be stored. | |
507 | (bfd_mach_o_lookup_uuid_command): New. Lookup a load command whose | |
508 | type is UUID. | |
509 | (bfd_mach_o_dsym_for_uuid_p): New. Check if the specified BFD is | |
510 | corresponding to the executable. | |
511 | (bfd_mach_o_find_dsym): New. Find a debug information BFD in the | |
512 | specified binary file. | |
513 | (bfd_mach_o_follow_dsym): New. Find a debug information BFD for | |
514 | the original BFD. | |
515 | (bfd_mach_o_find_nearest_line): Check dSYM files for Mach-O | |
516 | executables, dylibs, and bundles. | |
517 | (bfd_mach_o_close_and_cleanup): Clean up BFDs for the dSYM file. | |
518 | * mach-o.h (dsym_bfd): The BFD of the dSYM file. | |
519 | ||
68588f95 IS |
520 | 2012-01-03 Iain Sandoe <idsandoe@googlemail.com> |
521 | ||
522 | * mach-o.c (bfd_mach_o_mangle_symbols): Put in the section index | |
523 | for stabd symbols. | |
524 | (bfd_mach_o_primary_symbol_sort_key): Adjust for stabs. | |
525 | (bfd_mach_o_cf_symbols): Likewise. | |
526 | ||
f2b324f1 IS |
527 | 2012-01-03 Iain Sandoe <idsandoe@googlemail.com> |
528 | ||
529 | * mach-o.c (bfd_mach_o_mangle_symbols): Correct typo. | |
530 | ||
7f307238 IS |
531 | 2012-01-03 Iain Sandoe <idsandoe@googlemail.com> |
532 | ||
533 | * mach-o.c (bfd_mach_o_write_symtab): Fill in the string table index | |
534 | as the value of an indirect symbol. Keep the string table index in | |
535 | non-indirect syms for reference. | |
536 | (bfd_mach_o_write_dysymtab): New. | |
537 | (bfd_mach_o_primary_symbol_sort_key): New. | |
538 | (bfd_mach_o_cf_symbols): New. | |
539 | (bfd_mach_o_sort_symbol_table): New. | |
540 | (bfd_mach_o_mangle_symbols): Return early if no symbols. Sort symbols. | |
541 | If we are emitting a dysymtab, process indirect symbols and count the | |
542 | number of each other kind. | |
543 | (bfd_mach_o_mangle_sections): New. | |
544 | (bfd_mach_o_write_contents): Split out some pre-requisite code into | |
545 | the command builder. Write dysymtab if the command is present. | |
546 | (bfd_mach_o_count_sections_for_seg): New. | |
547 | (bfd_mach_o_build_seg_command): New. | |
548 | (bfd_mach_o_build_dysymtab_command): New. | |
549 | (bfd_mach_o_build_commands): Reorganize to support the fact that some | |
550 | commands are optional and should not be emitted if there are no | |
551 | sections or symbols. | |
552 | (bfd_mach_o_set_section_contents): Amend comment. | |
23e1d329 | 553 | * mach-o.h: Amend and add to comments. |
7f307238 IS |
554 | (mach_o_data_struct): Add fields for dysymtab symbols counts and a |
555 | pointer to the indirects, when present. | |
556 | (bfd_mach_o_should_emit_dysymtab): New macro. | |
557 | (IS_MACHO_INDIRECT): Likewise. | |
558 | ||
23e1d329 | 559 | For older changes see ChangeLog-2011 |
56882138 AM |
560 | \f |
561 | Local Variables: | |
562 | mode: change-log | |
563 | left-margin: 8 | |
564 | fill-column: 74 | |
565 | version-control: never | |
566 | End: |