Updated Russian translation for the bfd sub-directory
[deliverable/binutils-gdb.git] / bfd / ChangeLog
1 2018-01-27 Nick Clifton <nickc@redhat.com>
2
3 * po/ru.po: Updated Russian translation.
4
5 2018-01-26 Alan Modra <amodra@gmail.com>
6
7 * elflink.c (bfd_elf_define_start_stop): Override symbols when
8 they are defined dynamically.
9
10 2018-01-26 Alan Modra <amodra@gmail.com>
11
12 * elf64-ppc.c (ppc64_elf_size_stubs): Iterate sizing when
13 .branch_lt changes size.
14
15 2018-01-25 Alan Modra <amodra@gmail.com>
16
17 PR 22746
18 * elfcode.h (elf_object_p): Avoid integer overflow.
19
20 2018-01-25 Eric Botcazou <ebotcazou@adacore.com>
21
22 PR ld/22727
23 * elfxx-sparc.c (_bfd_sparc_elf_check_relocs) <R_SPARC_TLS_GD_CALL>:
24 Do a mere lookup of the __tls_get_addr symbol instead of adding it.
25
26 Revert
27 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
28
29 PR ld/22263
30 * elfxx-sparc.c (sparc_elf_tls_transition): Replace
31 bfd_link_pic with !bfd_link_executable, !bfd_link_pic with
32 bfd_link_executable for TLS check.
33 (_bfd_sparc_elf_check_relocs): Likewise.
34 (allocate_dynrelocs): Likewise.
35 (_bfd_sparc_elf_relocate_section): Likewise.
36
37 2018-01-24 Renlin Li <renlin.li@arm.com>
38
39 * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Add support for
40 BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
41 BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
42 BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
43 BFD_RELOC_AARCH64_MOVW_PREL_G3.
44 * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
45 (_bfd_aarch64_elf_resolve_relocation): Likewise.
46
47 2018-01-24 Renlin Li <renlin.li@arm.com>
48
49 * reloc.c: Add BFD_RELOC_AARCH64_MOVW_PREL_G0,
50 BFD_RELOC_AARCH64_MOVW_PREL_G0_NC, BFD_RELOC_AARCH64_MOVW_PREL_G1,
51 BFD_RELOC_AARCH64_MOVW_PREL_G1_NC, BFD_RELOC_AARCH64_MOVW_PREL_G2,
52 BFD_RELOC_AARCH64_MOVW_PREL_G2_NC, BFD_RELOC_AARCH64_MOVW_PREL_G3.
53 * elfnn-aarch64.c (elfNN_aarch64_howto_table): Add entries for
54 BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
55 BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
56 BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
57 BFD_RELOC_AARCH64_MOVW_PREL_G3.
58 * bfd-in2.h: Regenerate.
59 * libbfd.h: Regenerate.
60
61 2018-01-23 Maciej W. Rozycki <macro@mips.com>
62
63 * elfxx-mips.c (_bfd_mips_elf_final_link): Update a stale
64 `mips_elf32_section_processing' comment reference.
65
66 2018-01-20 H.J. Lu <hongjiu.lu@intel.com>
67
68 PR ld/22721
69 * elfxx-x86.c (_bfd_x86_elf_link_check_relocs): Check the
70 versioned __tls_get_addr symbol.
71
72 2018-01-19 Nick Clifton <nickc@redhat.com>
73
74 * po/fr.po: Updated French translation.
75
76 2018-01-18 Alan Modra <amodra@gmail.com>
77
78 * elf32-ppc.c (ppc_elf_create_glink): Correct alignment of .glink.
79 * elf64-ppc.c (ppc64_elf_size_stubs): Handle negative plt_stub_align.
80 (ppc64_elf_build_stubs): Likewise.
81
82 2018-01-17 Nick Clifton <nickc@redhat.com>
83
84 * po/ru.po: Updated Russian translation.
85 * po/uk/po: Updated Ukranian translation.
86
87 2018-01-17 Alan Modra <amodra@gmail.com>
88
89 * elf64-ppc.c (ppc64_elf_build_stubs): Silence gcc warning.
90
91 2018-01-17 Alan Modra <amodra@gmail.com>
92
93 * elf32-ppc.c (GLINK_ENTRY_SIZE): Handle speculation barrier.
94 (CRSETEQ, BEQCTRM): Define.
95 (is_nonpic_glink_stub): Don't check bctr.
96 (ppc_elf_link_hash_table_create): Init new ppc_elf_params field.
97 (ppc_elf_relax_section): Size speculation barrier.
98 (output_bctr): New function.
99 (write_glink_stub): Use output_bctr.
100 (ppc_elf_relocate_section): Use output_bctr for long branch stub.
101 (ppc_elf_finish_dynamic_symbol): Likewise.
102 (ppc_elf_finish_dynamic_sections): Use output_bctr.
103 * elf32-ppc.h (struct ppc_elf_params): Add speculate_indirect_jumps.
104 * elf64-ppc.c (CRSETEQ, BEQCTRM, BEQCTRLM): Define.
105 (GLINK_PLTRESOLVE_SIZE): Size speculation barrier.
106 (size_global_entry_stubs): Handle speculation barrier sizing.
107 (plt_stub_size): Likewise.
108 (output_bctr): New function.
109 (build_plt_stub, build_tls_get_addr_stub): Output speculation
110 barrier.
111 (ppc_build_one_stub): Likewise for ppc_stub_plt_branch.
112 (ppc_size_one_stub): Size speculation barrier in ppc_stub_plt_branch.
113 (build_global_entry_stubs): Output speculation barrier.
114 (ppc64_elf_build_stubs): Likewise in __glink_PLTresolve stub.
115 * elf64-ppc.h (struct ppc64_elf_params): Add speculate_indirect_jumps.
116
117 2018-01-17 Alan Modra <amodra@gmail.com>
118
119 * elf32-ppc.c (GLINK_ENTRY_SIZE): Add parameters, handle
120 __tls_get_addr_opt, and alignment sizing.
121 (TLS_GET_ADDR_GLINK_SIZE): Delete.
122 (is_nonpic_glink_stub): Don't use GLINK_ENTRY_SIZE.
123 (ppc_elf_get_synthetic_symtab): Recognize stubs spaced at 4, 6,
124 or 8 insns.
125 (ppc_elf_link_hash_table_create): Init new ppc_elf_params field.
126 (allocate_dynrelocs): Use new GLINK_ENTRY_SIZE.
127 (ppc_elf_size_dynamic_sections): Likewise. Size branch table
128 by PLT reloc count.
129 (write_glink_stub): Handle __tls_get_addr_opt stub.
130 Pad out to size given by GLINK_ENTRY_SIZE.
131 (ppc_elf_relocate_section): Adjust write_glink_stub call.
132 (ppc_elf_finish_dynamic_symbol): Likewise.
133 (ppc_elf_finish_dynamic_sections): Write PLTresolve without using
134 insn array since so many need rewriting.
135 * elf32-ppc.h (struct ppc_elf_params): Add plt_stub_align.
136 * elf64-ppc.c (GLINK_PLTRESOLVE_SIZE): Rename from
137 GLINK_CALL_STUB_SIZE. Add htab param and evaluate to size without
138 nops. Adjust all uses.
139 (ppc64_elf_get_synthetic_symtab): Don't use GLINK_CALL_STUB_SIZE
140 in glink_vma calculation.
141 (struct ppc_link_hash_table): Add global_entry section pointer.
142 (create_linkage_sections): Create separate section for global
143 entry stubs.
144 (PPC_LO, PPC_HI, PPC_HA): Move earlier.
145 (size_global_entry_stubs): Handle sizing for aligned stubs.
146 (ppc64_elf_size_dynamic_sections): Handle global_entry alloc,
147 and don't stash end of glink branch table in rawsize.
148 (ppc_build_one_stub): Rewrite stub size calculations.
149 (build_global_entry_stubs): Use new section.
150 (ppc64_elf_build_stubs): Don't pad __glink_PLTresolve with nops.
151 Build lazy link stubs out to end of section. Build global entry
152 stubs in new section.
153
154 2018-01-15 Nick Clifton <nickc@redhat.com>
155
156 * po/uk.po: Updated Ukranian translation.
157
158 2018-01-13 Nick Clifton <nickc@redhat.com>
159
160 * po/bfd.pot: Regenerated.
161
162 2018-01-13 Nick Clifton <nickc@redhat.com>
163
164 * version.m4: Bump version to 2.30.51
165 * configure: Regenerate.
166
167 2018-01-13 Nick Clifton <nickc@redhat.com>
168
169 2.30 branch created.
170
171 2018-01-12 Jens Widell <jl@opera.com>
172
173 * elf.c (setup_group): Optimize search for group by remembering
174 last found group and restarting search at that index.
175 * elf-bfd.h (struct elf_obj_tdata): Add group_search_offset field.
176
177 2018-01-12 Gunther Nikl <gnikl@users.sourceforge.net>
178
179 * aoutx.h (aout_link_check_ar_symbols): Remove default and handle
180 bfd_link_common_skip_none in switch.
181
182 2018-01-12 Alan Modra <amodra@gmail.com>
183
184 PR ld/22649
185 * elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Ignore dynamic
186 references on forced local symbols.
187
188 2018-01-12 Vlad Ivanov <vlad@ivanov.email>
189
190 * elfxx-mips.c (_bfd_mips_elf_final_link): Notify user when
191 .reginfo section has wrong size.
192
193 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
194
195 PR ld/22393
196 * elf.c (_bfd_elf_map_sections_to_segments): When generating
197 separate code and read-only data LOAD segments, create a new
198 LOAD segment if the previous section contains text and the
199 current section doesn't or vice versa. Don't put a writable
200 section in a read-only segment if there is a RELRO segment.
201
202 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
203
204 PR ld/22649
205 * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Ignore dynamic
206 references on forced local symbols.
207
208 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
209
210 PR ld/22677
211 * elflink.c (bfd_elf_gc_sections): Keep all PREINIT_ARRAY,
212 INIT_ARRAY as well as FINI_ARRAY sections for ld -r --gc-section.
213
214 2017-09-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
215
216 PR 22662
217 * elf32-nds32.c (nds32_elf_relax_loadstore): Fix a typographical error.
218
219 2018-01-03 John Baldwin <jhb@FreeBSD.org>
220
221 * elf.c (elfcore_grok_freebsd_note): Handle
222 NT_FREEBSD_PROCSTAT_PROC, NT_FREEBSD_PROCSTAT_FILES, and
223 NT_FREEBSD_PROCSTAT_VMMAP.
224
225 2018-01-03 Alan Modra <amodra@gmail.com>
226
227 Update year range in copyright notice of all files.
228
229 For older changes see ChangeLog-2017
230 \f
231 Copyright (C) 2018 Free Software Foundation, Inc.
232
233 Copying and distribution of this file, with or without modification,
234 are permitted in any medium without royalty provided the copyright
235 notice and this notice are preserved.
236
237 Local Variables:
238 mode: change-log
239 left-margin: 8
240 fill-column: 74
241 version-control: never
242 End:
This page took 0.03675 seconds and 5 git commands to generate.