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