1 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
3 * elf64-x86-64.c (elf_backend_static_tls_alignment): Undefine
5 (elf_backend_want_plt_sym): Redefine to 0 after Solaris target.
7 2011-01-18 Pierre Muller <muller@ics.u-strasbg.fr>
9 Fix compilation for mingw64.
10 * coffcode.h (coff_slurp_symbol_table): Add intptr_t intermediate
11 typecast to avoid warning.
12 * elf32-rx.c: Add "bfd_stdint.h" include required for int32_t type
14 * elfxx-ia64.c (elfNN_ia64_relax_br): Use intptr_t typeacast instead
15 of long for pointer to avoid warning.
16 (elfNN_ia64_relax_brl): Idem.
17 (elfNN_ia64_install_value): Idem.
18 * vms-alpha.c (_bfd_vms_slurp_etir): Idem.
20 2011-01-17 Richard Sandiford <richard.sandiford@linaro.org>
22 * elf32-arm.c (elf32_arm_check_relocs): Check needs_plt rather than
23 h->needs_plt when deciding whether to record a possible dynamic reloc.
25 2011-01-17 Richard Sandiford <richard.sandiford@linaro.org>
27 * elf32-arm.c (elf32_arm_gc_sweep_hook): Remove all registered
28 dynamic relocs for the removed section.
30 2011-01-15 H.J. Lu <hongjiu.lu@intel.com>
32 * elf64-x86-64.c (elf_x86_64_check_relocs): Check invalid x32
35 2011-01-14 H.J. Lu <hongjiu.lu@intel.com>
37 * elf64-x86-64.c (elf_x86_64_link_hash_table): Add pointer_r_type.
38 (elf_x86_64_link_hash_table_create): Set pointer_r_type.
39 (elf_x86_64_check_relocs): Handle R_X86_64_32 like R_X86_64_64
40 for ILP32. Remove ABI_64_P PIC check for R_X86_64_8,
41 R_X86_64_16, R_X86_64_32 and R_X86_64_32S.
42 (elf_x86_64_relocate_section): Handle R_X86_64_32 like R_X86_64_64
45 2011-01-14 Alan Modra <amodra@gmail.com>
47 * bfd.c (bfd_perror): Flush stdout before and stderr after printing
49 (_bfd_default_error_handler): Likewise.
50 * elf.c (print_segment_map): Likewise.
51 * libbfd.c (warn_deprecated): Likewise.
52 * som.c (som_sizeof_headers): No need to do so here.
53 * coff-i860.c: Replace use of printf for error messages with
55 * coff-ppc.c: Likewise.
56 * coff-sh.c: Likewise.
57 * elf32-bfin.c: Likewise.
58 * elf32-dlx.c: Likewise.
59 * elf32-mep.c: Likewise.
60 * elf32-v850.c: Likewise.
64 2011-01-13 H.J. Lu <hongjiu.lu@intel.com>
66 * elf64-x86-64.c (elf_x86_64_link_hash_table): Remove
68 (elf_x86_64_link_hash_table_create): Don't set swap_reloca_out.
69 (elf_x86_64_check_relocs): Align relocation section to 4 byte
71 (elf_x86_64_gc_sweep_hook): Replace ELF64_ST_TYPE with
73 (elf_x86_64_finish_dynamic_symbol): Updated.
74 (elf_x86_64_finish_dynamic_sections): Don't use
75 Elf64_External_Dyn, bfd_elf64_swap_dyn_in, nor
76 bfd_elf64_swap_dyn_out.
78 2011-01-14 J. Park <grassman@gmail.com>
81 * elf32-arm.c (allocate_dynrelocs): Don't set up eh before
82 following bfd_link_hash_warning symbol link.
84 2011-01-10 Nathan Sidwell <nathan@codesourcery.com>
85 Glauber de Oliveira Costa <glommer@gmail.com>
87 * reloc.c (BFD_RELOC_ARM_TLS_GOTDESC, BFD_RELOC_ARM_TLS_CALL,
88 BFD_RELOC_ARM_THM_TLS_CALL, BFD_RELOC_ARM_TLS_DESCSEQ,
89 BFD_RELOC_ARM_THM_TLS_DESCSEQ, BFD_RELOC_ARM_TLS_DESC): New
93 * elf32-arm.c (elf32_arm_howto_table_1): Add new relocations.
94 (elf32_arm_reloc_map): Likewise.
95 (tls_trampoline, dl_tlsdesc_lazy_trampoline): New PLT templates.
96 (elf32_arm_stub_long_branch_any_tls_pic,
97 elf32_arm_stub_long_branch_v4t_thumb_tls_pic): New stub templates.
98 (DEF_STUBS): Add new stubs.
99 (struct_elf_arm_obj_data): Add local_tlsdesc_gotent field.
100 (elf32_arm_local_tlsdesc_gotent): New.
101 (GOT_TLS_GDESC): New mask.
102 (GOT_TLS_GD_ANY): Define.
103 (struct elf32_arm_link_hash_entry): Add tlsdesc_got field.
104 (elf32_arm_compute_jump_table_size): New.
105 (struct elf32_arm_link_hash_table): Add next_tls_desc_index,
106 num_tls_desc, dt_tlsdesc_plt, dt_tlsdesc_got, tls_trampoline,
107 sgotplt_jump_table_size fields.
108 (elf32_arm_link_hash_newfunc): Initialize tlsdesc_got field.
109 (elf32_arm_link_hash_table_create): Initialize new fields.
110 (arm_type_of_stub): Check TLS desc relocs too.
111 (elf32_arm_stub_name): TLS desc relocs can be shared.
112 (elf32_arm_tls_transition): Determine relaxation.
113 (arm_stub_required_alignment): Add tls stubs.
114 (elf32_arm_size_stubs): Likewise.
115 (elf32_arm_tls_relax): Perform TLS relaxing.
116 (elf32_arm_final_link_relocate): Process TLS DESC relocations.
117 (IS_ARM_TLS_GNU_RELOC): New.
118 (IS_ARM_TLS_RELOC): Use it.
119 (elf32_arm_relocate_section): Perform TLS relaxing.
120 (elf32_arm_check_relocs): Anticipate TLS relaxing, process tls
122 (allocate_dynrelocs): Allocate tls desc relcoations.
123 (elf32_arm_output_arch_local_syms): Emit tls trampoline mapping
125 (elf32_arm_size_dynamic_sections): Allocate tls trampolines and
127 (elf32_arm_always_size_sections): New. Create _TLS_MODULE_BASE
129 (elf32_arm_finish_dynamic_symbol): Adjust.
130 (arm_put_trampoline): New.
131 (elf32_arm_finish_dynamic_sections): Emit new dynamic tags and tls
133 (elf_backend_always_size_sections): Define.
135 2011-01-06 H.J. Lu <hongjiu.lu@intel.com>
137 * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Optimized.
139 2011-01-06 H.J. Lu <hongjiu.lu@intel.com>
143 * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Properly
144 handle symbols marked with regular reference, but not non-GOT
145 reference when building shared library.
147 * elf32-i386.c (elf_i386_gc_sweep_hook): Properly handle
148 local and global STT_GNU_IFUNC symols when building shared
150 * elf64-x86-64.c (elf_x86_64_gc_sweep_hook): Likewise.
152 2011-01-05 DJ Delorie <dj@redhat.com>
154 * reloc.c: Add BFD_RELOC_RX_OP_NEG.
155 * libbfd.h: Regenerate.
156 * bfd-in2.h: Regenerate.
157 * elf32-rx.c: Add it to the list, corresponding to R_RX_OPneg.
159 2011-01-03 H.J. Lu <hongjiu.lu@intel.com>
161 * cpu-i386.c (bfd_i386_compatible): New.
162 (bfd_x64_32_arch_intel_syntax): Replace bfd_default_compatible
163 with bfd_i386_compatible.
164 (bfd_x86_64_arch_intel_syntax): Likewise.
165 (bfd_i386_arch_intel_syntax): Likewise.
166 (i8086_arch): Likewise.
167 (bfd_x64_32_arch): Likewise.
168 (bfd_x86_64_arch): Likewise.
169 (bfd_i386_arch): Likewise.
171 For older changes see ChangeLog-2010
177 version-control: never