* symbols.c (report_op_error): Remove unnecessary forward declaration.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
80549d04
RÁE
12011-02-25 Rafael Ávila de Espíndola <respindola@mozilla.com>
2
3 * plugin.c (bfd_plugin_object_p): Correctly set the filesize
4 and handle claim_file seeking. Only try to load the plugin once.
5
93b3ac75
AS
62011-02-22 Andreas Schwab <schwab@redhat.com>
7
8 * elf32-m68k.c (elf_m68k_finish_dynamic_symbol): For a TLS_GD
9 relocation read the value from the second GOT slot.
10
6fa052f0
TG
112011-02-15 Tristan Gingold <gingold@adacore.com>
12
13 * vms-alpha.c (alpha_vms_link_add_archive_symbols): Add a comment.
14
28be611c
AM
152011-02-15 Alan Modra <amodra@gmail.com>
16
17 * elf64-ppc.c (ppc64_elf_edit_toc): Reinstate second read of
18 toc relocs. Fuss over free(NULL).
19
93252b1c
MF
202011-02-14 Mike Frysinger <vapier@gentoo.org>
21
22 * elflink.c (bfd_elf_size_dynamic_sections): Add
23 bfd_get_symbol_leading_char to the start of newname.
24
822ce8ee
RW
252011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
26
27 * configure: Regenerate.
28
425b145b
AM
292011-02-09 Alan Modra <amodra@gmail.com>
30
31 * elf64-ppc.c (ppc64_elf_edit_toc): Don't free toc relocs until
32 we are done. When optimising large toc, check that a global
33 symbol on a toc reloc is defined in a kept section.
34
82f2dbf7
NC
352011-02-08 Nick Clifton <nickc@redhat.com>
36
37 PR binutils/12467
38 * elf.c (assign_file_positions_for_load_sections): Set the program
39 header offset and entry size to zero if there are no program
40 headers.
41
df22d223
AM
422011-02-08 Alan Modra <amodra@gmail.com>
43
44 * elf64-ppc.c (ppc64_elf_edit_toc): Don't segfault on NULL
45 local_syms when looking for local symbols in .toc.
46
6683a28d
AM
472011-02-01 Alan Modra <amodra@gmail.com>
48
49 * elf64-ppc.c (ppc64_elf_next_input_section): Use elf_gp value
50 for toc pointer on any section having makes_toc_func_call set.
51 (check_pasted_section): Ensure pasted .init/.fini fragments use
52 the same toc if any has makes_toc_func_call set.
53
5240d94d
JM
542011-01-28 Joseph Myers <joseph@codesourcery.com>
55
56 * elf32-ppc.c (ppc_elf_link_hash_newfunc): Initialize has_sda_refs
57 field.
58
ed88c97e
RS
592011-01-22 Richard Sandiford <rdsandiford@googlemail.com>
60
61 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Ignore
62 common sections too.
63
1a0c107f
L
642011-01-18 H.J. Lu <hongjiu.lu@intel.com>
65
04449d86
L
66 * elf64-x86-64.c (elf_backend_want_plt_sym): Redefine to 0 after
67 Solaris target.
1a0c107f 68
d68cd58c
NC
692011-01-18 Pierre Muller <muller@ics.u-strasbg.fr>
70
71 Fix compilation for mingw64.
72 * coffcode.h (coff_slurp_symbol_table): Add intptr_t intermediate
73 typecast to avoid warning.
74 * elf32-rx.c: Add "bfd_stdint.h" include required for int32_t type
75 usage.
76 * elfxx-ia64.c (elfNN_ia64_relax_br): Use intptr_t typeacast instead
77 of long for pointer to avoid warning.
78 (elfNN_ia64_relax_brl): Idem.
79 (elfNN_ia64_install_value): Idem.
80 * vms-alpha.c (_bfd_vms_slurp_etir): Idem.
81
da17376b
RS
822011-01-17 Richard Sandiford <richard.sandiford@linaro.org>
83
84 * elf32-arm.c (elf32_arm_check_relocs): Check needs_plt rather than
85 h->needs_plt when deciding whether to record a possible dynamic reloc.
86
1e81e12b
RS
872011-01-17 Richard Sandiford <richard.sandiford@linaro.org>
88
89 * elf32-arm.c (elf32_arm_gc_sweep_hook): Remove all registered
90 dynamic relocs for the removed section.
91
d1534d16
L
922011-01-15 H.J. Lu <hongjiu.lu@intel.com>
93
94 * elf64-x86-64.c (elf_x86_64_check_relocs): Check invalid x32
95 relocations.
96
248775ba
L
972011-01-14 H.J. Lu <hongjiu.lu@intel.com>
98
99 * elf64-x86-64.c (elf_x86_64_link_hash_table): Add pointer_r_type.
100 (elf_x86_64_link_hash_table_create): Set pointer_r_type.
101 (elf_x86_64_check_relocs): Handle R_X86_64_32 like R_X86_64_64
102 for ILP32. Remove ABI_64_P PIC check for R_X86_64_8,
103 R_X86_64_16, R_X86_64_32 and R_X86_64_32S.
104 (elf_x86_64_relocate_section): Handle R_X86_64_32 like R_X86_64_64
105 for ILP32.
106
4a97a0e5
AM
1072011-01-14 Alan Modra <amodra@gmail.com>
108
109 * bfd.c (bfd_perror): Flush stdout before and stderr after printing
110 error.
111 (_bfd_default_error_handler): Likewise.
112 * elf.c (print_segment_map): Likewise.
113 * libbfd.c (warn_deprecated): Likewise.
114 * som.c (som_sizeof_headers): No need to do so here.
115 * coff-i860.c: Replace use of printf for error messages with
116 _bfd_error_handler.
117 * coff-ppc.c: Likewise.
118 * coff-sh.c: Likewise.
119 * elf32-bfin.c: Likewise.
120 * elf32-dlx.c: Likewise.
121 * elf32-mep.c: Likewise.
122 * elf32-v850.c: Likewise.
123 * mach-o.c: Likewise.
124 * pef.c: Likewise.
125
82e96e07
L
1262011-01-13 H.J. Lu <hongjiu.lu@intel.com>
127
128 * elf64-x86-64.c (elf_x86_64_link_hash_table): Remove
129 swap_reloca_out.
130 (elf_x86_64_link_hash_table_create): Don't set swap_reloca_out.
131 (elf_x86_64_check_relocs): Align relocation section to 4 byte
132 for 32bit.
133 (elf_x86_64_gc_sweep_hook): Replace ELF64_ST_TYPE with
134 ELF_ST_TYPE.
135 (elf_x86_64_finish_dynamic_symbol): Updated.
136 (elf_x86_64_finish_dynamic_sections): Don't use
137 Elf64_External_Dyn, bfd_elf64_swap_dyn_in, nor
138 bfd_elf64_swap_dyn_out.
139
e6a6bb22
AM
1402011-01-14 J. Park <grassman@gmail.com>
141
142 PR ld/12339
143 * elf32-arm.c (allocate_dynrelocs): Don't set up eh before
144 following bfd_link_hash_warning symbol link.
145
0855e32b
NS
1462011-01-10 Nathan Sidwell <nathan@codesourcery.com>
147 Glauber de Oliveira Costa <glommer@gmail.com>
148
149 * reloc.c (BFD_RELOC_ARM_TLS_GOTDESC, BFD_RELOC_ARM_TLS_CALL,
150 BFD_RELOC_ARM_THM_TLS_CALL, BFD_RELOC_ARM_TLS_DESCSEQ,
151 BFD_RELOC_ARM_THM_TLS_DESCSEQ, BFD_RELOC_ARM_TLS_DESC): New
152 relocations.
153 * libbfd.h: Rebuilt.
154 * bfd-in2.h: Rebuilt.
155 * elf32-arm.c (elf32_arm_howto_table_1): Add new relocations.
156 (elf32_arm_reloc_map): Likewise.
157 (tls_trampoline, dl_tlsdesc_lazy_trampoline): New PLT templates.
158 (elf32_arm_stub_long_branch_any_tls_pic,
159 elf32_arm_stub_long_branch_v4t_thumb_tls_pic): New stub templates.
160 (DEF_STUBS): Add new stubs.
161 (struct_elf_arm_obj_data): Add local_tlsdesc_gotent field.
162 (elf32_arm_local_tlsdesc_gotent): New.
163 (GOT_TLS_GDESC): New mask.
164 (GOT_TLS_GD_ANY): Define.
165 (struct elf32_arm_link_hash_entry): Add tlsdesc_got field.
166 (elf32_arm_compute_jump_table_size): New.
167 (struct elf32_arm_link_hash_table): Add next_tls_desc_index,
168 num_tls_desc, dt_tlsdesc_plt, dt_tlsdesc_got, tls_trampoline,
169 sgotplt_jump_table_size fields.
170 (elf32_arm_link_hash_newfunc): Initialize tlsdesc_got field.
171 (elf32_arm_link_hash_table_create): Initialize new fields.
172 (arm_type_of_stub): Check TLS desc relocs too.
173 (elf32_arm_stub_name): TLS desc relocs can be shared.
174 (elf32_arm_tls_transition): Determine relaxation.
175 (arm_stub_required_alignment): Add tls stubs.
176 (elf32_arm_size_stubs): Likewise.
177 (elf32_arm_tls_relax): Perform TLS relaxing.
178 (elf32_arm_final_link_relocate): Process TLS DESC relocations.
179 (IS_ARM_TLS_GNU_RELOC): New.
180 (IS_ARM_TLS_RELOC): Use it.
181 (elf32_arm_relocate_section): Perform TLS relaxing.
182 (elf32_arm_check_relocs): Anticipate TLS relaxing, process tls
183 desc relocations.
184 (allocate_dynrelocs): Allocate tls desc relcoations.
185 (elf32_arm_output_arch_local_syms): Emit tls trampoline mapping
186 symbols.
187 (elf32_arm_size_dynamic_sections): Allocate tls trampolines and
188 got slots.
189 (elf32_arm_always_size_sections): New. Create _TLS_MODULE_BASE
190 symbol.
191 (elf32_arm_finish_dynamic_symbol): Adjust.
192 (arm_put_trampoline): New.
193 (elf32_arm_finish_dynamic_sections): Emit new dynamic tags and tls
194 trampolines.
195 (elf_backend_always_size_sections): Define.
196
7be86737
L
1972011-01-06 H.J. Lu <hongjiu.lu@intel.com>
198
199 * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Optimized.
200
ae428b57 2012011-01-06 H.J. Lu <hongjiu.lu@intel.com>
3db2e7dd
L
202
203 PR ld/12366
204 PR ld/12371
205 * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Properly
206 handle symbols marked with regular reference, but not non-GOT
207 reference when building shared library.
208
209 * elf32-i386.c (elf_i386_gc_sweep_hook): Properly handle
210 local and global STT_GNU_IFUNC symols when building shared
211 library.
212 * elf64-x86-64.c (elf_x86_64_gc_sweep_hook): Likewise.
213
9689e3a3
DD
2142011-01-05 DJ Delorie <dj@redhat.com>
215
216 * reloc.c: Add BFD_RELOC_RX_OP_NEG.
217 * libbfd.h: Regenerate.
218 * bfd-in2.h: Regenerate.
219 * elf32-rx.c: Add it to the list, corresponding to R_RX_OPneg.
220
889a4d3e
L
2212011-01-03 H.J. Lu <hongjiu.lu@intel.com>
222
223 * cpu-i386.c (bfd_i386_compatible): New.
224 (bfd_x64_32_arch_intel_syntax): Replace bfd_default_compatible
225 with bfd_i386_compatible.
226 (bfd_x86_64_arch_intel_syntax): Likewise.
227 (bfd_i386_arch_intel_syntax): Likewise.
228 (i8086_arch): Likewise.
229 (bfd_x64_32_arch): Likewise.
230 (bfd_x86_64_arch): Likewise.
231 (bfd_i386_arch): Likewise.
232
9e9e0820 233For older changes see ChangeLog-2010
56882138
AM
234\f
235Local Variables:
236mode: change-log
237left-margin: 8
238fill-column: 74
239version-control: never
240End:
This page took 0.549209 seconds and 4 git commands to generate.