Treat OP_F77_UNDETERMINED_ARGLIST as OP_FUNCALL
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
46d09186
NC
12018-02-06 Miloš Stojanović <milos.stojanovic@rt-rk.com>
2
3 PR 22789
4 * elfxx-mips.c (_bfd_mips_elf_find_nearest_line): If the dwarf
5 functions failed to find the function name, try the generic elf
6 find function instead.
7
8278e7ce
SDJ
82018-02-06 Sergio Durigan Junior <sergiodj@redhat.com>
9
10 * coff-rs6000.c (xcoff_write_archive_contents_old): Use
11 'memcpy' instead of 'strncpy' when writing the magic number.
12
64e234d4
NC
132018-02-06 Nick Clifton <nickc@redhat.com>
14
15 PR 22794
16 * opncls.c (bfd_get_debug_link_info_1): Check the size of the
17 section before attempting to read it in.
18 (bfd_get_alt_debug_link_info): Likewise.
19
422f3d3d
PC
202018-02-06 Paul Carroll <pcarroll@codesourcery.com>
21
22 * bfd/dwarf2.c (find_abstract_name): Modified to return file and
23 line information in addition to name, if they can be found.
24
279b2f94
RL
252018-02-05 Renlin Li <renlin.li@arm.com>
26
27 PR ld/22764
28 * elfnn-aarch64.c (elfNN_aarch64_check_relocs): Relax the
29 R_AARCH64_ABS32 and R_AARCH64_ABS16 for absolute symbol. Apply the
30 check for writeable section as well.
31
cd048363
L
322018-02-05 H.J. Lu <hongjiu.lu@intel.com>
33
34 PR ld/22782
35 * elf32-i386.c (elf_i386_check_relocs): Set got_referenced if
36 _GLOBAL_OFFSET_TABLE_ is referenced or GOT is needed to resolve
37 undefined weak symbol to 0.
38 * elf64-x86-64.c (elf_x86_64_check_relocs): Set got_referenced
39 if _GLOBAL_OFFSET_TABLE_ is referenced.
40 * elfxx-x86.c (_bfd_x86_elf_size_dynamic_sections): Check
41 got_referenced instead of ref_regular_nonweak. Remove the
42 unused _GLOBAL_OFFSET_TABLE_ from symbol table.
43 * elfxx-x86.h (elf_x86_link_hash_table): Add got_referenced.
44
e65b1a78
MR
452018-02-05 Maciej W. Rozycki <macro@mips.com>
46
47 * elfnn-riscv.c (_bfd_riscv_relax_pc): Use `memset' to
48 initialize `hi_reloc'.
49
2d6dda71
MR
502018-02-05 Maciej W. Rozycki <macro@mips.com>
51
52 * elfxx-mips.c (_bfd_mips_elf_section_processing): For
53 SHT_MIPS_REGINFO sections don't assert the correct size and
54 report an error instead.
55
75506100
MR
562018-02-05 Maciej W. Rozycki <macro@mips.com>
57
58 * elf.c (_bfd_elf_write_object_contents): Propagate a failure
59 status from `->elf_backend_section_processing'.
60
7f02625e
JW
612018-02-02 Jim Wilson <jimw@sifive.com>
62
63 PR ld/22756
64 * elfnn-riscv.c (riscv_relax_delete_bytes): New parameter link_info.
65 If link_info->wrap_hash, check for a duplicate symbol and ignore.
66 (_bfd_riscv_relax_call, bfd_riscv_relax_lui, _bfd_riscv_relax_tls_le):
67 Pass new argument to riscv_relax_delete_bytes.
68 (_bfd_riscv_relax_align, _bfd_riscv_relax_delete): Likewise. Remove
69 ATTRIBUTE_UNUSED from link_info parameter.
70
d830549d
AM
712018-02-02 Alan Modra <amodra@gmail.com>
72
73 * elf64-ppc.c (ppc64_elf_relocate_section): Don't relocate nops
74 emitted for toc sequence optimization. Set and use "howto" later.
75
e99955cd
SM
762018-02-01 Simon Marchi <simon.marchi@ericsson.com>
77
78 * elf64-ppc.c (ppc64_elf_archive_symbol_lookup): Avoid pointer
79 arithmetic on NULL pointer.
80 * elflink.c (_bfd_elf_archive_symbol_lookup,
81 elf_link_add_archive_symbols): Likewise.
82
bf3077a6
MM
832018-01-31 Michael Matz <matz@suse.de>
84
85 * elflink.c (bfd_elf_define_start_stop): Fix check of
86 def_dynamic.
87
823143c6
L
882018-01-31 H.J. Lu <hongjiu.lu@intel.com>
89
90 PR ld/21964
91 * elflink.c (bfd_elf_define_start_stop): Check if __start and
92 __stop symbols are referenced by shared objects.
93
76cb3a89
AM
942018-01-30 Alan Modra <amodra@gmail.com>
95
96 PR 22758
97 * elf.c (_bfd_elf_map_sections_to_segments): Don't start a new
98 segment when demand paged with lma on the same page. Test this
99 before load/non-load, executable/non-executable,
100 writable/non-writable tests and simplify. Delete bogus relro
101 condition in writable/non-writable test. Delete outdated
102 comment. Formatting.
103
36b8fda5
AM
1042018-01-30 Alan Modra <amodra@gmail.com>
105
106 * elflink.c (bfd_elf_define_start_stop): Make __start and __stop
107 symbols dynamic.
108
eb77f6a4
AM
1092018-01-29 Alan Modra <amodra@gmail.com>
110
111 PR 22741
112 * coffgen.c (coff_pointerize_aux): Ensure auxent tagndx is in
113 range before converting to a symbol table pointer.
114
7d73b4c8
NC
1152018-01-27 Nick Clifton <nickc@redhat.com>
116
117 * po/ru.po: Updated Russian translation.
118
32253bb7
AM
1192018-01-26 Alan Modra <amodra@gmail.com>
120
121 * elflink.c (bfd_elf_define_start_stop): Override symbols when
122 they are defined dynamically.
123
ba21f564
AM
1242018-01-26 Alan Modra <amodra@gmail.com>
125
126 * elf64-ppc.c (ppc64_elf_size_stubs): Iterate sizing when
127 .branch_lt changes size.
128
38e64b0e
AM
1292018-01-25 Alan Modra <amodra@gmail.com>
130
131 PR 22746
132 * elfcode.h (elf_object_p): Avoid integer overflow.
133
bb363086
EB
1342018-01-25 Eric Botcazou <ebotcazou@adacore.com>
135
136 PR ld/22727
137 * elfxx-sparc.c (_bfd_sparc_elf_check_relocs) <R_SPARC_TLS_GD_CALL>:
138 Do a mere lookup of the __tls_get_addr symbol instead of adding it.
139
140 Revert
141 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
142
143 PR ld/22263
144 * elfxx-sparc.c (sparc_elf_tls_transition): Replace
145 bfd_link_pic with !bfd_link_executable, !bfd_link_pic with
146 bfd_link_executable for TLS check.
147 (_bfd_sparc_elf_check_relocs): Likewise.
148 (allocate_dynrelocs): Likewise.
149 (_bfd_sparc_elf_relocate_section): Likewise.
150
1daf502a
RL
1512018-01-24 Renlin Li <renlin.li@arm.com>
152
153 * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Add support for
154 BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
155 BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
156 BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
157 BFD_RELOC_AARCH64_MOVW_PREL_G3.
158 * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
159 (_bfd_aarch64_elf_resolve_relocation): Likewise.
160
32247401
RL
1612018-01-24 Renlin Li <renlin.li@arm.com>
162
163 * reloc.c: Add BFD_RELOC_AARCH64_MOVW_PREL_G0,
164 BFD_RELOC_AARCH64_MOVW_PREL_G0_NC, BFD_RELOC_AARCH64_MOVW_PREL_G1,
165 BFD_RELOC_AARCH64_MOVW_PREL_G1_NC, BFD_RELOC_AARCH64_MOVW_PREL_G2,
166 BFD_RELOC_AARCH64_MOVW_PREL_G2_NC, BFD_RELOC_AARCH64_MOVW_PREL_G3.
167 * elfnn-aarch64.c (elfNN_aarch64_howto_table): Add entries for
168 BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
169 BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
170 BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
171 BFD_RELOC_AARCH64_MOVW_PREL_G3.
172 * bfd-in2.h: Regenerate.
173 * libbfd.h: Regenerate.
174
1c5e4ee9
MR
1752018-01-23 Maciej W. Rozycki <macro@mips.com>
176
177 * elfxx-mips.c (_bfd_mips_elf_final_link): Update a stale
178 `mips_elf32_section_processing' comment reference.
179
8a1b824a
L
1802018-01-20 H.J. Lu <hongjiu.lu@intel.com>
181
182 PR ld/22721
183 * elfxx-x86.c (_bfd_x86_elf_link_check_relocs): Check the
184 versioned __tls_get_addr symbol.
185
ee3fbc1e
NC
1862018-01-19 Nick Clifton <nickc@redhat.com>
187
188 * po/fr.po: Updated French translation.
189
691d2e9a
AM
1902018-01-18 Alan Modra <amodra@gmail.com>
191
192 * elf32-ppc.c (ppc_elf_create_glink): Correct alignment of .glink.
193 * elf64-ppc.c (ppc64_elf_size_stubs): Handle negative plt_stub_align.
194 (ppc64_elf_build_stubs): Likewise.
195
4bfce128
NC
1962018-01-17 Nick Clifton <nickc@redhat.com>
197
198 * po/ru.po: Updated Russian translation.
199 * po/uk/po: Updated Ukranian translation.
200
c75bc4f7
AM
2012018-01-17 Alan Modra <amodra@gmail.com>
202
203 * elf64-ppc.c (ppc64_elf_build_stubs): Silence gcc warning.
204
1be5d8d3
AM
2052018-01-17 Alan Modra <amodra@gmail.com>
206
207 * elf32-ppc.c (GLINK_ENTRY_SIZE): Handle speculation barrier.
208 (CRSETEQ, BEQCTRM): Define.
209 (is_nonpic_glink_stub): Don't check bctr.
210 (ppc_elf_link_hash_table_create): Init new ppc_elf_params field.
211 (ppc_elf_relax_section): Size speculation barrier.
212 (output_bctr): New function.
213 (write_glink_stub): Use output_bctr.
214 (ppc_elf_relocate_section): Use output_bctr for long branch stub.
215 (ppc_elf_finish_dynamic_symbol): Likewise.
216 (ppc_elf_finish_dynamic_sections): Use output_bctr.
217 * elf32-ppc.h (struct ppc_elf_params): Add speculate_indirect_jumps.
218 * elf64-ppc.c (CRSETEQ, BEQCTRM, BEQCTRLM): Define.
219 (GLINK_PLTRESOLVE_SIZE): Size speculation barrier.
220 (size_global_entry_stubs): Handle speculation barrier sizing.
221 (plt_stub_size): Likewise.
222 (output_bctr): New function.
223 (build_plt_stub, build_tls_get_addr_stub): Output speculation
224 barrier.
225 (ppc_build_one_stub): Likewise for ppc_stub_plt_branch.
226 (ppc_size_one_stub): Size speculation barrier in ppc_stub_plt_branch.
227 (build_global_entry_stubs): Output speculation barrier.
228 (ppc64_elf_build_stubs): Likewise in __glink_PLTresolve stub.
229 * elf64-ppc.h (struct ppc64_elf_params): Add speculate_indirect_jumps.
230
9e390558
AM
2312018-01-17 Alan Modra <amodra@gmail.com>
232
233 * elf32-ppc.c (GLINK_ENTRY_SIZE): Add parameters, handle
234 __tls_get_addr_opt, and alignment sizing.
235 (TLS_GET_ADDR_GLINK_SIZE): Delete.
236 (is_nonpic_glink_stub): Don't use GLINK_ENTRY_SIZE.
237 (ppc_elf_get_synthetic_symtab): Recognize stubs spaced at 4, 6,
238 or 8 insns.
239 (ppc_elf_link_hash_table_create): Init new ppc_elf_params field.
240 (allocate_dynrelocs): Use new GLINK_ENTRY_SIZE.
241 (ppc_elf_size_dynamic_sections): Likewise. Size branch table
242 by PLT reloc count.
243 (write_glink_stub): Handle __tls_get_addr_opt stub.
244 Pad out to size given by GLINK_ENTRY_SIZE.
245 (ppc_elf_relocate_section): Adjust write_glink_stub call.
246 (ppc_elf_finish_dynamic_symbol): Likewise.
247 (ppc_elf_finish_dynamic_sections): Write PLTresolve without using
248 insn array since so many need rewriting.
249 * elf32-ppc.h (struct ppc_elf_params): Add plt_stub_align.
250 * elf64-ppc.c (GLINK_PLTRESOLVE_SIZE): Rename from
251 GLINK_CALL_STUB_SIZE. Add htab param and evaluate to size without
252 nops. Adjust all uses.
253 (ppc64_elf_get_synthetic_symtab): Don't use GLINK_CALL_STUB_SIZE
254 in glink_vma calculation.
255 (struct ppc_link_hash_table): Add global_entry section pointer.
256 (create_linkage_sections): Create separate section for global
257 entry stubs.
258 (PPC_LO, PPC_HI, PPC_HA): Move earlier.
259 (size_global_entry_stubs): Handle sizing for aligned stubs.
260 (ppc64_elf_size_dynamic_sections): Handle global_entry alloc,
261 and don't stash end of glink branch table in rawsize.
262 (ppc_build_one_stub): Rewrite stub size calculations.
263 (build_global_entry_stubs): Use new section.
264 (ppc64_elf_build_stubs): Don't pad __glink_PLTresolve with nops.
265 Build lazy link stubs out to end of section. Build global entry
266 stubs in new section.
267
616dcb87
NC
2682018-01-15 Nick Clifton <nickc@redhat.com>
269
270 * po/uk.po: Updated Ukranian translation.
271
3957a496
NC
2722018-01-13 Nick Clifton <nickc@redhat.com>
273
274 * po/bfd.pot: Regenerated.
275
769c7ea5
NC
2762018-01-13 Nick Clifton <nickc@redhat.com>
277
278 * version.m4: Bump version to 2.30.51
279 * configure: Regenerate.
280
faf766e3
NC
2812018-01-13 Nick Clifton <nickc@redhat.com>
282
283 2.30 branch created.
284
564e11c9
JW
2852018-01-12 Jens Widell <jl@opera.com>
286
287 * elf.c (setup_group): Optimize search for group by remembering
288 last found group and restarting search at that index.
289 * elf-bfd.h (struct elf_obj_tdata): Add group_search_offset field.
290
a78eea16
AM
2912018-01-12 Gunther Nikl <gnikl@users.sourceforge.net>
292
293 * aoutx.h (aout_link_check_ar_symbols): Remove default and handle
294 bfd_link_common_skip_none in switch.
295
87e79a65
AM
2962018-01-12 Alan Modra <amodra@gmail.com>
297
298 PR ld/22649
299 * elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Ignore dynamic
300 references on forced local symbols.
301
58807c48
VI
3022018-01-12 Vlad Ivanov <vlad@ivanov.email>
303
304 * elfxx-mips.c (_bfd_mips_elf_final_link): Notify user when
305 .reginfo section has wrong size.
306
2888249f
L
3072018-01-11 H.J. Lu <hongjiu.lu@intel.com>
308
309 PR ld/22393
310 * elf.c (_bfd_elf_map_sections_to_segments): When generating
311 separate code and read-only data LOAD segments, create a new
312 LOAD segment if the previous section contains text and the
313 current section doesn't or vice versa. Don't put a writable
314 section in a read-only segment if there is a RELRO segment.
315
d664fd41
L
3162018-01-11 H.J. Lu <hongjiu.lu@intel.com>
317
318 PR ld/22649
319 * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Ignore dynamic
320 references on forced local symbols.
321
8b6f4cd3
L
3222018-01-11 H.J. Lu <hongjiu.lu@intel.com>
323
324 PR ld/22677
325 * elflink.c (bfd_elf_gc_sections): Keep all PREINIT_ARRAY,
326 INIT_ARRAY as well as FINI_ARRAY sections for ld -r --gc-section.
327
6cef73f9
KLC
3282017-09-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
329
330 PR 22662
331 * elf32-nds32.c (nds32_elf_relax_loadstore): Fix a typographical error.
332
ddb2bbcf
JB
3332018-01-03 John Baldwin <jhb@FreeBSD.org>
334
335 * elf.c (elfcore_grok_freebsd_note): Handle
336 NT_FREEBSD_PROCSTAT_PROC, NT_FREEBSD_PROCSTAT_FILES, and
337 NT_FREEBSD_PROCSTAT_VMMAP.
338
219d1afa
AM
3392018-01-03 Alan Modra <amodra@gmail.com>
340
341 Update year range in copyright notice of all files.
342
1e563868 343For older changes see ChangeLog-2017
3499769a 344\f
1e563868 345Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
346
347Copying and distribution of this file, with or without modification,
348are permitted in any medium without royalty provided the copyright
349notice and this notice are preserved.
350
351Local Variables:
352mode: change-log
353left-margin: 8
354fill-column: 74
355version-control: never
356End:
This page took 0.154715 seconds and 4 git commands to generate.