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