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