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