MI: Allow non-raw varobj evaluation
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
d830549d
AM
12018-02-02 Alan Modra <amodra@gmail.com>
2
3 * elf64-ppc.c (ppc64_elf_relocate_section): Don't relocate nops
4 emitted for toc sequence optimization. Set and use "howto" later.
5
e99955cd
SM
62018-02-01 Simon Marchi <simon.marchi@ericsson.com>
7
8 * elf64-ppc.c (ppc64_elf_archive_symbol_lookup): Avoid pointer
9 arithmetic on NULL pointer.
10 * elflink.c (_bfd_elf_archive_symbol_lookup,
11 elf_link_add_archive_symbols): Likewise.
12
bf3077a6
MM
132018-01-31 Michael Matz <matz@suse.de>
14
15 * elflink.c (bfd_elf_define_start_stop): Fix check of
16 def_dynamic.
17
823143c6
L
182018-01-31 H.J. Lu <hongjiu.lu@intel.com>
19
20 PR ld/21964
21 * elflink.c (bfd_elf_define_start_stop): Check if __start and
22 __stop symbols are referenced by shared objects.
23
76cb3a89
AM
242018-01-30 Alan Modra <amodra@gmail.com>
25
26 PR 22758
27 * elf.c (_bfd_elf_map_sections_to_segments): Don't start a new
28 segment when demand paged with lma on the same page. Test this
29 before load/non-load, executable/non-executable,
30 writable/non-writable tests and simplify. Delete bogus relro
31 condition in writable/non-writable test. Delete outdated
32 comment. Formatting.
33
36b8fda5
AM
342018-01-30 Alan Modra <amodra@gmail.com>
35
36 * elflink.c (bfd_elf_define_start_stop): Make __start and __stop
37 symbols dynamic.
38
eb77f6a4
AM
392018-01-29 Alan Modra <amodra@gmail.com>
40
41 PR 22741
42 * coffgen.c (coff_pointerize_aux): Ensure auxent tagndx is in
43 range before converting to a symbol table pointer.
44
7d73b4c8
NC
452018-01-27 Nick Clifton <nickc@redhat.com>
46
47 * po/ru.po: Updated Russian translation.
48
32253bb7
AM
492018-01-26 Alan Modra <amodra@gmail.com>
50
51 * elflink.c (bfd_elf_define_start_stop): Override symbols when
52 they are defined dynamically.
53
ba21f564
AM
542018-01-26 Alan Modra <amodra@gmail.com>
55
56 * elf64-ppc.c (ppc64_elf_size_stubs): Iterate sizing when
57 .branch_lt changes size.
58
38e64b0e
AM
592018-01-25 Alan Modra <amodra@gmail.com>
60
61 PR 22746
62 * elfcode.h (elf_object_p): Avoid integer overflow.
63
bb363086
EB
642018-01-25 Eric Botcazou <ebotcazou@adacore.com>
65
66 PR ld/22727
67 * elfxx-sparc.c (_bfd_sparc_elf_check_relocs) <R_SPARC_TLS_GD_CALL>:
68 Do a mere lookup of the __tls_get_addr symbol instead of adding it.
69
70 Revert
71 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
72
73 PR ld/22263
74 * elfxx-sparc.c (sparc_elf_tls_transition): Replace
75 bfd_link_pic with !bfd_link_executable, !bfd_link_pic with
76 bfd_link_executable for TLS check.
77 (_bfd_sparc_elf_check_relocs): Likewise.
78 (allocate_dynrelocs): Likewise.
79 (_bfd_sparc_elf_relocate_section): Likewise.
80
1daf502a
RL
812018-01-24 Renlin Li <renlin.li@arm.com>
82
83 * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Add support for
84 BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
85 BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
86 BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
87 BFD_RELOC_AARCH64_MOVW_PREL_G3.
88 * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
89 (_bfd_aarch64_elf_resolve_relocation): Likewise.
90
32247401
RL
912018-01-24 Renlin Li <renlin.li@arm.com>
92
93 * reloc.c: Add BFD_RELOC_AARCH64_MOVW_PREL_G0,
94 BFD_RELOC_AARCH64_MOVW_PREL_G0_NC, BFD_RELOC_AARCH64_MOVW_PREL_G1,
95 BFD_RELOC_AARCH64_MOVW_PREL_G1_NC, BFD_RELOC_AARCH64_MOVW_PREL_G2,
96 BFD_RELOC_AARCH64_MOVW_PREL_G2_NC, BFD_RELOC_AARCH64_MOVW_PREL_G3.
97 * elfnn-aarch64.c (elfNN_aarch64_howto_table): Add entries for
98 BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
99 BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
100 BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
101 BFD_RELOC_AARCH64_MOVW_PREL_G3.
102 * bfd-in2.h: Regenerate.
103 * libbfd.h: Regenerate.
104
1c5e4ee9
MR
1052018-01-23 Maciej W. Rozycki <macro@mips.com>
106
107 * elfxx-mips.c (_bfd_mips_elf_final_link): Update a stale
108 `mips_elf32_section_processing' comment reference.
109
8a1b824a
L
1102018-01-20 H.J. Lu <hongjiu.lu@intel.com>
111
112 PR ld/22721
113 * elfxx-x86.c (_bfd_x86_elf_link_check_relocs): Check the
114 versioned __tls_get_addr symbol.
115
ee3fbc1e
NC
1162018-01-19 Nick Clifton <nickc@redhat.com>
117
118 * po/fr.po: Updated French translation.
119
691d2e9a
AM
1202018-01-18 Alan Modra <amodra@gmail.com>
121
122 * elf32-ppc.c (ppc_elf_create_glink): Correct alignment of .glink.
123 * elf64-ppc.c (ppc64_elf_size_stubs): Handle negative plt_stub_align.
124 (ppc64_elf_build_stubs): Likewise.
125
4bfce128
NC
1262018-01-17 Nick Clifton <nickc@redhat.com>
127
128 * po/ru.po: Updated Russian translation.
129 * po/uk/po: Updated Ukranian translation.
130
c75bc4f7
AM
1312018-01-17 Alan Modra <amodra@gmail.com>
132
133 * elf64-ppc.c (ppc64_elf_build_stubs): Silence gcc warning.
134
1be5d8d3
AM
1352018-01-17 Alan Modra <amodra@gmail.com>
136
137 * elf32-ppc.c (GLINK_ENTRY_SIZE): Handle speculation barrier.
138 (CRSETEQ, BEQCTRM): Define.
139 (is_nonpic_glink_stub): Don't check bctr.
140 (ppc_elf_link_hash_table_create): Init new ppc_elf_params field.
141 (ppc_elf_relax_section): Size speculation barrier.
142 (output_bctr): New function.
143 (write_glink_stub): Use output_bctr.
144 (ppc_elf_relocate_section): Use output_bctr for long branch stub.
145 (ppc_elf_finish_dynamic_symbol): Likewise.
146 (ppc_elf_finish_dynamic_sections): Use output_bctr.
147 * elf32-ppc.h (struct ppc_elf_params): Add speculate_indirect_jumps.
148 * elf64-ppc.c (CRSETEQ, BEQCTRM, BEQCTRLM): Define.
149 (GLINK_PLTRESOLVE_SIZE): Size speculation barrier.
150 (size_global_entry_stubs): Handle speculation barrier sizing.
151 (plt_stub_size): Likewise.
152 (output_bctr): New function.
153 (build_plt_stub, build_tls_get_addr_stub): Output speculation
154 barrier.
155 (ppc_build_one_stub): Likewise for ppc_stub_plt_branch.
156 (ppc_size_one_stub): Size speculation barrier in ppc_stub_plt_branch.
157 (build_global_entry_stubs): Output speculation barrier.
158 (ppc64_elf_build_stubs): Likewise in __glink_PLTresolve stub.
159 * elf64-ppc.h (struct ppc64_elf_params): Add speculate_indirect_jumps.
160
9e390558
AM
1612018-01-17 Alan Modra <amodra@gmail.com>
162
163 * elf32-ppc.c (GLINK_ENTRY_SIZE): Add parameters, handle
164 __tls_get_addr_opt, and alignment sizing.
165 (TLS_GET_ADDR_GLINK_SIZE): Delete.
166 (is_nonpic_glink_stub): Don't use GLINK_ENTRY_SIZE.
167 (ppc_elf_get_synthetic_symtab): Recognize stubs spaced at 4, 6,
168 or 8 insns.
169 (ppc_elf_link_hash_table_create): Init new ppc_elf_params field.
170 (allocate_dynrelocs): Use new GLINK_ENTRY_SIZE.
171 (ppc_elf_size_dynamic_sections): Likewise. Size branch table
172 by PLT reloc count.
173 (write_glink_stub): Handle __tls_get_addr_opt stub.
174 Pad out to size given by GLINK_ENTRY_SIZE.
175 (ppc_elf_relocate_section): Adjust write_glink_stub call.
176 (ppc_elf_finish_dynamic_symbol): Likewise.
177 (ppc_elf_finish_dynamic_sections): Write PLTresolve without using
178 insn array since so many need rewriting.
179 * elf32-ppc.h (struct ppc_elf_params): Add plt_stub_align.
180 * elf64-ppc.c (GLINK_PLTRESOLVE_SIZE): Rename from
181 GLINK_CALL_STUB_SIZE. Add htab param and evaluate to size without
182 nops. Adjust all uses.
183 (ppc64_elf_get_synthetic_symtab): Don't use GLINK_CALL_STUB_SIZE
184 in glink_vma calculation.
185 (struct ppc_link_hash_table): Add global_entry section pointer.
186 (create_linkage_sections): Create separate section for global
187 entry stubs.
188 (PPC_LO, PPC_HI, PPC_HA): Move earlier.
189 (size_global_entry_stubs): Handle sizing for aligned stubs.
190 (ppc64_elf_size_dynamic_sections): Handle global_entry alloc,
191 and don't stash end of glink branch table in rawsize.
192 (ppc_build_one_stub): Rewrite stub size calculations.
193 (build_global_entry_stubs): Use new section.
194 (ppc64_elf_build_stubs): Don't pad __glink_PLTresolve with nops.
195 Build lazy link stubs out to end of section. Build global entry
196 stubs in new section.
197
616dcb87
NC
1982018-01-15 Nick Clifton <nickc@redhat.com>
199
200 * po/uk.po: Updated Ukranian translation.
201
3957a496
NC
2022018-01-13 Nick Clifton <nickc@redhat.com>
203
204 * po/bfd.pot: Regenerated.
205
769c7ea5
NC
2062018-01-13 Nick Clifton <nickc@redhat.com>
207
208 * version.m4: Bump version to 2.30.51
209 * configure: Regenerate.
210
faf766e3
NC
2112018-01-13 Nick Clifton <nickc@redhat.com>
212
213 2.30 branch created.
214
564e11c9
JW
2152018-01-12 Jens Widell <jl@opera.com>
216
217 * elf.c (setup_group): Optimize search for group by remembering
218 last found group and restarting search at that index.
219 * elf-bfd.h (struct elf_obj_tdata): Add group_search_offset field.
220
a78eea16
AM
2212018-01-12 Gunther Nikl <gnikl@users.sourceforge.net>
222
223 * aoutx.h (aout_link_check_ar_symbols): Remove default and handle
224 bfd_link_common_skip_none in switch.
225
87e79a65
AM
2262018-01-12 Alan Modra <amodra@gmail.com>
227
228 PR ld/22649
229 * elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Ignore dynamic
230 references on forced local symbols.
231
58807c48
VI
2322018-01-12 Vlad Ivanov <vlad@ivanov.email>
233
234 * elfxx-mips.c (_bfd_mips_elf_final_link): Notify user when
235 .reginfo section has wrong size.
236
2888249f
L
2372018-01-11 H.J. Lu <hongjiu.lu@intel.com>
238
239 PR ld/22393
240 * elf.c (_bfd_elf_map_sections_to_segments): When generating
241 separate code and read-only data LOAD segments, create a new
242 LOAD segment if the previous section contains text and the
243 current section doesn't or vice versa. Don't put a writable
244 section in a read-only segment if there is a RELRO segment.
245
d664fd41
L
2462018-01-11 H.J. Lu <hongjiu.lu@intel.com>
247
248 PR ld/22649
249 * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Ignore dynamic
250 references on forced local symbols.
251
8b6f4cd3
L
2522018-01-11 H.J. Lu <hongjiu.lu@intel.com>
253
254 PR ld/22677
255 * elflink.c (bfd_elf_gc_sections): Keep all PREINIT_ARRAY,
256 INIT_ARRAY as well as FINI_ARRAY sections for ld -r --gc-section.
257
6cef73f9
KLC
2582017-09-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
259
260 PR 22662
261 * elf32-nds32.c (nds32_elf_relax_loadstore): Fix a typographical error.
262
ddb2bbcf
JB
2632018-01-03 John Baldwin <jhb@FreeBSD.org>
264
265 * elf.c (elfcore_grok_freebsd_note): Handle
266 NT_FREEBSD_PROCSTAT_PROC, NT_FREEBSD_PROCSTAT_FILES, and
267 NT_FREEBSD_PROCSTAT_VMMAP.
268
219d1afa
AM
2692018-01-03 Alan Modra <amodra@gmail.com>
270
271 Update year range in copyright notice of all files.
272
1e563868 273For older changes see ChangeLog-2017
3499769a 274\f
1e563868 275Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
276
277Copying and distribution of this file, with or without modification,
278are permitted in any medium without royalty provided the copyright
279notice and this notice are preserved.
280
281Local Variables:
282mode: change-log
283left-margin: 8
284fill-column: 74
285version-control: never
286End:
This page took 0.152178 seconds and 4 git commands to generate.