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