1 2011-01-14 Alan Modra <amodra@gmail.com>
3 * bfd.c (bfd_perror): Flush stdout before and stderr after printing
5 (_bfd_default_error_handler): Likewise.
6 * elf.c (print_segment_map): Likewise.
7 * libbfd.c (warn_deprecated): Likewise.
8 * som.c (som_sizeof_headers): No need to do so here.
9 * coff-i860.c: Replace use of printf for error messages with
11 * coff-ppc.c: Likewise.
12 * coff-sh.c: Likewise.
13 * elf32-bfin.c: Likewise.
14 * elf32-dlx.c: Likewise.
15 * elf32-mep.c: Likewise.
16 * elf32-v850.c: Likewise.
20 2011-01-13 H.J. Lu <hongjiu.lu@intel.com>
22 * elf64-x86-64.c (elf_x86_64_link_hash_table): Remove
24 (elf_x86_64_link_hash_table_create): Don't set swap_reloca_out.
25 (elf_x86_64_check_relocs): Align relocation section to 4 byte
27 (elf_x86_64_gc_sweep_hook): Replace ELF64_ST_TYPE with
29 (elf_x86_64_finish_dynamic_symbol): Updated.
30 (elf_x86_64_finish_dynamic_sections): Don't use
31 Elf64_External_Dyn, bfd_elf64_swap_dyn_in, nor
32 bfd_elf64_swap_dyn_out.
34 2011-01-14 J. Park <grassman@gmail.com>
37 * elf32-arm.c (allocate_dynrelocs): Don't set up eh before
38 following bfd_link_hash_warning symbol link.
40 2011-01-10 Nathan Sidwell <nathan@codesourcery.com>
41 Glauber de Oliveira Costa <glommer@gmail.com>
43 * reloc.c (BFD_RELOC_ARM_TLS_GOTDESC, BFD_RELOC_ARM_TLS_CALL,
44 BFD_RELOC_ARM_THM_TLS_CALL, BFD_RELOC_ARM_TLS_DESCSEQ,
45 BFD_RELOC_ARM_THM_TLS_DESCSEQ, BFD_RELOC_ARM_TLS_DESC): New
49 * elf32-arm.c (elf32_arm_howto_table_1): Add new relocations.
50 (elf32_arm_reloc_map): Likewise.
51 (tls_trampoline, dl_tlsdesc_lazy_trampoline): New PLT templates.
52 (elf32_arm_stub_long_branch_any_tls_pic,
53 elf32_arm_stub_long_branch_v4t_thumb_tls_pic): New stub templates.
54 (DEF_STUBS): Add new stubs.
55 (struct_elf_arm_obj_data): Add local_tlsdesc_gotent field.
56 (elf32_arm_local_tlsdesc_gotent): New.
57 (GOT_TLS_GDESC): New mask.
58 (GOT_TLS_GD_ANY): Define.
59 (struct elf32_arm_link_hash_entry): Add tlsdesc_got field.
60 (elf32_arm_compute_jump_table_size): New.
61 (struct elf32_arm_link_hash_table): Add next_tls_desc_index,
62 num_tls_desc, dt_tlsdesc_plt, dt_tlsdesc_got, tls_trampoline,
63 sgotplt_jump_table_size fields.
64 (elf32_arm_link_hash_newfunc): Initialize tlsdesc_got field.
65 (elf32_arm_link_hash_table_create): Initialize new fields.
66 (arm_type_of_stub): Check TLS desc relocs too.
67 (elf32_arm_stub_name): TLS desc relocs can be shared.
68 (elf32_arm_tls_transition): Determine relaxation.
69 (arm_stub_required_alignment): Add tls stubs.
70 (elf32_arm_size_stubs): Likewise.
71 (elf32_arm_tls_relax): Perform TLS relaxing.
72 (elf32_arm_final_link_relocate): Process TLS DESC relocations.
73 (IS_ARM_TLS_GNU_RELOC): New.
74 (IS_ARM_TLS_RELOC): Use it.
75 (elf32_arm_relocate_section): Perform TLS relaxing.
76 (elf32_arm_check_relocs): Anticipate TLS relaxing, process tls
78 (allocate_dynrelocs): Allocate tls desc relcoations.
79 (elf32_arm_output_arch_local_syms): Emit tls trampoline mapping
81 (elf32_arm_size_dynamic_sections): Allocate tls trampolines and
83 (elf32_arm_always_size_sections): New. Create _TLS_MODULE_BASE
85 (elf32_arm_finish_dynamic_symbol): Adjust.
86 (arm_put_trampoline): New.
87 (elf32_arm_finish_dynamic_sections): Emit new dynamic tags and tls
89 (elf_backend_always_size_sections): Define.
91 2011-01-06 H.J. Lu <hongjiu.lu@intel.com>
93 * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Optimized.
95 2011-01-06 H.J. Lu <hongjiu.lu@intel.com>
99 * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Properly
100 handle symbols marked with regular reference, but not non-GOT
101 reference when building shared library.
103 * elf32-i386.c (elf_i386_gc_sweep_hook): Properly handle
104 local and global STT_GNU_IFUNC symols when building shared
106 * elf64-x86-64.c (elf_x86_64_gc_sweep_hook): Likewise.
108 2011-01-05 DJ Delorie <dj@redhat.com>
110 * reloc.c: Add BFD_RELOC_RX_OP_NEG.
111 * libbfd.h: Regenerate.
112 * bfd-in2.h: Regenerate.
113 * elf32-rx.c: Add it to the list, corresponding to R_RX_OPneg.
115 2011-01-03 H.J. Lu <hongjiu.lu@intel.com>
117 * cpu-i386.c (bfd_i386_compatible): New.
118 (bfd_x64_32_arch_intel_syntax): Replace bfd_default_compatible
119 with bfd_i386_compatible.
120 (bfd_x86_64_arch_intel_syntax): Likewise.
121 (bfd_i386_arch_intel_syntax): Likewise.
122 (i8086_arch): Likewise.
123 (bfd_x64_32_arch): Likewise.
124 (bfd_x86_64_arch): Likewise.
125 (bfd_i386_arch): Likewise.
127 For older changes see ChangeLog-2010
133 version-control: never