Begone elf_linker
[external/binutils.git] / bfd / ChangeLog
1 2019-07-26  Alan Modra  <amodra@gmail.com>
2
3         * elf-bfd.h (struct output_elf_obj_tdata): Delete "linker" field.
4         (elf_linker): Don't define.
5         * elflink.c (bfd_elf_final_link): Don't set elf_linker.
6
7 2019-07-25  YunQiang Su  <syq@debian.org>
8
9         PR 24832
10         * elfxx-mips.c (mips_set_isa_flags): Default to MIPS 3 for 64-bit
11         mips inputs.
12
13 2019-07-24  Claudiu Zissulescu  <claziss@synopsys.com>
14
15         * elf32-arc.c (bfd_get_32_me): Add a small description, fix
16         formating.
17         (reloc_type_to_name): Fix formating.
18         (arc_elf_object_p): Likewise.
19         (debug_arc_reloc): Likewise.
20         (arc_do_relocation): Likewise.
21
22 2019-07-24  Claudiu Zissulescu  <claziss@synopsys.com>
23
24         * elf32-arc.c (bfd_get_32_me): New function.
25         (bfd_put_32_me): Likewise.
26         (arc_elf_relax_section): Likewise.
27         (bfd_elf32_bfd_relax_section): Define.
28
29 2019-07-24  Alan Modra  <amodra@gmail.com>
30
31         * elf-bfd.h (struct elf_backend_data): Return bfd_boolean from
32         elf_backend_final_write_processing, don't pass linker arg.
33         (_bfd_elf_final_write_processing): Update prototype.
34         * elf.c (_bfd_elf_write_object_contents): Adjust call.
35         (_bfd_elf_final_write_processing): Return error on incompatible
36         OSABI and has_gnu_osabi.  Remove linker arg.
37         * elf-nacl.h (nacl_final_write_processing): Update prototype.
38         * elf-vxworks.h (elf_vxworks_final_write_processing): Likewise.
39         * elfxx-mips.h (_bfd_mips_final_write_processing): Likewise.
40         (_bfd_mips_elf_final_write_processing): Likewise.
41         * elf-hppa.h (elf_hppa_final_write_processing): Return status
42         and remove linker arg.
43         * elf-m10300.c (_bfd_mn10300_elf_final_write_processing): Likewise.
44         * elf-nacl.c (nacl_final_write_processing): Likewise.
45         * elf-vxworks.c (elf_vxworks_final_write_processing): Likewise.
46         * elf32-arc.c (arc_elf_final_write_processing): Likewise.
47         * elf32-arm.c (arm_final_write_processing): Likewise.
48         (elf32_arm_final_write_processing): Likewise.
49         (elf32_arm_nacl_final_write_processing): Likewise.
50         (elf32_arm_vxworks_final_write_processing): Likewise.
51         * elf32-avr.c (bfd_elf_avr_final_write_processing): Likewise.
52         * elf32-bfin.c (elf32_bfin_final_write_processing): Likewise.
53         * elf32-cr16.c (_bfd_cr16_elf_final_write_processing): Likewise.
54         * elf32-cris.c (cris_elf_final_write_processing): Likewise.
55         * elf32-h8300.c (elf32_h8_final_write_processing): Likewise.
56         * elf32-lm32.c (lm32_elf_final_write_processing): Likewise.
57         * elf32-m32r.c (m32r_elf_final_write_processing): Likewise.
58         * elf32-m68k.c (elf_m68k_final_write_processing): Likewise.
59         * elf32-mips.c (mips_vxworks_final_write_processing): Likewise.
60         * elf32-msp430.c (bfd_elf_msp430_final_write_processing): Likewise.
61         * elf32-nds32.c (nds32_elf_final_write_processing): Likewise.
62         * elf32-or1k.c (or1k_elf_final_write_processing): Likewise.
63         * elf32-pj.c (pj_elf_final_write_processing): Likewise.
64         * elf32-ppc.c (ppc_final_write_processing): Likewise.
65         (ppc_elf_final_write_processing): Likewise.
66         (ppc_elf_vxworks_final_write_processing): Likewise.
67         * elf32-sparc.c (sparc_final_write_processing): Likewise.
68         (elf32_sparc_final_write_processing): Likewise.
69         (elf32_sparc_vxworks_final_write_processing): Likewise.
70         * elf32-v850.c (v850_elf_final_write_processing): Likewise.
71         * elf32-xc16x.c (elf32_xc16x_final_write_processing): Likewise.
72         * elf32-xtensa.c (elf_xtensa_final_write_processing): Likewise.
73         * elf64-ia64-vms.c (elf64_vms_final_write_processing): Likewise.
74         * elfnn-ia64.c (elfNN_ia64_final_write_processing): Likewise.
75         * elfxx-mips.c (_bfd_mips_final_write_processing): Likewise.
76         (_bfd_mips_elf_final_write_processing): Likewise.
77
78 2019-07-24  Alan Modra  <amodra@gmail.com>
79
80         * elf-vxworks.c (elf_vxworks_final_write_processing): Don't return
81         early.
82         * elf32-arc.c (arc_elf_final_write_processing): Likewise.
83         * elf32-xtensa.c (elf_xtensa_final_write_processing): Likewise.
84
85 2019-07-24  Alan Modra  <amodra@gmail.com>
86
87         * elf32-visium.c (visium_elf_post_process_headers): Don't set
88         EI_OSABI header byte here.
89         (ELF_OSABI): Define.
90
91 2019-07-23  Alan Modra  <amodra@gmail.com>
92
93         * elf-bfd.h (enum elf_gnu_osabi): Add elf_gnu_osabi_mbind.
94         * elf.c (_bfd_elf_make_section_from_shdr): Set elf_gnu_osabi_mbind.
95         (get_program_header_size): Formatting.  Only test SH_GNU_MBIND
96         when elf_gnu_osabi_mbind is set.
97         (_bfd_elf_map_sections_to_segments): Likewise.
98         (_bfd_elf_init_private_section_data): Likewise.
99         (_bfd_elf_final_write_processing): Update comment.
100         * elf64-hppa.c (elf64_hppa_special_sections): Move .tbss entry.
101         (elf_backend_special_sections): Define without .tbss for linux.
102
103 2019-07-23  Alan Modra  <amodra@gmail.com>
104
105         * elf-bfd.h (enum elf_gnu_osabi): Rename from elf_gnu_symbols.
106         Remove none, any, all enums.
107         (struct elf_obj_tdata): Rename has_gnu_symbols field to has_gnu_osabi.
108         (_bfd_elf_final_write_processing): Declare.
109         * elf.c (_bfd_elf_write_object_contents): Unconditionally call
110         elf_backend_final_write_processing.
111         (_bfd_elf_post_process_headers): Move body of function to..
112         (_bfd_elf_final_write_processing): ..here, but set EI_OSABI byte
113         only when not already set.  Adjust for rename.
114         * elfxx-target.h (elf_backend_final_write_processing): Default to
115         _bfd_elf_final_write_processing.
116         * elf-hppa.h (elf_hppa_final_write_processing): Call
117         _bfd_elf_final_write_processing.
118         * elf-m10300.c (_bfd_mn10300_elf_final_write_processing): Likewise.
119         * elf-nacl.c (nacl_final_write_processing): Likewise.
120         * elf-vxworks.c (elf_vxworks_final_write_processing): Likewise.
121         * elf32-arc.c (arc_elf_final_write_processing): Likewise.
122         * elf32-avr.c (bfd_elf_avr_final_write_processing): Likewise.
123         * elf32-bfin.c (elf32_bfin_final_write_processing): Likewise.
124         * elf32-cr16.c (_bfd_cr16_elf_final_write_processing): Likewise.
125         * elf32-cris.c (cris_elf_final_write_processing): Likewise.
126         * elf32-h8300.c (elf32_h8_final_write_processing): Likewise.
127         * elf32-lm32.c (lm32_elf_final_write_processing): Likewise.
128         * elf32-m32r.c (m32r_elf_final_write_processing): Likewise.
129         * elf32-m68k.c (elf_m68k_final_write_processing): Likewise.
130         * elf32-msp430.c (bfd_elf_msp430_final_write_processing): Likewise.
131         * elf32-nds32.c (nds32_elf_final_write_processing): Likewise.
132         * elf32-or1k.c (or1k_elf_final_write_processing): Likewise.
133         * elf32-pj.c (pj_elf_final_write_processing): Likewise.
134         * elf32-v850.c (v850_elf_final_write_processing): Likewise.
135         * elf32-xc16x.c (elf32_xc16x_final_write_processing): Likewise.
136         * elf32-xtensa.c (elf_xtensa_final_write_processing): Likewise.
137         * elf64-ia64-vms.c (elf64_vms_final_write_processing): Likewise.
138         * elfnn-ia64.c (elfNN_ia64_final_write_processing): Likewise.
139         * elf32-arm.c (arm_final_write_processing): Split out from..
140         (elf32_arm_final_write_processing): ..here.  Call
141         _bfd_elf_final_write_processing.
142         (elf32_arm_nacl_final_write_processing): Adjust.
143         * elfxx-mips.c (_bfd_mips_final_write_processing): Split out from..
144         (_bfd_mips_elf_final_write_processing): ..here.  Call
145         _bfd_elf_final_write_processing.
146         * elfxx-mips.h (_bfd_mips_final_write_processing): Declare.
147         * elf32-mips.c (mips_vxworks_final_write_processing): Adjust.
148         * elf32-ppc.c (ppc_final_write_processing): Split out from..
149         (ppc_elf_final_write_processing): ..here.  Call
150         _bfd_elf_final_write_processing.
151         (ppc_elf_vxworks_final_write_processing): Adjust.
152         * elf32-sparc.c (sparc_final_write_processing): Split out from..
153         (elf32_sparc_final_write_processing): ..here.  Call
154         _bfd_elf_final_write_processing.
155         (elf32_sparc_vxworks_final_write_processing): Adjust.
156         * elf32-d10v.c (elf_backend_final_write_processing): Don't define.
157         * elf32-d30v.c (elf_backend_final_write_processing): Don't define.
158         * elf32-m68hc11.c (elf_backend_final_write_processing): Don't define.
159         * elf32-m68hc12.c (elf_backend_final_write_processing): Don't define.
160         * elf32-s12z.c (elf_backend_final_write_processing): Don't define.
161         * elf32-i386.c (elf_i386_check_relocs): Don't set has_gnu_symbols.
162         * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
163         * elflink.c (elf_link_add_object_symbols): Likewise.
164         (elf_link_output_symstrtab): Set has_gnu_osabi for symbols here
165         instead.
166
167 2019-07-23  Omar Majid  <omajid@redhat.com>
168
169         * coffcode.h (coff_set_arch_mach_hook): Handle I386_APPLE_MAGIC,
170         I386_FREEBSD_MAGIC, I386_LINUX_MAGIC, I386_NETBSD_MAGIC,
171         AMD64_APPLE_MAGIC, AMD64_FREEBSD_MAGIC, AMD64_LINUX_MAGIC,
172         AMD64_NETBSD_MAGIC.
173         * peXXigen.c: Add comment about source of .NET magic numbers.
174
175 2019-07-19  Alan Modra  <amodra@gmail.com>
176
177         * reloc.c (BFD_RELOC_PPC64_TPREL34, BFD_RELOC_PPC64_DTPREL34),
178         (BFD_RELOC_PPC64_GOT_TLSGD34, BFD_RELOC_PPC64_GOT_TLSLD34),
179         (BFD_RELOC_PPC64_GOT_TPREL34, BFD_RELOC_PPC64_GOT_DTPREL34),
180         (BFD_RELOC_PPC64_TLS_PCREL): New pcrel tls relocs.
181         * elf64-ppc.c (ppc64_elf_howto_raw): Add howtos for pcrel tls relocs.
182         (ppc64_elf_reloc_type_lookup): Translate pcrel tls relocs.
183         (must_be_dyn_reloc, dec_dynrel_count): Add R_PPC64_TPREL64.
184         (ppc64_elf_check_relocs): Support pcrel tls relocs.
185         (ppc64_elf_tls_optimize, ppc64_elf_relocate_section): Likewise.
186         * bfd-in2.h: Regenerate.
187         * libbfd.h: Regenerate.
188
189 2019-07-18  Alan Modra  <amodra@gmail.com>
190
191         * elf64-ppc.c (ppc64_elf_relocate_section): Don't bother selecting
192         a TLS section symbol for edited relocs.  Tighten TLS symbol/reloc
193         match test.
194
195 2019-07-18  Alan Modra  <amodra@gmail.com>
196
197         * elf64-ppc.c (TLS_EXPLICIT): Define as 256.
198         (ppc64_elf_check_relocs): Don't store TLS_EXPLICIT even if char
199         is more than 8 bits.
200         (ppc64_elf_tls_optimize): Likewise.  Make tls_set, tls_clear, and
201         tls_type vars unsigned int.
202         (ppc64_elf_relocate_section): Use r_type rather than TLS_EXPLICIT
203         to select r_type edit.
204
205 2019-07-18  Alan Modra  <amodra@gmail.com>
206
207         * elf32-ppc.c (TLS_GDIE): Rename from TLS_TPRELGD throughout file.
208         Correct comment.
209         * elf64-ppc.c (TLS_GDIE): Likewise.
210
211 2019-07-18  Alan Modra  <amodra@gmail.com>
212
213         * elf64-ppc.c (ppc64_elf_tls_optimize): Correct test for allowed
214         range of tp-relative offsets.
215
216 2019-07-15  Alan Modra  <amodra@gmail.com>
217
218         * elflink.c (_bfd_elf_fix_symbol_flags): If the def for an
219         alias is no longer bfd_link_hash_defined, clear the alias.
220
221 2019-07-13  Alan Modra  <amodra@gmail.com>
222
223         * elflink.c (_bfd_elf_omit_section_dynsym_default): Don't keep
224         tls_sec.
225         (_bfd_elf_init_1_index_section): Prefer not using TLS sections.
226         (_bfd_elf_init_2_index_sections): Likewise.
227         * elf64-ppc.c (ppc64_elf_relocate_section): When emitting dynamic
228         relocations for local TLS symbols, use STN_UNDEF as the relocation
229         symbol.
230         * elf32-ppc.c (ppc_elf_relocate_section): Likewise, and don't
231         leave TLS symbol value in the addend.
232
233 2019-07-08  Alan Modra  <amodra@gmail.com>
234
235         PR 24785
236         * elf32-ppc.c (_bfd_elf_ppc_set_arch): Sanity check .PPC.EMB.apuinfo
237         size before reading first word.
238
239 2019-07-02  Nick Clifton  <nickc@redhat.com>
240
241         PR 24717
242         * elf.c (is_debuginfo_file): New function.
243         (assign_file_positions_for_non_load_sections): Do not warn about
244         allocated sections outside of loadable segments if they are found
245         in a debuginfo file.
246         * elf-bfd.h (is_debuginfo_file): Prototype.
247
248 2019-07-02  Nick Clifton  <nickc@redhat.com>
249
250         PR 24753
251         * compress.c (bfd_get_full_section_contents): Do not complain
252         about linker created sections that are larger than the file size.
253
254 2019-07-02  Christophe Lyon  <christophe.lyon@linaro.org>
255
256         * bfd/elf32-arm.c (CMSE_STUB_NAME): New define.
257         (elf32_arm_get_stub_entry): Do not try to emit long-branch stubs
258         for CMSE stubs.
259         (arm_dedicated_stub_output_section_name): Use CMSE_STUB_NAME.
260
261 2019-07-02  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
262
263         * elf32-arm.c (elf32_arm_gc_mark_extra_sections): Mark debug
264         sections when .text section contain secure entry functions
265         is marked.
266
267 2019-07-01  Nick Clifton  <nickc@redhat.com>
268
269         PR 23839
270         * elf32-arm.c (elf32_arm_update_relocs): Do not include the
271         section VMA in the offset used to update exidx relocs.
272
273 2019-06-28  Nick Clifton  <nickc@redhat.com>
274
275         PR 24708
276         * elf.c (_bfd_elf_slurp_version_tables): Check for an excessively
277         large version reference section.
278         * compress.c (bfd_get_full_section_contents): Check for an
279         uncompressed section whose size is larger than the file size.
280
281 2019-06-28  Alan Modra  <amodra@gmail.com>
282
283         * format.c (bfd_check_format_matches): Don't match plugin target
284         if another target matches.  Expand comment.
285         * targets.c (_bfd_target_vector): Move plugin_vec after all other
286         non-corefile targets, outside !SELECT_VECS.
287         * config.bfd: Don't handle targ=plugin here.
288         * configure.ac: Don't add plugin to enable_targets or handle in
289         target loop setting selvecs and other target vars.
290         * configure: Regenerate.
291
292 2019-06-26  Nick Clifton  <nickc@redhat.com>
293
294         PR 24703
295         * mach-o-arm.c (bfd_mach_o_arm_canonicalize_one_reloc): Add error
296         messages for failures.
297         * mach-o.c (bfd_mach_o_canonicalize_relocs): Set an bfd error code
298         if returning an error value.
299
300 2019-06-25  Jan Beulich  <jbeulich@suse.com>
301
302         * elf-properties.c (elf_find_and_remove_property): Rename last
303         parameter. Mention it in comment.
304
305 2019-06-24  Ilia Diachkov  <ilia.diachkov@optimitech.com>
306
307         * elfnn-riscv.c (_bfd_riscv_relax_lui): Delete early exit when
308         SEC_MERGE or SEC_CODE flags are set.
309         (_bfd_riscv_relax_section): New local symtype.  Set sym_sec and
310         symtype consistently.  Don't include sec_addr (sym_sec) in symval.
311         Add check for SEC_INFO_TYPE_MERGE and call _bfd_merged_section_offset.
312         Add sec_addr (sym_sec) after handling merge sections.
313
314 2019-06-24  H.J. Lu  <hongjiu.lu@intel.com>
315
316         PR ld/24721
317         * elf-properties.c (elf_merge_gnu_property_list): Remove the
318         property after reporting property removal.
319
320 2019-06-23  Alan Modra  <amodra@gmail.com>
321
322         PR 24704
323         * elf64-ppc.c (R_PPC64_GOT16_DS): Don't set has_gotrel.
324         (ppc64_elf_edit_toc): Don't remove R_PPC64_GOT16_DS got entries.
325         Reduce range of offsets allowed for other GOT relocs.
326
327 2019-06-23  Alan Modra  <amodra@gmail.com>
328
329         PR 24689
330         * elfcode.h (elf_object_p): Warning fix.
331
332 2019-06-21  Alan Modra  <amodra@gmail.com>
333
334         PR 24689
335         * elfcode.h (elf_object_p): Check type of e_shstrndx section.
336
337 2019-06-19  Alan Modra  <amodra@gmail.com>
338
339         PR 24697
340         * elf32-ppc.c (ppc_elf_relocate_section): Don't read insn for
341         R_PPC_EMB_RELSDA.  Mask low bit of R_PPC_EMB_SDA21 r_offset.
342
343 2019-06-19  Alan Modra  <amodra@gmail.com>
344
345         * elf64-ppc.c (ppc64_elf_inline_plt): Correct st_other test for
346         functions that require r2 valid to use local entry.
347         (ppc64_elf_size_stubs, ppc64_elf_relocate_section): Likewise.
348
349 2019-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
350
351         * elfnn-aarch64.c (elfNN_aarch64_allocate_local_dynrelocs): Remove.
352         (elfNN_aarch64_size_dynamic_sections): Remove loc_hash_table traversal
353         with elfNN_aarch64_allocate_local_dynrelocs.
354
355 2019-06-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
356
357         * elfnn-aarch64.c: Enable MOVW_PREL relocs for ELF32.
358
359 2019-06-14  Alan Modra  <amodra@gmail.com>
360
361         * Makefile.in: Regenerate.
362         * configure: Regenerate.
363
364 2019-06-14  Alan Modra  <amodra@gmail.com>
365
366         * elf64-ppc.c: Fix comments involving paddi.
367
368 2019-06-12  Adam Lackorzymski  <adam@os.inf.tu-dresden.de>
369
370         PR 24643
371         * elf32-arm.c (arm_elf_find_function): Fail if the symol table is
372         absent, or the bfd is not in the ELF formart.
373         * elfnn-aarch64.c (aarch64_elf_find_function): Likewise.
374
375 2019-06-10  Christos Zoulas  <christos@zoulas.com>
376
377         PR 24650
378         * elf.c (elfcore_make_auxv_note_section): New function.
379         (elfcore_grok_note): Use it.
380         (elfcore_grok_freebsd_note): Likewise.
381         (elfcore_grok_openbsd_note): Likewise.
382         (elfcore_grok_netbsd_note): Likewise.  Plus add support for
383         NT_NETBSDCORE_AUXV notes.
384
385 2019-06-06  Sudakshina Das  <sudi.das@arm.com>
386
387         * elfxx-aarch64.c (_bfd_aarch64_elf_link_setup_gnu_properties): Set
388         alignment of the new gnu property section.
389
390 2019-06-06  Sudakshina Das  <sudi.das@arm.com>
391
392         * bfd-in.h: Change comment.
393         * bfd-in2.h: Regenerate.
394         * elfnn-aarch64.c (elfNN_aarch64_merge_gnu_properties): Update warning.
395         * elfxx-aarch64.c (_bfd_aarch64_elf_link_setup_gnu_properties):
396         Likwise.
397
398 2019-05-28  Faraz Shahbazker  <fshahbazker@wavecomp.com>
399
400         * elfxx-mips.c (mips_elf_calculate_relocation) <R_MIPS_PCHI16>:
401         Remove overflow check.
402
403 2019-05-28  Alan Modra  <amodra@gmail.com>
404
405         PR 24596
406         * cofflink.c (coff_link_check_archive_element): Don't assume
407         element is a coff object file after calling add_archive_element.
408
409 2019-05-28  Alan Modra  <amodra@gmail.com>
410
411         PR 24596
412         * elf32-microblaze.c (microblaze_elf_finish_dynamic_sections): Don't
413         attempt to set sh_entsize for excluded PLT section.
414
415 2019-05-28  Alan Modra  <amodra@gmail.com>
416
417         PR 24596
418         * elf64-alpha.c (elf64_alpha_relocate_section): Don't attempt
419         to emit R_ALPHA_GOTTPREL in PIEs, for which no space is
420         allocated in alpha_dynamic_entries_for_reloc.
421
422 2019-05-28  Alan Modra  <amodra@gmail.com>
423
424         PR 24596
425         * elf32-lm32.c (lm32_elf_finish_dynamic_sections): Don't segfault
426         on NULL output_section.
427         * elflink.c (elf_final_link_free): Don't free -1 symshndxbuf.
428
429 2019-05-28  Alan Modra  <amodra@gmail.com>
430
431         PR 24596
432         * elf32-m68k.c (elf_m68k_get_got_entry): Don't create a new
433         entry when MUST_FIND.  Abort when MUST_FIND not found.
434         (elf_m68k_get_bfd2got_entry): Likewise.
435         (elf_m68k_relocate_section): Remove now useless assert.
436
437 2019-05-28  Alan Modra  <amodra@gmail.com>
438
439         PR 24596
440         * elf64-hppa.c (elf64_hppa_finalize_dynreloc): Get the output bfd
441         from bfd_link_info, not an output section owner.
442         (elf64_hppa_finish_dynamic_symbol, elf64_hppa_finalize_opd): Likewise.
443         (elf_hppa_final_link_relocate): Likewise.
444
445 2019-05-28  Alan Modra  <amodra@gmail.com>
446
447         PR 24596
448         * aout-tic30.c (MY_bfd_final_link): Don't segfault on missing
449         create_object_symbols_section, obj_textsec, obj_datasec or
450         obj_bsssec.  Fix other errors in placement.
451         * config.bfd: Obsolete tic30-aout.
452
453 2019-05-28  Alan Modra  <amodra@gmail.com>
454
455         PR 24596
456         * dwarf2.c (save_section_vma, section_vma_same): Check for NULL
457         end of section list as well as section_count.
458         * xcofflink.c (xcoff_link_add_symbols): Fix temporarily changed
459         section list before returning error.
460
461 2019-05-27  Alan Modra  <amodra@gmail.com>
462
463         * elf.c (bfd_elf_set_group_contents): Exit on zero size section.
464
465 2019-05-27  Alan Modra  <amodra@gmail.com>
466
467         PR 24596
468         * linker.c (_bfd_generic_link_output_symbols): Heed BSF_KEEP.
469
470 2019-05-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
471
472         * elfnn-aarch64.c (elfNN_aarch64_merge_symbol_attribute): New function.
473         (struct elf_aarch64_link_hash_table): Add variant_pcs member.
474         (elfNN_aarch64_allocate_dynrelocs): Update variant_pcs.
475         (elfNN_aarch64_size_dynamic_sections): Add DT_AARCH64_VARIANT_PCS.
476         (elf_backend_merge_symbol_attribute): Define.
477
478 2019-05-24  Alan Modra  <amodra@gmail.com>
479
480         * po/SRC-POTFILES.in: Regenerate.
481
482 2019-05-24  Alan Modra  <amodra@gmail.com>
483
484         * elf64-ppc.c: Comment on powerxx _notoc stub variants.
485         (LI_R11_0, LIS_R11, ORI_R11_R11_0, SLDI_R11_R11_34): Define.
486         (PADDI_R12_PC, PLD_R12_PC, D34, HA34): Define.
487         (struct ppc_link_hash_table): Add powerxx_stubs.
488         (ppc64_elf_check_relocs): Set powerxx_stubs.
489         (build_powerxx_offset, size_powerxx_offset),
490         (num_relocs_for_powerxx_offset),
491         (emit_relocs_for_powerxx_offset): New functions.
492         (plt_stub_size): Size powerxx stubs.
493         (ppc_build_one_stub): Emit powerxx stubs.
494         (ppc_size_one_stub): Size powerxx stubs.  Omit .eh_frame for
495         powerxx stubs.
496
497 2019-05-24  Alan Modra  <amodra@gmail.com>
498
499         * elf64-ppc.c (ppc64_elf_check_relocs): Set has_gotrel for
500         R_PPC64_GOT_PCREL34.
501         (xlate_pcrel_opt): New function.
502         (ppc64_elf_edit_toc): Handle R_PPC64_GOT_PCREL34.
503         (ppc64_elf_relocate_section): Edit GOT indirect to GOT relative
504         for R_PPC64_GOT_PCREL34.  Implement R_PPC64_PCREL_OPT optimisation.
505
506 2019-05-24  Alan Modra  <amodra@gmail.com>
507
508         * reloc.c (BFD_RELOC_PPC64_D34, BFD_RELOC_PPC64_D34_LO),
509         (BFD_RELOC_PPC64_D34_HI30, BFD_RELOC_PPC64_D34_HA30),
510         (BFD_RELOC_PPC64_PCREL34, BFD_RELOC_PPC64_GOT_PCREL34),
511         (BFD_RELOC_PPC64_PLT_PCREL34),
512         (BFD_RELOC_PPC64_ADDR16_HIGHER34, BFD_RELOC_PPC64_ADDR16_HIGHERA34),
513         (BFD_RELOC_PPC64_ADDR16_HIGHEST34, BFD_RELOC_PPC64_ADDR16_HIGHESTA34),
514         (BFD_RELOC_PPC64_REL16_HIGHER34, BFD_RELOC_PPC64_REL16_HIGHERA34),
515         (BFD_RELOC_PPC64_REL16_HIGHEST34, BFD_RELOC_PPC64_REL16_HIGHESTA34),
516         (BFD_RELOC_PPC64_D28, BFD_RELOC_PPC64_PCREL28): New reloc enums.
517         * elf64-ppc.c (PNOP): Define.
518         (ppc64_elf_howto_raw): Add reloc howtos for new relocations.
519         (ppc64_elf_reloc_type_lookup): Translate new bfd reloc numbers.
520         (ppc64_elf_ha_reloc): Adjust addend for highera34 and highesta34
521         relocs.
522         (ppc64_elf_prefix_reloc): New function.
523         (struct ppc_link_hash_table): Add notoc_plt.
524         (is_branch_reloc): Add R_PPC64_PLTCALL_NOTOC.
525         (is_plt_seq_reloc): Add R_PPC64_PLT_PCREL34,
526         R_PPC64_PLT_PCREL34_NOTOC, and R_PPC64_PLTSEQ_NOTOC.
527         (ppc64_elf_check_relocs): Handle pcrel got and plt relocs.  Set
528         has_pltcall for section on seeing R_PPC64_PLTCALL_NOTOC.  Handle
529         possible need for dynamic relocs on non-pcrel powerxx relocs.
530         (dec_dynrel_count): Handle non-pcrel powerxx relocs.
531         (ppc64_elf_inline_plt): Handle R_PPC64_PLTCALL_NOTOC.
532         (toc_adjusting_stub_needed): Likewise.
533         (ppc64_elf_tls_optimize): Handle R_PPC64_PLTSEQ_NOTOC.
534         (ppc64_elf_relocate_section): Handle new powerxx relocs.
535         * bfd-in2.h: Regenerate.
536         * libbfd.h: Regenerate.
537
538 2019-05-23  Jose E. Marchesi  <jose.marchesi@oracle.com>
539
540         * config.bfd (targ_cpu): Process bpf-*-none only if BFD64.
541         * configure.ac: Set target_size=64 for bpf_elf64_le_vec and
542         bpf_elf64_be_vec.
543         * configure: Regenerate.
544
545 2019-05-23  Jose E. Marchesi  <jose.marchesi@oracle.com>
546
547         * configure: Regenerated.
548         * Makefile.am (ALL_MACHINES): Add cpu-bpf.lo.
549         (ALL_MACHINES_CFILES): Add cpu-bpf.c.
550         (BFD64_BACKENDS): Add elf64-bpf.lo.
551         (BFD64_BACKENDS_CFILES): Add elf64-bpf.c.
552         * Makefile.in (SOURCE_HFILES): Regenerate.
553         * config.bfd (targ_cpu): Handle bpf-*-* targets.
554         * cpu-bpf.c: New file.
555         * elf64-bpf.c: Likewise.
556         * targets.c (_bfd_target_vector): Add bpf_elf64_be_vec and
557         bpf_elf64_le_vec.
558         * archures.c: Define architecture bfd_arch_bpf and machine
559         bfd_arch_bpf.
560         * reloc.c: Define BFD relocations used by the BPF target.
561         * bfd-in2.h: Regenerated.
562         * libbfd.h: Likewise.
563
564 2019-05-22  Alan Modra  <amodra@gmail.com>
565
566         * elf32-arm.c (arm_allocate_glue_section_space): Clear section
567         contents.
568
569 2019-05-22  Alan Modra  <amodra@gmail.com>
570
571         * vms-alpha.c (_bfd_vms_write_etir): Don't attempt further
572         processing on "size error in section".
573
574 2019-05-22  Alan Modra  <amodra@gmail.com>
575
576         * som.c (som_bfd_free_cached_info): Call
577         _bfd_generic_close_and_cleanup.
578
579 2019-05-21  Faraz Shahbazker  <fshahbazker@wavecomp.com>
580
581         * elfxx-mips.c (_bfd_mips_elf_check_relocs): Generate error
582         for TLS_TPREL_HI16(/LO16) relocations in shared library.
583
584 2019-05-21  Faraz Shahbazker  <fshahbazker@wavecomp.com>
585
586         * elfxx-mips.c (_bfd_mips_elf_check_relocs): Add NULL pointer
587         checks.  Search the RELA table for n64 relocations.
588
589 2019-05-21  Matthew Fortune  <matthew.fortune@mips.com>
590             Faraz Shahbazker  <fshahbazker@wavecomp.com>
591
592         * elfxx-mips.c (LA25_BC): New macro.
593         (mips_elf_link_hash_table)<compact_branches>: New field.
594         (STUB_JALRC): New macro.
595         (mipsr6_o32_exec_plt0_entry_compact): New array.
596         (mipsr6_n32_exec_plt0_entry_compact): Likewise.
597         (mipsr6_n64_exec_plt0_entry_compact): Likewise.
598         (mipsr6_exec_plt_entry_compact): Likewise.
599         (mips_elf_create_la25_stub): Use BC instead of J for stubs
600         when compact_branches is true.
601         (_bfd_mips_elf_finish_dynamic_symbol): Choose the compact
602         PLT for MIPSR6 with compact_branches.  Do not reorder the
603         compact branches PLT.  Switch the lazy stub for MIPSR6
604         with compact_branches to use JALRC.
605         (mips_finish_exec_plt): Choose the compact PLT0 for MIPSR6
606         when compact_branches is true.
607         (_bfd_mips_elf_compact_branches): New function.
608         * elfxx-mips.h (_bfd_mips_elf_compact_branches): New prototype.
609
610 2019-05-21  Tamar Christina  <tamar.christina@arm.com>
611
612         PR ld/24373
613         * elfnn-aarch64.c (_bfd_aarch64_erratum_843419_branch_to_stub):
614         Fix print formatter.
615
616 2019-05-21  Andre Vieira  <andre.simoesdiasvieira@arm.com>
617
618         PR 24460
619         * elf32-arm.c (get_value_helper): Remove.
620         (elf32_arm_final_link_relocate): Fix branch future relocations.
621
622 2019-05-21  Tamar Christina  <tamar.christina@arm.com>
623
624         PR ld/24373
625         * bfd-in.h (enum erratum_84319_opts): New
626         (bfd_elf64_aarch64_set_options, bfd_elf32_aarch64_set_options): Change
627         int to enum erratum_84319_opts.
628         * bfd-in2.h: Regenerate.
629         * elfnn-aarch64.c (struct elf_aarch64_link_hash_table): Change
630         fix_erratum_843419 to use new enum, remove fix_erratum_843419_adr.
631         (_bfd_aarch64_add_stub_entry_after): Conditionally create erratum stub.
632         (aarch64_size_one_stub): Conditionally size erratum 843419 stubs.
633         (_bfd_aarch64_resize_stubs): Amend comment.
634         (elfNN_aarch64_size_stubs): Don't generate stubs when no workaround
635         requested.
636         (bfd_elfNN_aarch64_set_options): Use new fix_erratum_843419 enum.
637         (_bfd_aarch64_erratum_843419_branch_to_stub): Implement selection of
638         erratum workaround.
639         (clear_erratum_843419_entry): Update erratum conditional.
640
641 2019-05-21  Senthil Kumar Selvaraj  <senthilkumar.selvaraj@microchip.com>
642
643         PR ld/24571
644         * bfd/elf32-avr.c (elf32_avr_relax_section): Adjust range check
645         when computing distance_short_enough.
646
647 2019-05-21  Senthil Kumar Selvaraj  <senthilkumar.selvaraj@microchip.com>
648
649         PR ld/24564
650         * bfd/elf32-avr.c (avr_relative_distance_considering_wrap_around):
651         Wrap around even if distance equals avr_pc_wrap_around.
652
653 2019-05-20  Nick Clifton  <nickc@redhat.com>
654
655         * po/fr.po: Updated French translation.
656
657 2019-05-16  Andre Vieira  <andre.simoesdiasvieira@arm.com>
658
659         * elf32-arm.c (elf32_arm_merge_eabi_attributes): Add case for Tag_MVE_arch.
660
661 2019-05-16  Alan Modra  <amodra@gmail.com>
662
663         * elf32-arm.c (elf32_arm_write_section): Revert last change.
664
665 2019-05-15  Alan Modra  <amodra@gmail.com>
666
667         * elf32-arm.c (elf32_arm_write_section): Don't leave
668         error case of STM32L4XX_ERRATUM_BRANCH_TO_VENEER with
669         unitialised section contents.
670
671 2019-05-14  Jamey Hicks  <jamey.hicks@gmail.com>
672
673         PR 19921
674         * verilog.c: (VerilogDataWidth): New variable.
675         (verilog_write_record): Emit bytes in VerilogDataWidth bundles.
676
677 2019-05-08  Nick Clifton  <nickc@redhat.com>
678
679         PR 24523
680         * elf32-m68k.c (elf32_m68k_merge_private_bfd_data): Return TRUE
681         rather than FALSE if encountering a non-ELF file.
682
683 2019-05-06  Alan Modra  <amodra@gmail.com>
684
685         * elf32-pj.c (pj_elf_reloc): Don't report undefined weak as an error.
686
687 2019-05-06  Alan Modra  <amodra@gmail.com>
688
689         * reloc.c (BFD_RELOC_PPC64_TPREL16_HIGH, BFD_RELOC_PPC64_TPREL16_HIGHA),
690         (BFD_RELOC_PPC64_DTPREL16_HIGH, BFD_RELOC_PPC64_DTPREL16_HIGHA):
691         Sort before BFD_RELOC_PPC64_DTPREL16_HIGHESTA entry.
692         * libbfd.h: Regenerate.
693         * bfd-in2.h: Regenerate.
694
695 2019-05-04  Alan Modra  <amodra@gmail.com>
696
697         PR 24511
698         * syms.c (coff_section_type): Only allow '.', '$' and numeric
699         following the standard section names.
700         (bfd_decode_symclass): Prioritize section flag tests in
701         decode_section_type before name tests in coff_section_type.
702         * plugin.c (bfd_plugin_canonicalize_symtab): Init fake_section
703         and fake_common_section using BFD_FAKE_SECTION.  Use "fake" as
704         their names and choose standard .text section flags for
705         fake_section.
706
707 2019-05-02  Nick Clifton  <nickc@redhat.com>
708
709         PR 24493
710         * coffcode.h (styp_to_sec_flags): Treat .gnu.debuglink and
711         .gnu.debugaltlink sections as debugging sections.
712
713 2019-04-30  Alan Modra  <amodra@gmail.com>
714
715         * elf64-ppc.c (struct ppc64_elf_obj_tdata): Add has_gotrel.
716         (struct _ppc64_elf_section_data): Likewise.
717         (ppc64_elf_check_relocs): Set above fields.
718         (ppc64_elf_edit_toc): Add a pass over GOT relocs.
719         (ppc64_elf_relocate_section): Edit GOT indirect to GOT relative
720         when possible.
721
722 2019-04-26  H.J. Lu  <hongjiu.lu@intel.com>
723
724         PR ld/24486
725         * elflink.c (elf_link_output_extsym): Don't complain undefined
726         weak dynamic reference.
727
728 2019-04-25  Sudakshina Das  <sudi.das@arm.com>
729
730         * elfnn-aarch64.c (PLT_BTI_ENTRY_SIZE): Remove.
731         (PLT_BTI_TLSDESC_ENTRY_SIZE): Remove.
732         (PLT_PAC_ENTRY_SIZE, PLT_BTI_PAC_ENTRY_SIZE): Remove.
733         (PLT_BTI_SMALL_ENTRY_SIZE, PLT_PAC_SMALL_ENTRY_SIZE): Update.
734         (elfNN_aarch64_small_plt0_pac_entry): Remove.
735         (elfNN_aarch64_small_plt0_bti_pac_entry): Remove.
736         (elfNN_aarch64_small_plt0_bti_entry): Update.
737         (elfNN_aarch64_small_plt_bti_entry): Update.
738         (elfNN_aarch64_small_plt_pac_entry): Update.
739         (elfNN_aarch64_tlsdesc_small_plt_bti_entry): Update.
740         (setup_plt_values): Setup new entries.
741         (elfNN_aarch64_finish_dynamic_sections): Remove size change.
742         (elfNN_aarch64_plt_sym_val): Likewise.
743
744 2019-04-22  Jim Wilson  <jimw@sifive.com>
745
746         * elfnn-riscv.c (PRSTATUS_SIZE) [ARCH_SIZE==32]: Change from 0 to 204.
747
748 2019-04-19  Alan Modra  <amodra@gmail.com>
749
750         * elf32-s12z.c (elf_backend_can_gc_sections): Don't define
751
752 2019-04-17  H.J. Lu  <hongjiu.lu@intel.com>
753
754         * elf64-x86-64.c (elf_x86_64_need_pic): Suggest -fPIE when not
755         building shared object.
756         * elfxx-x86.c (_bfd_x86_elf_size_dynamic_sections): Likewise.
757
758 2019-04-17  H.J. Lu  <hongjiu.lu@intel.com>
759
760         PR ld/24458
761         * elfxx-x86.h (SYMBOL_DEFINED_NON_SHARED_P): Also check x86
762         linker_def.
763
764 2019-04-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>
765
766         * reloc.c (BFD_RELOC_ARM_T32_VLDR_VSTR_OFF_IMM): New internal
767         relocation.
768         * bfd-in2.h: Regenerate.
769         * libbfd.h: Likewise.
770
771 2019-04-15  Sudakshina Das  <sudi.das@arm.com>
772
773         * reloc.c (BFD_RELOC_ARM_THUMB_LOOP12): New.
774         * bfd-in2.h: Regenerated.
775         * libbfd.h: Regenerated.
776
777 2019-04-15  Sudakshina Das  <sudi.das@arm.com>
778
779         * reloc.c (BFD_RELOC_THUMB_PCREL_BFCSEL): New relocation.
780         * bfd-in2.h: Regenerated.
781         * libbfd.h: Likewise.
782
783 2019-04-15  Sudakshina Das  <sudi.das@arm.com>
784
785         * reloc.c (BFD_RELOC_ARM_THUMB_BF13): New.
786         * bfd-in2.h: Regenerated.
787         * libbfd.h: Regenerated.
788         * elf32-arm.c (elf32_arm_howto_table_1): New entry for R_ARM_THM_BF13.
789         (elf32_arm_reloc_map elf32_arm_reloc_map): Map BFD_RELOC_ARM_THUMB_BF13
790         and R_ARM_THM_BF12 together.
791         (elf32_arm_final_link_relocate): New switch case for R_ARM_THM_BF13.
792
793 2019-04-15  Sudakshina Das  <sudi.das@arm.com>
794
795         * reloc.c (BFD_RELOC_ARM_THUMB_BF19): New
796         * libbfd.h: Regenerated.
797         * bfd-in2.h: Regenerated.
798         * bfd-elf32-arm.c (elf32_arm_howto_table_1): New entry for R_ARM_THM_BF18.
799         (elf32_arm_reloc_map elf32_arm_reloc_map): Map BFD_RELOC_ARM_THUMB_BF19
800         and R_ARM_THM_BF18 together.
801         (elf32_arm_final_link_relocate): New switch case for R_ARM_THM_BF19.
802
803 2019-04-15  Sudakshina Das  <sudi.das@arm.com>
804
805         * reloc.c (BFD_RELOC_ARM_THUMB_BF17): New enum.
806         * bfd-in2.h: Regenerated.
807         * libbfd.h: Regenerated.
808         * bfd-elf32-arm.c (elf32_arm_howto_table_1): New entry for R_ARM_THM_BF16.
809         (elf32_arm_reloc_map elf32_arm_reloc_map): Map BFD_RELOC_ARM_THUMB_BF17
810         and R_ARM_THM_BF16 together.
811         (get_value_helper): New reloc helper.
812         (elf32_arm_final_link_relocate): New switch case for R_ARM_THM_BF16.
813
814 2019-04-15  Sudakshina Das  <sudi.das@arm.com>
815
816         * reloc.c (BFD_RELOC_THUMB_PCREL_BRANCH5): New enum.
817         * bfd-in2.h: Regenerate.
818         * libbfd.h: Regenerate.
819
820 2019-04-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>
821
822         * archures.c (bfd_mach_arm_8_1M_MAIN): Define.
823         * bfd-in2.h: Regenerate.
824         * cpu-arm.c (arch_info_struct): Add entry for Armv8.1-M Mainline.
825         * elf32-arm.c (using_thumb_only): Return true for Armv8.1-M Mainline
826         and update assert.
827         (using_thumb2): Likewise.
828         (using_thumb2_bl): Update assert.
829         (arch_has_arm_nop): Likewise.
830         (bfd_arm_get_mach_from_attributes): Add case for Armv8.1-M Mainline.
831         (tag_cpu_arch_combine): Add logic for Armv8.1-M Mainline merging.
832
833 2019-04-11  H.J. Lu  <hongjiu.lu@intel.com>
834
835         * elf-linker-x86.h (elf_x86_cet_report): New.
836         (elf_linker_x86_params): Add cet_report.
837         * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Report
838         missing IBT and SHSTK properties if needed.
839
840 2019-04-11  H.J. Lu  <hongjiu.lu@intel.com>
841
842         PR ld/24436
843         * elf-m10300.c (mn10300_elf_check_relocs): Remove BFD_ASSERT of
844         "h != NULL".  Don't check "h != NULL" before calling.
845         bfd_elf_gc_record_vtentry.
846         * elf32-arm.c (elf32_arm_check_relocs): Likewise.
847         * elf32-bfin.c (bfin_check_relocs): Likewise.
848         * elf32-cris.c (cris_elf_check_relocs): Likewise.
849         * elf32-csky.c (csky_elf_check_relocs): Likewise.
850         * elf32-d10v.c (elf32_d10v_check_relocs): Likewise.
851         * elf32-dlx.c (elf32_dlx_check_relocs): Likewise.
852         * elf32-fr30.c (fr30_elf_check_relocs): Likewise.
853         * elf32-frv.c (elf32_frv_check_relocs): Likewise.
854         * elf32-hppa.c (elf32_hppa_check_relocs): Likewise.
855         * elf32-i386.c (elf_i386_check_relocs): Likewise.
856         * elf32-iq2000.c (iq2000_elf_check_relocs): Likewise.
857         * elf32-m32r.c (m32r_elf_check_relocs): Likewise.
858         * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise.
859         * elf32-m68k.c (elf_m68k_check_relocs): Likewise.
860         * elf32-mcore.c (mcore_elf_check_relocs): Likewise.
861         * elf32-metag.c (elf_metag_check_relocs): Likewise.
862         * elf32-or1k.c (or1k_elf_check_relocs): Likewise.
863         * elf32-ppc.c (ppc_elf_check_relocs): Likewise.
864         * elf32-s390.c (elf_s390_check_relocs): Likewise.
865         * elf32-sh.c (sh_elf_check_relocs): Likewise.
866         * elf32-v850.c (v850_elf_check_relocs): Likewise.
867         * elf32-vax.c (elf_vax_check_relocs): Likewise.
868         * elf32-xstormy16.c (xstormy16_elf_check_relocs): Likewise.
869         * elf32-xtensa.c (elf_xtensa_check_relocs): Likewise.
870         * elf64-mmix.c (mmix_elf_check_relocs): Likewise.
871         * elf64-ppc.c (ppc64_elf_check_relocs): Likewise.
872         * elf64-s390.c (elf_s390_check_relocs): Likewise.
873         * elf64-x86-64.c (elf_s390_check_relocs): Likewise.
874         * elfxx-mips.c (_bfd_mips_elf_check_relocs): Likewise.
875         * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise.
876         * elflink.c (bfd_elf_gc_record_vtinherit): Check for corrupt
877         VTENTRY entry.
878
879 2019-04-11  Alan Modra  <amodra@gmail.com>
880
881         PR 24435
882         * elflink.c (elf_link_add_object_symbols): Don't read partial
883         dynamic entries from fuzzed objects.
884
885 2019-04-11  Tamar Christina  <tamar.christina@arm.com>
886
887         PR ld/24302
888         * elfnn-aarch64.c (elfNN_aarch64_size_dynamic_sections): Don't emit
889         DT_TLSDESC_GOT and DT_TLSDESC_PLT when DF_BIND_NOW.
890         (elfNN_aarch64_finish_dynamic_sections): Don't write PLT if DF_BIND_NOW.
891
892 2019-04-10  Michael Forney  <mforney@mforney.org>
893
894         PR 24427
895         * doc/chew.c (free_words): Correctly free "push_text" strings.
896
897 2019-04-08  H.J. Lu  <hongjiu.lu@intel.com>
898
899         * config.bfd: Remove i[3-7]86-*-kaos* and i[3-7]86-*-chaos targets.
900
901 2019-04-08  Alan Modra  <amodra@gmail.com>
902
903         * configure.ac (elfxx_x86): Define and use.
904         * configure: Regenerate.
905
906 2019-04-06  H.J. Lu  <hongjiu.lu@intel.com>
907
908         * elf-linker-x86.h: New file.
909         * elf32-i386.c (elf_i386_convert_load_reloc): Use htab->params
910         to get x86-specific linker options.
911         * elf64-x86-64.c (elf_x86_64_convert_load_reloc): Likewise.
912         (elf_x86_64_check_relocs): Likewise.
913         (elf_x86_64_relocate_section): Likewise.
914         (elf_x86_64_link_setup_gnu_properties): Likewise.
915         * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Likewise.
916         (_bfd_x86_elf_link_setup_gnu_properties): Likewise.
917         (_bfd_elf_linker_x86_set_options): New function.
918         * elfxx-x86.h: Include "elf-linker-x86.h".
919         (elf_x86_link_hash_table): Add params.
920
921 2019-04-03  Alan Modra  <amodra@gmail.com>
922
923         * coff-i386.c, * coff-x86_64.c, * coffgen.c, * dwarf2.c,
924         * elf-m10200.c, * elf.c, * elf32-arm.c, * elf32-bfin.c,
925         * elf32-csky.c, * elf32-m32r.c, * elf32-microblaze.c, * elf32-pru.c,
926         * elf32-rx.c, * elf32-xgate.c, * elf64-sparc.c, * elfnn-ia64.c,
927         * elfxx-riscv.c, * elfxx-sparc.c, * linker.c, * mach-o.c,
928         * pe-x86_64.c, * pei-x86_64.c, * plugin.c: Whitespace fixes.
929
930 2019-04-02  Jim Wilson  <jimw@sifive.com>
931
932         PR 24389
933         * elfnn-riscv.c (_bfd_riscv_elf_merge_private_bfd_data): Move read of
934         ELF header flags to after check for ELF object file.  Loop through
935         sections looking for code sections, if none, then skip ABI checks.
936
937 2019-03-30  Andrew Waterman  <andrew@sifive.com>
938
939         * elfnn-riscv.c (_bfd_riscv_relax_call): Only check ARCH_SIZE for
940         rd == X_RA case.
941
942 2019-03-29  Max Filippov  <jcmvbkbc@gmail.com>
943
944         * elf32-xtensa.c (shrink_dynamic_reloc_sections): Add
945         info->export_dynamic to the conditional.
946
947 2019-03-28  Alan Modra  <amodra@gmail.com>
948
949         PR 24392
950         * configure.ac: Invoke AC_CHECK_SIZEOF(int).
951         * configure: Regenerate.
952         * coffgen.c (coff_get_reloc_upper_bound): Replace gcc diagnostic
953         workaround with SIZEOF_LONG vs. SIZEOF_INT check.
954         * elf.c (_bfd_elf_get_reloc_upper_bound): Likewise.
955         * elf64-sparc.c (elf64_sparc_get_reloc_upper_bound): Likewise.
956         * mach-o.c (bfd_mach_o_get_reloc_upper_bound): Likewise.
957
958 2019-03-21  Jim Wilson  <jimw@sifive.com>
959
960         PR 24365
961         * elfnn-riscv.c (riscv_elf_relocate_section): For STT_SECTION check,
962         verify sym non-NULL before using.  Add identical check using h.
963
964 2019-03-21  Sudakshina Das  <sudi.das@arm.com>
965
966         * elf-bfd.h (struct elf_backend_data): Add argument to
967         merge_gnu_properties.
968         * elf-properties.c (elf_merge_gnu_properties): Add argument to
969         itself and while calling bed->merge_gnu_properties.
970         (elf_merge_gnu_property_list): Update the calls for
971         elf_merge_gnu_properties.
972         * elfnn-aarch64.c (elfNN_aarch64_merge_gnu_properties): Update handling
973         of --force-bti warning and add argument.
974         * elfxx-aarch64.c (_bfd_aarch64_elf_link_setup_gnu_properties): Add
975         warning.
976         * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Add argument.
977         * elfxx-x86.h (_bfd_x86_elf_merge_gnu_properties): Likewise in
978         declaration.
979
980 2019-03-20  Sudakshina Das  <sudi.das@arm.com>
981
982         * elfxx-aarch64.c (_bfd_aarch64_elf_link_fixup_gnu_properties): Define.
983         * elfxx-aarch64.h (_bfd_aarch64_elf_link_fixup_gnu_properties): Declare.
984         (elf_backend_fixup_gnu_properties): Define for AArch64.
985
986 2019-03-18  Alan Modra  <amodra@gmail.com>
987
988         PR 24355
989         * elf32-ppc.c (ppc_finish_symbols): Don't call write_glink_stub
990         for local iplt syms with ent->plt.offset == -1.  Remove ineffective
991         attempt at writing glink stubs only once.
992
993 2019-03-16  Alan Modra  <amodra@gmail.com>
994
995         PR 24337
996         * elf.c (_bfd_elf_rela_local_sym): Revert last change.
997         (_bfd_elf_rel_local_sym): Likewise.
998         * elflink.c (elf_link_input_bfd): Use bfd_und_section for
999         section of symbols with unrecognized shndx.
1000
1001 2019-03-15  H.J. Lu  <hongjiu.lu@intel.com>
1002
1003         PR ld/24267
1004         * coffgen.c (_bfd_coff_section_already_linked): Skip discarded
1005         section.
1006         * cofflink.c (coff_link_add_symbols): Check for symbols defined
1007         in discarded section.
1008
1009 2019-03-15  Alan Modra  <amodra@gmail.com>
1010
1011         PR 24339
1012         * elflink.c (elf_link_add_object_symbols): Bail out on a local
1013         symbol after globals if elf_bad_symtab is not set.
1014
1015 2019-03-15  Alan Modra  <amodra@gmail.com>
1016
1017         PR 24337
1018         * elf.c (_bfd_elf_rela_local_sym): Don't segfault on NULL sec.
1019         (_bfd_elf_rel_local_sym): Likewise.
1020
1021 2019-03-15  Alan Modra  <amodra@gmail.com>
1022
1023         PR 24336
1024         * elflink.c (elf_link_read_relocs_from_section): Handle fuzzed
1025         object files with sh_size not a multiple of sh_entsize.
1026
1027 2019-03-15  H.J. Lu  <hongjiu.lu@intel.com>
1028
1029         PR ld/24338
1030         * elf64-x86-64.c (elf_x86_64_relocate_section): Check for corrupt
1031         input with bad relocation.
1032
1033 22019-03-15  H.J. Lu  <hongjiu.lu@intel.com>
1034
1035         * elf64-x86-64.c (elf_x86_64_relocate_section): Re-indent.
1036
1037 2019-03-14  Nick Clifton  <nickc@redhat.com>
1038
1039         PR 24334
1040         * dwarf2.c (struct dwarf2_debug): Add sec_vma_count field.
1041         (save_section_vma): Initialise field to the number of entries in
1042         the sec_vma table.
1043         (section_vma_same): Check that the number of entries in the
1044         sec_vma table matches the number of sections in the bfd.
1045
1046 2019-03-14  Nick Clifton  <nickc@redhat.com>
1047
1048         PR 24333
1049         * elflink.c (_bfd_elf_add_default_symbol): Add a check for a NULL
1050         section owner pointer when adding the default symbol.
1051
1052 2019-03-14  Nick Clifton  <nickc@redhat.com>
1053
1054         PR 24332
1055         * elflink.c (elf_link_add_object_symbols): Add new local variable
1056         extversym_end.  Initialise it to point to the end of the version
1057         symbol table, if present.  Check it when initialising and updating
1058         the ever pointer.
1059
1060 2019-03-13  Sudakshina Das  <sudi.das@arm.com>
1061
1062         * elfnn-aarch64.c (PLT_PAC_ENTRY_SIZE, PLT_PAC_SMALL_ENTRY_SIZE): New.
1063         (PLT_BTI_PAC_ENTRY_SIZE, PLT_BTI_PAC_SMALL_ENTRY_SIZE): New.
1064         (setup_plt_values): Account for PAC or PAC and BTI enabled PLTs.
1065         (elfNN_aarch64_size_dynamic_sections): Add checks for PLT_BTI_PAC
1066         and PLT_PAC_PLT.
1067         (elfNN_aarch64_finish_dynamic_sections): Account for PLT_BTI_PAC.
1068         (get_plt_type): Add case for DT_AARCH64_PAC_PLT.
1069         (elfNN_aarch64_plt_sym_val): Add cases for PLT_BTI_PAC and PLT_PAC.
1070
1071 2019-03-13  Sudakshina Das  <sudi.das@arm.com>
1072             Szabolcs Nagy  <szabolcs.nagy@arm.com>
1073
1074         * bfd-in.h (aarch64_plt_type, aarch64_enable_bti_type): New.
1075         (aarch64_bti_pac_info): New.
1076         (bfd_elf64_aarch64_set_options): Add aarch64_bti_pac_info argument.
1077         (bfd_elf32_aarch64_set_options): Likewise.
1078         * bfd-in2.h: Regenerate
1079         * elfnn-aarch64.c (PLT_BTI_ENTRY_SIZE): New.
1080         (PLT_BTI_SMALL_ENTRY_SIZE, PLT_BTI_TLSDESC_ENTRY_SIZE): New.
1081         (elfNN_aarch64_small_plt0_bti_entry): New.
1082         (elfNN_aarch64_small_plt_bti_entry): New.
1083         (elfNN_aarch64_tlsdesc_small_plt_bti_entry): New.
1084         (elf_aarch64_obj_tdata): Add no_bti_warn and plt_type fields.
1085         (elf_aarch64_link_hash_table): Add plt0_entry, plt_entry and
1086         tlsdesc_plt_entry_size fields.
1087         (elfNN_aarch64_link_hash_table_create): Initialise the new fields.
1088         (setup_plt_values): New helper function.
1089         (bfd_elfNN_aarch64_set_options): Use new bp_info to set plt sizes and
1090         bti enable type.
1091         (elfNN_aarch64_allocate_dynrelocs): Use new size members instead of
1092         fixed macros.
1093         (elfNN_aarch64_size_dynamic_sections): Likewise and add checks.
1094         (elfNN_aarch64_create_small_pltn_entry): Use new generic pointers
1095         to plt stubs instead of fixed ones and update filling them according
1096         to the need for bti.
1097         (elfNN_aarch64_init_small_plt0_entry): Likewise.
1098         (elfNN_aarch64_finish_dynamic_sections): Likewise.
1099         (get_plt_type, elfNN_aarch64_get_synthetic_symtab): New.
1100         (elfNN_aarch64_plt_sym_val): Update size accordingly.
1101         (elfNN_aarch64_link_setup_gnu_properties): Set up plts if BTI GNU NOTE
1102         is set.
1103         (bfd_elfNN_get_synthetic_symtab): Define.
1104         (elfNN_aarch64_merge_gnu_properties): Give out warning with --force-bti
1105         and mising BTI NOTE SECTION.
1106
1107
1108 2019-03-13  Sudakshina Das  <sudi.das@arm.com>
1109
1110         * elf-properties.c (_bfd_elf_link_setup_gnu_properties): Exclude
1111         linker created inputs from merge.
1112         * elfnn-aarch64.c (struct elf_aarch64_obj_tdata): Add field for
1113         GNU_PROPERTY_AARCH64_FEATURE_1_AND properties.
1114         (elfNN_aarch64_link_setup_gnu_properties): New.
1115         (elfNN_aarch64_merge_gnu_properties): New.
1116         (elf_backend_setup_gnu_properties): Define for AArch64.
1117         (elf_backend_merge_gnu_properties): Likewise.
1118         * elfxx-aarch64.c (_bfd_aarch64_elf_link_setup_gnu_properties): Define.
1119         (_bfd_aarch64_elf_parse_gnu_properties): Define.
1120         (_bfd_aarch64_elf_merge_gnu_properties): Define.
1121         * elfxx-aarch64.h (_bfd_aarch64_elf_link_setup_gnu_properties): Declare.
1122         (_bfd_aarch64_elf_parse_gnu_properties): Declare.
1123         (_bfd_aarch64_elf_merge_gnu_properties): Declare.
1124         (elf_backend_parse_gnu_properties): Define for AArch64.
1125
1126 2019-03-13  H.J. Lu  <hongjiu.lu@intel.com>
1127
1128         PR ld/24322
1129         * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Properly
1130         merge GNU_PROPERTY_X86_FEATURE_1_[IBT|SHSTK].
1131
1132 2019-03-12  Alan Modra  <amodra@gmail.com>
1133
1134         * coffcode.h (buy_and_read): Delete unnecessary forward decl.  Add
1135         nmemb parameter.  Use bfd_alloc2.
1136         (coff_slurp_line_table): Use bfd_alloc2.  Update buy_and_read calls.
1137         Delete assertion.
1138         (coff_slurp_symbol_table): Use bfd_alloc2 and bfd_zalloc2.
1139         (coff_slurp_reloc_table): Use bfd_alloc2.  Update buy_and_read calls.
1140         * coffgen.c (coff_get_reloc_upper_bound): Ensure size calculation
1141         doesn't overflow.
1142         * elf.c (bfd_section_from_shdr): Use bfd_zalloc2.  Style fix.
1143         (assign_section_numbers): Style fix.
1144         (swap_out_syms): Use bfd_malloc2.
1145         (_bfd_elf_get_reloc_upper_bound): Ensure size calculation doesn't
1146         overflow.
1147         (_bfd_elf_make_empty_symbol): Style fix.
1148         (elfobj_grok_stapsdt_note_1): Formatting.
1149         * elfcode.h (elf_object_p): Use bfd_alloc2.
1150         (elf_write_relocs, elf_write_shdrs_and_ehdr): Likewise.
1151         (elf_slurp_symbol_table): Use bfd_zalloc2.
1152         (elf_slurp_reloc_table): Use bfd_alloc2.
1153         (_bfd_elf_bfd_from_remote_memory): Use bfd_malloc2.
1154         * elf64-sparc (elf64_sparc_get_reloc_upper_bound): Ensure
1155         size calculation doesn't overflow.
1156         (elf64_sparc_get_dynamic_reloc_upper_bound): Likewise.
1157         * mach-o.c (bfd_mach_o_get_reloc_upper_bound): Likewise.
1158         * pdp11.c (get_reloc_upper_bound): Copy aoutx.h version.
1159
1160 2019-03-08  Alan Modra  <amodra@gmail.com>
1161
1162         PR 24311
1163         * merge.c (merge_strings): Return secinfo.  Don't pad section
1164         to alignment here.
1165         (_bfd_merge_sections): Pad section to alignment here, if input
1166         sections contributing to merged output all pad to alignment.
1167         Formatting.
1168
1169 2019-03-06  Nick Clifton  <nickc@redhat.com>
1170
1171         * dwarf2.c (_bfd_dwarf2_find_symbol_bias): Check for a NULL symbol
1172         table pointer.
1173         * coffgen.c (coff_find_nearest_line_with_names): Do not call
1174         _bfd_dwarf2_find_symbol_bias if there is no symbol table available.
1175
1176 2019-03-01  Andreas Krebbel  <krebbel@linux.ibm.com>
1177
1178         This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
1179         2019-01-14  Maamoun Tarsha  <maamountk@hotmail.com>
1180
1181         PR 20113
1182         * elf32-s390.c (allocate_dynrelocs): Update comment.
1183
1184 2019-02-28  Tamar Christina  <tamar.christina@arm.com>
1185
1186         * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Correct CIE parse.
1187
1188 2019-02-28  Nick Clifton  <nickc@redhat.com>
1189
1190         PR 24273
1191         * elf.c (bfd_elf_string_from_elf_section): Check for a string
1192         section that is not NUL terminated.
1193
1194 2019-02-27  H.J. Lu  <hongjiu.lu@intel.com>
1195
1196         PR ld/24276
1197         * elf64-x86-64.c (elf_x86_64_check_relocs): Skip symbol defined
1198         by linker when checking copy reloc on protected symbol.
1199
1200 2019-02-24  Alan Modra  <amodra@gmail.com>
1201
1202         PR 24144
1203         * pdp11.c (set_section_contents): Revert 2015-02-24 change.
1204
1205 2019-02-20  Eric Tsai  <erictsai@cadence.com>
1206
1207         * elf32-xtensa.c (is_resolvable_asm_expansion): Scan output
1208         sections between the call site and call destination and adjust
1209         call distance by the largest alignment.
1210
1211 2019-02-20  Alan Hayward  <alan.hayward@arm.com>
1212
1213         * elf-bfd.h (elfcore_write_aarch_pauth): Add declaration.
1214         * elf.c (elfcore_grok_aarch_pauth): New function.
1215         (elfcore_grok_note): Check for NT_ARM_PAC_MASK.
1216         (elfcore_write_aarch_pauth): New function.
1217         (elfcore_write_register_note): Check for AArch64 pauth section.
1218
1219 2019-02-20  Alan Modra  <amodra@gmail.com>
1220
1221         PR 24225
1222         * elf32-nios2.c (nios2_elf32_relocate_section): Check asprintf
1223         return value.
1224
1225 2019-02-20  Michael Roitzsch  <reactorcontrol@icloud.com>
1226
1227         * configure.ac (SHARED_LIBADD): Add -liberty -lintl for all
1228         Darwin hosts, not just or1k.
1229         * configure: Regenerate.
1230
1231 2019-02-20  Alan Modra  <amodra@gmail.com>
1232
1233         PR 24236
1234         * archive64.c (_bfd_archive_64_bit_slurp_armap): Move code adding
1235         sentinel NUL to string buffer nearer to loop where it is used.
1236         Don't go past sentinel when scanning strings, and don't write
1237         NUL again.
1238         * archive.c (do_slurp_coff_armap): Simplify string handling to
1239         archive64.c style.
1240
1241 2019-02-19  Alan Modra  <amodra@gmail.com>
1242
1243         PR 24235
1244         * pei-x86_64.c (pex64_bfd_print_pdata_section): Correct checks
1245         attempting to prevent read past end of section.
1246
1247 2019-02-18  Alan Modra  <amodra@gmail.com>
1248
1249         PR 24225
1250         * elf32-nios2.c (nios2_elf32_relocate_section): Use asprintf and
1251         PRIx64 to generate warning messages.  Print local sym names too.
1252
1253 2019-02-09  Vineet Gupta  <vgupta@synopsys.com>
1254
1255         * elf32-arc (INIT_SYM_STRING): Delete.
1256         (FINI_SYM_STRING): Likewise.
1257         (init_str): Likewise.
1258         (fini_str): Likewise.
1259
1260 2019-02-08  Alan Modra  <amodra@gmail.com>
1261
1262         * elf32-ppc.c (ppc_elf_relocate_section): Add %X to "unsupported
1263         for bss-plt" warning to make it an error.
1264
1265 2019-02-07  Eric Botcazou  <ebotcazou@adacore.com>
1266
1267         PR ld/18841
1268         * elf32-sparc.c (elf32_sparc_reloc_type_class): Return
1269         reloc_class_ifunc for ifunc symbols.
1270         * elf64-sparc.c (elf64_sparc_reloc_type_class): Likewise.
1271
1272 2019-02-07  Eric Botcazou  <ebotcazou@adacore.com>
1273
1274         * elf32-visium.c (visium_elf_howto_parity_reloc): Minor tweak.
1275         <R_VISIUM_PC16>: Use explicit range test to detect an overflow.
1276
1277 2019-02-07  Nick Clifton  <nickc@redhat.com>
1278
1279         * config.bfd: Move the powerpc-lynxos and powerpc-windiss targets
1280         into the definitely obsolete list.
1281
1282 2019-02-05  H.J. Lu  <hongjiu.lu@intel.com>
1283
1284         PR ld/24151
1285         * elf64-x86-64.c (elf_x86_64_need_pic): Check
1286         SYMBOL_DEFINED_NON_SHARED_P instead of def_regular.
1287         (elf_x86_64_relocate_section): Move PIC check for PC-relative
1288         relocations to ...
1289         (elf_x86_64_check_relocs): Here.
1290         (elf_x86_64_finish_dynamic_symbol): Use SYMBOL_DEFINED_NON_SHARED_P
1291         to check if a symbol is defined in a non-shared object.
1292         * elfxx-x86.h (SYMBOL_DEFINED_NON_SHARED_P): New.
1293
1294 2019-01-21  Sergio Durigan Junior  <sergiodj@redhat.com>
1295
1296         * elf32-arm.c (elf32_arm_final_link_relocate): Use 'llabs' instead
1297         of 'labs' (and fix GCC warning).
1298
1299 2019-01-25  Nick Clifton  <nickc@redhat.com>
1300
1301         * po/ru.po: Updated Russian translation.
1302
1303 2019-01-23  Nick Clifton  <nickc@redhat.com>
1304
1305         * po/fr.po: Updated French translation.
1306
1307 2019-01-21  Nick Clifton  <nickc@redhat.com>
1308
1309         * po/pt.po: Updated Portuguese translation.
1310         * po/uk.po: Updated Ukranian translation.
1311
1312 2019-01-21  Yuri Chornoivan  <yurchor@ukr.net>
1313
1314         PR 24108
1315         * elf32-nds32.c (nds32_relocate_section): Add space between words
1316         in error message.
1317         * elfnn-riscv.c (riscv_version_mismatch): Fix spelling mistake in
1318         error message.
1319         (riscv_i_or_e_p): Likewise.
1320         (riscv_merge_arch_attr_info): Likewise.
1321
1322 2019-01-19  Nick Clifton  <nickc@redhat.com>
1323
1324         * version.m4: Reset to 2.32.51
1325         * configure: Regenerate.
1326         * po/bfd.pot: Regenerate.
1327
1328 2018-06-24  Nick Clifton  <nickc@redhat.com>
1329
1330         2.32 branch created.
1331
1332 2019-01-16  Kito Cheng  <kito@andestech.com>
1333
1334         * elf-attrs.c (vendor_obj_attr_size): Return 0 if size is 0 even
1335         for OBJ_ATTR_PROC.
1336
1337 2019-01-16  Kito Cheng  <kito@andestech.com>
1338             Nelson Chu  <nelson@andestech.com>
1339
1340         * elfnn-riscv.c (in_subsets): New.
1341         (out_subsets): Likewise.
1342         (merged_subsets): Likewise.
1343         (riscv_std_ext_p): Likewise.
1344         (riscv_non_std_ext_p): Likewise.
1345         (riscv_std_sv_ext_p): Likewise.
1346         (riscv_non_std_sv_ext_p): Likewise.
1347         (riscv_version_mismatch): Likewise.
1348         (riscv_i_or_e_p): Likewise.
1349         (riscv_merge_std_ext): Likewise.
1350         (riscv_merge_non_std_and_sv_ext): Likewise.
1351         (riscv_merge_arch_attr_info): Likewise.
1352         (riscv_merge_attributes): Likewise.
1353         (_bfd_riscv_elf_merge_private_bfd_data): Merge attribute.
1354
1355         * elfnn-riscv.c (riscv_elf_obj_attrs_arg_type): New.
1356         (elf_backend_obj_attrs_vendor): Define.
1357         (elf_backend_obj_attrs_section_type): Likewise.
1358         (elf_backend_obj_attrs_section): Likewise.
1359         (elf_backend_obj_attrs_arg_type): Define as
1360         riscv_elf_obj_attrs_arg_type.
1361         * elfxx-riscv.c (riscv_estimate_digit): New.
1362         (riscv_estimate_arch_strlen1): Likewise.
1363         (riscv_estimate_arch_strlen): Likewise.
1364         (riscv_arch_str1): Likewise.
1365         (riscv_arch_str): Likewise.
1366         * elfxx-riscv.h (riscv_arch_str): Declare.
1367
1368 2019-01-14  John Darrington <john@darrington.wattle.id.au>
1369
1370         * bfd-in2.h [BFD_RELOC_S12Z_OPR]: New reloc.
1371         * libbfd.h: regen.
1372         * elf32-s12z.c (eld_s12z_howto_table): R_S12Z_OPR takes non zero
1373         source field.  (md_apply_fix): Apply final fix
1374         to BFD_RELOC_S12Z_OPR.
1375         * reloc.c[BFD_RELOC_S12Z_OPR]: New reloc.
1376
1377 2019-01-14  Maamoun Tarsha  <maamountk@hotmail.com>
1378
1379         PR 20113
1380         * elf32-s390.c (allocate_dynrelocs): Update comment.
1381
1382 2019-01-09  Andrew Paprocki  <andrew@ishiboo.com>
1383
1384         * warning.m4: Adjust egrep pattern for non-GNU compilers.
1385         * configure: Regenerate.
1386
1387 2019-01-08  Alan Modra  <amodra@gmail.com>
1388
1389         PR 23699
1390         PR 24065
1391         * ihex.c (ihex_write_object_contents): Properly check 32-bit
1392         address range.
1393
1394 2019-01-05  Yoshinori Sato <ysato@users.sourceforge.jp>
1395
1396         * bfd/archures.c: Add bfd_mach_rx_v2 and bfd_mach_rx_v3.
1397         * bfd/bfd-in2.h: Regenerate.
1398         * bfd/cpu-rx.c (arch_info_struct): Add RXv2 and RXv3 entry.
1399         * bfd/elf32-rx.c (elf32_rx_machine): Add RXv2 and RXv3 support.
1400
1401 2019-01-04  Lifang Xia  <lifang_xia@c-sky.com>
1402
1403         * config.bfd (csky-*-elf* | csky-*-linux*): Modify the csky
1404         default target, little endian target is more suitable.
1405
1406 2019-01-04  Alan Modra  <amodra@gmail.com>
1407
1408         PR 24061
1409         PR 21786
1410         * coff-rs6000.c (GET_VALUE_IN_FIELD): Add base parameter and
1411         adjust all callers.
1412         (EQ_VALUE_IN_FIELD): Likewise.
1413         * coff64-rs6000.c (GET_VALUE_IN_FIELD): Likewise.
1414
1415 2019-01-01  Alan Modra  <amodra@gmail.com>
1416
1417         Update year range in copyright notice of all files.
1418
1419 For older changes see ChangeLog-2018
1420 \f
1421 Copyright (C) 2019 Free Software Foundation, Inc.
1422
1423 Copying and distribution of this file, with or without modification,
1424 are permitted in any medium without royalty provided the copyright
1425 notice and this notice are preserved.
1426
1427 Local Variables:
1428 mode: change-log
1429 left-margin: 8
1430 fill-column: 74
1431 version-control: never
1432 End: