1 2019-08-14 Alan Modra <amodra@gmail.com>
3 * dwarf2.c (_bfd_dwarf2_find_nearest_line): Remove addr_size parameter.
4 * libbfd-in.h (_bfd_dwarf2_find_nearest_line): Update prototype.
5 * coffgen.c (coff_find_nearest_line_with_names): Adjust
6 _bfd_dwarf2_find_nearest_line calls.
7 * elf.c (_bfd_elf_find_nearest_line, _bfd_elf_find_line): Likewise.
8 * elf32-arm.c (elf32_arm_find_nearest_line): Likewise.
9 * elf64-alpha.c (elf64_alpha_find_nearest_line): Likewise.
10 * elfnn-aarch64.c (elfNN_aarch64_find_nearest_line): Likewise.
11 * elfxx-mips.c (_bfd_mips_elf_find_nearest_line): Likewise.
12 * mach-o.c (bfd_mach_o_find_nearest_line): Likewise.
13 * libbfd.h: Regenerate.
15 2019-08-09 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
17 * elf-bfd.h (struct elf_backend_data): New members.
18 * elflink.c (_bfd_elf_link_create_dynamic_sections): Create
19 .gnu.hash section if necessary.
20 (struct collect_gnu_hash_codes): New member.
21 (elf_gnu_hash_process_symidx): New function name.
22 (elf_renumber_gnu_hash_syms): Ignore local and undefined
23 symbols. Record xlat location for every symbol which should have
25 (bfd_elf_size_dynamic_sections): Add DT_GNU_HASH dynamic tag to
26 dynamic section if necessary.
27 (GNU_HASH_SECTION_NAME): New define.
28 (bfd_elf_size_dynsym_hash_dynstr): Get .MIPS.xhash section.
29 Update the section size info.
30 * elfxx-mips.c (struct mips_elf_hash_sort_data): New members.
31 (struct mips_elf_link_hash_entry): New member.
32 (mips_elf_link_hash_newfunc): Initialize .MIPS.xhash translation
34 (mips_elf_sort_hash_table): Initialize the pointer to the
36 (mips_elf_sort_hash_table_f): Populate the .MIPS.xhash
37 translation table entry with the symbol dynindx.
38 (_bfd_mips_elf_section_from_shdr): Add SHT_MIPS_XHASH.
39 (_bfd_mips_elf_fake_sections): Initialize .MIPS.xhash section
41 (_bfd_mips_elf_create_dynamic_sections): Create .MIPS.xhash
43 (_bfd_mips_elf_size_dynamic_sections): Add DT_MIPS_XHASH tag to
45 (_bfd_mips_elf_finish_synamic_sections): Add DT_MIPS_XHASH.
46 (_bfd_mips_elf_final_write_processing): Set .MIPS.xhash section
48 (_bfd_mips_elf_get_target_dtag): Get DT_MIPS_XHASH tag.
49 (MIPS_LIBC_ABI_XHASH): New ABI version enum value.
50 (_bfd_mips_post_process_headers): Mark the ABI version as
51 MIPS_LIBC_ABI_XHASH if there exists a .MIPS.xhash section,
52 but not a .hash section.
53 (_bfd_mips_elf_record_xhash_symbol): New function. Record a
54 position in the translation table, associated with the hash
56 * elfxx-mips.h (literal_reloc_p): Define
57 elf_backend_record_xhash_symbol backend hook.
58 * elfxx-target.h: Initialize elf_backend_record_xhash_symbol
61 2019-08-07 Jose E. Marchesi <jose.marchesi@oracle.com>
63 * elf64-bpf.c (bpf_elf_relocate_section): New function.
64 (bpf_elf_insn_disp_reloc): Delete function.
65 (elf_backend_relocate_section): Define.
67 2019-08-07 Alan Modra <amodra@gmail.com>
70 * archive64.c (_bfd_archive_64_bit_slurp_armap): Properly check
71 for overflow in expressions involving nsymz.
73 2019-08-01 Ilia Diachkov <ilia.diachkov@optimitech.com>
75 * elfnn-riscv.c (_bfd_riscv_relax_lui): Set lui relax safety area to
76 two pages in relro presence.
78 2019-08-01 Max Filippov <jcmvbkbc@gmail.com>
80 * elf32-xtensa.c (insn_num_slots, get_rsr_lend_opcode)
81 (get_wsr_lbeg_opcode): New functions.
82 (check_loop_aligned): Detect relaxed loops and adjust loop_len
83 and insn_len for the first actual instruction of the loop.
85 2019-07-30 Alan Modra <amodra@gmail.com>
88 * bfd.c (struct bfd): Add lto_slim_object flag.
89 * bfd-in2.h: Regenerate.
91 2019-07-29 Martin Liska <mliska@suse.cz>
94 * archive.c (_bfd_compute_and_write_armap): Come up with
95 report_plugin_err variable.
96 * bfd-in2.h (struct bfd): Add lto_slim_object flag.
97 * elf.c (struct lto_section): New.
98 (_bfd_elf_make_section_from_shdr): Parse content of
99 .gnu_lto_.lto section.
100 * elflink.c: Report error for a missing LTO plugin.
101 * linker.c (_bfd_generic_link_add_one_symbol): Likewise.
103 2019-07-28 Alan Modra <amodra@gmail.com>
107 * elflink.c (elf_link_add_object_symbols): Report an informative
108 error on finding local symbols with index equal or greater than
109 symbol table sh_info. Correct comment. Allow such symbols in
110 dynamic objects. Abort on NULL section for symbol.
112 2019-07-26 Alan Modra <amodra@gmail.com>
114 * elf-bfd.h (struct output_elf_obj_tdata): Delete "linker" field.
115 (elf_linker): Don't define.
116 * elflink.c (bfd_elf_final_link): Don't set elf_linker.
118 2019-07-25 YunQiang Su <syq@debian.org>
121 * elfxx-mips.c (mips_set_isa_flags): Default to MIPS 3 for 64-bit
124 2019-07-24 Claudiu Zissulescu <claziss@synopsys.com>
126 * elf32-arc.c (bfd_get_32_me): Add a small description, fix
128 (reloc_type_to_name): Fix formating.
129 (arc_elf_object_p): Likewise.
130 (debug_arc_reloc): Likewise.
131 (arc_do_relocation): Likewise.
133 2019-07-24 Claudiu Zissulescu <claziss@synopsys.com>
135 * elf32-arc.c (bfd_get_32_me): New function.
136 (bfd_put_32_me): Likewise.
137 (arc_elf_relax_section): Likewise.
138 (bfd_elf32_bfd_relax_section): Define.
140 2019-07-24 Alan Modra <amodra@gmail.com>
142 * elf-bfd.h (struct elf_backend_data): Return bfd_boolean from
143 elf_backend_final_write_processing, don't pass linker arg.
144 (_bfd_elf_final_write_processing): Update prototype.
145 * elf.c (_bfd_elf_write_object_contents): Adjust call.
146 (_bfd_elf_final_write_processing): Return error on incompatible
147 OSABI and has_gnu_osabi. Remove linker arg.
148 * elf-nacl.h (nacl_final_write_processing): Update prototype.
149 * elf-vxworks.h (elf_vxworks_final_write_processing): Likewise.
150 * elfxx-mips.h (_bfd_mips_final_write_processing): Likewise.
151 (_bfd_mips_elf_final_write_processing): Likewise.
152 * elf-hppa.h (elf_hppa_final_write_processing): Return status
153 and remove linker arg.
154 * elf-m10300.c (_bfd_mn10300_elf_final_write_processing): Likewise.
155 * elf-nacl.c (nacl_final_write_processing): Likewise.
156 * elf-vxworks.c (elf_vxworks_final_write_processing): Likewise.
157 * elf32-arc.c (arc_elf_final_write_processing): Likewise.
158 * elf32-arm.c (arm_final_write_processing): Likewise.
159 (elf32_arm_final_write_processing): Likewise.
160 (elf32_arm_nacl_final_write_processing): Likewise.
161 (elf32_arm_vxworks_final_write_processing): Likewise.
162 * elf32-avr.c (bfd_elf_avr_final_write_processing): Likewise.
163 * elf32-bfin.c (elf32_bfin_final_write_processing): Likewise.
164 * elf32-cr16.c (_bfd_cr16_elf_final_write_processing): Likewise.
165 * elf32-cris.c (cris_elf_final_write_processing): Likewise.
166 * elf32-h8300.c (elf32_h8_final_write_processing): Likewise.
167 * elf32-lm32.c (lm32_elf_final_write_processing): Likewise.
168 * elf32-m32r.c (m32r_elf_final_write_processing): Likewise.
169 * elf32-m68k.c (elf_m68k_final_write_processing): Likewise.
170 * elf32-mips.c (mips_vxworks_final_write_processing): Likewise.
171 * elf32-msp430.c (bfd_elf_msp430_final_write_processing): Likewise.
172 * elf32-nds32.c (nds32_elf_final_write_processing): Likewise.
173 * elf32-or1k.c (or1k_elf_final_write_processing): Likewise.
174 * elf32-pj.c (pj_elf_final_write_processing): Likewise.
175 * elf32-ppc.c (ppc_final_write_processing): Likewise.
176 (ppc_elf_final_write_processing): Likewise.
177 (ppc_elf_vxworks_final_write_processing): Likewise.
178 * elf32-sparc.c (sparc_final_write_processing): Likewise.
179 (elf32_sparc_final_write_processing): Likewise.
180 (elf32_sparc_vxworks_final_write_processing): Likewise.
181 * elf32-v850.c (v850_elf_final_write_processing): Likewise.
182 * elf32-xc16x.c (elf32_xc16x_final_write_processing): Likewise.
183 * elf32-xtensa.c (elf_xtensa_final_write_processing): Likewise.
184 * elf64-ia64-vms.c (elf64_vms_final_write_processing): Likewise.
185 * elfnn-ia64.c (elfNN_ia64_final_write_processing): Likewise.
186 * elfxx-mips.c (_bfd_mips_final_write_processing): Likewise.
187 (_bfd_mips_elf_final_write_processing): Likewise.
189 2019-07-24 Alan Modra <amodra@gmail.com>
191 * elf-vxworks.c (elf_vxworks_final_write_processing): Don't return
193 * elf32-arc.c (arc_elf_final_write_processing): Likewise.
194 * elf32-xtensa.c (elf_xtensa_final_write_processing): Likewise.
196 2019-07-24 Alan Modra <amodra@gmail.com>
198 * elf32-visium.c (visium_elf_post_process_headers): Don't set
199 EI_OSABI header byte here.
202 2019-07-23 Alan Modra <amodra@gmail.com>
204 * elf-bfd.h (enum elf_gnu_osabi): Add elf_gnu_osabi_mbind.
205 * elf.c (_bfd_elf_make_section_from_shdr): Set elf_gnu_osabi_mbind.
206 (get_program_header_size): Formatting. Only test SH_GNU_MBIND
207 when elf_gnu_osabi_mbind is set.
208 (_bfd_elf_map_sections_to_segments): Likewise.
209 (_bfd_elf_init_private_section_data): Likewise.
210 (_bfd_elf_final_write_processing): Update comment.
211 * elf64-hppa.c (elf64_hppa_special_sections): Move .tbss entry.
212 (elf_backend_special_sections): Define without .tbss for linux.
214 2019-07-23 Alan Modra <amodra@gmail.com>
216 * elf-bfd.h (enum elf_gnu_osabi): Rename from elf_gnu_symbols.
217 Remove none, any, all enums.
218 (struct elf_obj_tdata): Rename has_gnu_symbols field to has_gnu_osabi.
219 (_bfd_elf_final_write_processing): Declare.
220 * elf.c (_bfd_elf_write_object_contents): Unconditionally call
221 elf_backend_final_write_processing.
222 (_bfd_elf_post_process_headers): Move body of function to..
223 (_bfd_elf_final_write_processing): ..here, but set EI_OSABI byte
224 only when not already set. Adjust for rename.
225 * elfxx-target.h (elf_backend_final_write_processing): Default to
226 _bfd_elf_final_write_processing.
227 * elf-hppa.h (elf_hppa_final_write_processing): Call
228 _bfd_elf_final_write_processing.
229 * elf-m10300.c (_bfd_mn10300_elf_final_write_processing): Likewise.
230 * elf-nacl.c (nacl_final_write_processing): Likewise.
231 * elf-vxworks.c (elf_vxworks_final_write_processing): Likewise.
232 * elf32-arc.c (arc_elf_final_write_processing): Likewise.
233 * elf32-avr.c (bfd_elf_avr_final_write_processing): Likewise.
234 * elf32-bfin.c (elf32_bfin_final_write_processing): Likewise.
235 * elf32-cr16.c (_bfd_cr16_elf_final_write_processing): Likewise.
236 * elf32-cris.c (cris_elf_final_write_processing): Likewise.
237 * elf32-h8300.c (elf32_h8_final_write_processing): Likewise.
238 * elf32-lm32.c (lm32_elf_final_write_processing): Likewise.
239 * elf32-m32r.c (m32r_elf_final_write_processing): Likewise.
240 * elf32-m68k.c (elf_m68k_final_write_processing): Likewise.
241 * elf32-msp430.c (bfd_elf_msp430_final_write_processing): Likewise.
242 * elf32-nds32.c (nds32_elf_final_write_processing): Likewise.
243 * elf32-or1k.c (or1k_elf_final_write_processing): Likewise.
244 * elf32-pj.c (pj_elf_final_write_processing): Likewise.
245 * elf32-v850.c (v850_elf_final_write_processing): Likewise.
246 * elf32-xc16x.c (elf32_xc16x_final_write_processing): Likewise.
247 * elf32-xtensa.c (elf_xtensa_final_write_processing): Likewise.
248 * elf64-ia64-vms.c (elf64_vms_final_write_processing): Likewise.
249 * elfnn-ia64.c (elfNN_ia64_final_write_processing): Likewise.
250 * elf32-arm.c (arm_final_write_processing): Split out from..
251 (elf32_arm_final_write_processing): ..here. Call
252 _bfd_elf_final_write_processing.
253 (elf32_arm_nacl_final_write_processing): Adjust.
254 * elfxx-mips.c (_bfd_mips_final_write_processing): Split out from..
255 (_bfd_mips_elf_final_write_processing): ..here. Call
256 _bfd_elf_final_write_processing.
257 * elfxx-mips.h (_bfd_mips_final_write_processing): Declare.
258 * elf32-mips.c (mips_vxworks_final_write_processing): Adjust.
259 * elf32-ppc.c (ppc_final_write_processing): Split out from..
260 (ppc_elf_final_write_processing): ..here. Call
261 _bfd_elf_final_write_processing.
262 (ppc_elf_vxworks_final_write_processing): Adjust.
263 * elf32-sparc.c (sparc_final_write_processing): Split out from..
264 (elf32_sparc_final_write_processing): ..here. Call
265 _bfd_elf_final_write_processing.
266 (elf32_sparc_vxworks_final_write_processing): Adjust.
267 * elf32-d10v.c (elf_backend_final_write_processing): Don't define.
268 * elf32-d30v.c (elf_backend_final_write_processing): Don't define.
269 * elf32-m68hc11.c (elf_backend_final_write_processing): Don't define.
270 * elf32-m68hc12.c (elf_backend_final_write_processing): Don't define.
271 * elf32-s12z.c (elf_backend_final_write_processing): Don't define.
272 * elf32-i386.c (elf_i386_check_relocs): Don't set has_gnu_symbols.
273 * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
274 * elflink.c (elf_link_add_object_symbols): Likewise.
275 (elf_link_output_symstrtab): Set has_gnu_osabi for symbols here
278 2019-07-23 Omar Majid <omajid@redhat.com>
280 * coffcode.h (coff_set_arch_mach_hook): Handle I386_APPLE_MAGIC,
281 I386_FREEBSD_MAGIC, I386_LINUX_MAGIC, I386_NETBSD_MAGIC,
282 AMD64_APPLE_MAGIC, AMD64_FREEBSD_MAGIC, AMD64_LINUX_MAGIC,
284 * peXXigen.c: Add comment about source of .NET magic numbers.
286 2019-07-19 Alan Modra <amodra@gmail.com>
288 * reloc.c (BFD_RELOC_PPC64_TPREL34, BFD_RELOC_PPC64_DTPREL34),
289 (BFD_RELOC_PPC64_GOT_TLSGD34, BFD_RELOC_PPC64_GOT_TLSLD34),
290 (BFD_RELOC_PPC64_GOT_TPREL34, BFD_RELOC_PPC64_GOT_DTPREL34),
291 (BFD_RELOC_PPC64_TLS_PCREL): New pcrel tls relocs.
292 * elf64-ppc.c (ppc64_elf_howto_raw): Add howtos for pcrel tls relocs.
293 (ppc64_elf_reloc_type_lookup): Translate pcrel tls relocs.
294 (must_be_dyn_reloc, dec_dynrel_count): Add R_PPC64_TPREL64.
295 (ppc64_elf_check_relocs): Support pcrel tls relocs.
296 (ppc64_elf_tls_optimize, ppc64_elf_relocate_section): Likewise.
297 * bfd-in2.h: Regenerate.
298 * libbfd.h: Regenerate.
300 2019-07-18 Alan Modra <amodra@gmail.com>
302 * elf64-ppc.c (ppc64_elf_relocate_section): Don't bother selecting
303 a TLS section symbol for edited relocs. Tighten TLS symbol/reloc
306 2019-07-18 Alan Modra <amodra@gmail.com>
308 * elf64-ppc.c (TLS_EXPLICIT): Define as 256.
309 (ppc64_elf_check_relocs): Don't store TLS_EXPLICIT even if char
311 (ppc64_elf_tls_optimize): Likewise. Make tls_set, tls_clear, and
312 tls_type vars unsigned int.
313 (ppc64_elf_relocate_section): Use r_type rather than TLS_EXPLICIT
314 to select r_type edit.
316 2019-07-18 Alan Modra <amodra@gmail.com>
318 * elf32-ppc.c (TLS_GDIE): Rename from TLS_TPRELGD throughout file.
320 * elf64-ppc.c (TLS_GDIE): Likewise.
322 2019-07-18 Alan Modra <amodra@gmail.com>
324 * elf64-ppc.c (ppc64_elf_tls_optimize): Correct test for allowed
325 range of tp-relative offsets.
327 2019-07-15 Alan Modra <amodra@gmail.com>
329 * elflink.c (_bfd_elf_fix_symbol_flags): If the def for an
330 alias is no longer bfd_link_hash_defined, clear the alias.
332 2019-07-13 Alan Modra <amodra@gmail.com>
334 * elflink.c (_bfd_elf_omit_section_dynsym_default): Don't keep
336 (_bfd_elf_init_1_index_section): Prefer not using TLS sections.
337 (_bfd_elf_init_2_index_sections): Likewise.
338 * elf64-ppc.c (ppc64_elf_relocate_section): When emitting dynamic
339 relocations for local TLS symbols, use STN_UNDEF as the relocation
341 * elf32-ppc.c (ppc_elf_relocate_section): Likewise, and don't
342 leave TLS symbol value in the addend.
344 2019-07-08 Alan Modra <amodra@gmail.com>
347 * elf32-ppc.c (_bfd_elf_ppc_set_arch): Sanity check .PPC.EMB.apuinfo
348 size before reading first word.
350 2019-07-02 Nick Clifton <nickc@redhat.com>
353 * elf.c (is_debuginfo_file): New function.
354 (assign_file_positions_for_non_load_sections): Do not warn about
355 allocated sections outside of loadable segments if they are found
357 * elf-bfd.h (is_debuginfo_file): Prototype.
359 2019-07-02 Nick Clifton <nickc@redhat.com>
362 * compress.c (bfd_get_full_section_contents): Do not complain
363 about linker created sections that are larger than the file size.
365 2019-07-02 Christophe Lyon <christophe.lyon@linaro.org>
367 * bfd/elf32-arm.c (CMSE_STUB_NAME): New define.
368 (elf32_arm_get_stub_entry): Do not try to emit long-branch stubs
370 (arm_dedicated_stub_output_section_name): Use CMSE_STUB_NAME.
372 2019-07-02 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
374 * elf32-arm.c (elf32_arm_gc_mark_extra_sections): Mark debug
375 sections when .text section contain secure entry functions
378 2019-07-01 Nick Clifton <nickc@redhat.com>
381 * elf32-arm.c (elf32_arm_update_relocs): Do not include the
382 section VMA in the offset used to update exidx relocs.
384 2019-06-28 Nick Clifton <nickc@redhat.com>
387 * elf.c (_bfd_elf_slurp_version_tables): Check for an excessively
388 large version reference section.
389 * compress.c (bfd_get_full_section_contents): Check for an
390 uncompressed section whose size is larger than the file size.
392 2019-06-28 Alan Modra <amodra@gmail.com>
394 * format.c (bfd_check_format_matches): Don't match plugin target
395 if another target matches. Expand comment.
396 * targets.c (_bfd_target_vector): Move plugin_vec after all other
397 non-corefile targets, outside !SELECT_VECS.
398 * config.bfd: Don't handle targ=plugin here.
399 * configure.ac: Don't add plugin to enable_targets or handle in
400 target loop setting selvecs and other target vars.
401 * configure: Regenerate.
403 2019-06-26 Nick Clifton <nickc@redhat.com>
406 * mach-o-arm.c (bfd_mach_o_arm_canonicalize_one_reloc): Add error
407 messages for failures.
408 * mach-o.c (bfd_mach_o_canonicalize_relocs): Set an bfd error code
409 if returning an error value.
411 2019-06-25 Jan Beulich <jbeulich@suse.com>
413 * elf-properties.c (elf_find_and_remove_property): Rename last
414 parameter. Mention it in comment.
416 2019-06-24 Ilia Diachkov <ilia.diachkov@optimitech.com>
418 * elfnn-riscv.c (_bfd_riscv_relax_lui): Delete early exit when
419 SEC_MERGE or SEC_CODE flags are set.
420 (_bfd_riscv_relax_section): New local symtype. Set sym_sec and
421 symtype consistently. Don't include sec_addr (sym_sec) in symval.
422 Add check for SEC_INFO_TYPE_MERGE and call _bfd_merged_section_offset.
423 Add sec_addr (sym_sec) after handling merge sections.
425 2019-06-24 H.J. Lu <hongjiu.lu@intel.com>
428 * elf-properties.c (elf_merge_gnu_property_list): Remove the
429 property after reporting property removal.
431 2019-06-23 Alan Modra <amodra@gmail.com>
434 * elf64-ppc.c (R_PPC64_GOT16_DS): Don't set has_gotrel.
435 (ppc64_elf_edit_toc): Don't remove R_PPC64_GOT16_DS got entries.
436 Reduce range of offsets allowed for other GOT relocs.
438 2019-06-23 Alan Modra <amodra@gmail.com>
441 * elfcode.h (elf_object_p): Warning fix.
443 2019-06-21 Alan Modra <amodra@gmail.com>
446 * elfcode.h (elf_object_p): Check type of e_shstrndx section.
448 2019-06-19 Alan Modra <amodra@gmail.com>
451 * elf32-ppc.c (ppc_elf_relocate_section): Don't read insn for
452 R_PPC_EMB_RELSDA. Mask low bit of R_PPC_EMB_SDA21 r_offset.
454 2019-06-19 Alan Modra <amodra@gmail.com>
456 * elf64-ppc.c (ppc64_elf_inline_plt): Correct st_other test for
457 functions that require r2 valid to use local entry.
458 (ppc64_elf_size_stubs, ppc64_elf_relocate_section): Likewise.
460 2019-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
462 * elfnn-aarch64.c (elfNN_aarch64_allocate_local_dynrelocs): Remove.
463 (elfNN_aarch64_size_dynamic_sections): Remove loc_hash_table traversal
464 with elfNN_aarch64_allocate_local_dynrelocs.
466 2019-06-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
468 * elfnn-aarch64.c: Enable MOVW_PREL relocs for ELF32.
470 2019-06-14 Alan Modra <amodra@gmail.com>
472 * Makefile.in: Regenerate.
473 * configure: Regenerate.
475 2019-06-14 Alan Modra <amodra@gmail.com>
477 * elf64-ppc.c: Fix comments involving paddi.
479 2019-06-12 Adam Lackorzymski <adam@os.inf.tu-dresden.de>
482 * elf32-arm.c (arm_elf_find_function): Fail if the symol table is
483 absent, or the bfd is not in the ELF formart.
484 * elfnn-aarch64.c (aarch64_elf_find_function): Likewise.
486 2019-06-10 Christos Zoulas <christos@zoulas.com>
489 * elf.c (elfcore_make_auxv_note_section): New function.
490 (elfcore_grok_note): Use it.
491 (elfcore_grok_freebsd_note): Likewise.
492 (elfcore_grok_openbsd_note): Likewise.
493 (elfcore_grok_netbsd_note): Likewise. Plus add support for
494 NT_NETBSDCORE_AUXV notes.
496 2019-06-06 Sudakshina Das <sudi.das@arm.com>
498 * elfxx-aarch64.c (_bfd_aarch64_elf_link_setup_gnu_properties): Set
499 alignment of the new gnu property section.
501 2019-06-06 Sudakshina Das <sudi.das@arm.com>
503 * bfd-in.h: Change comment.
504 * bfd-in2.h: Regenerate.
505 * elfnn-aarch64.c (elfNN_aarch64_merge_gnu_properties): Update warning.
506 * elfxx-aarch64.c (_bfd_aarch64_elf_link_setup_gnu_properties):
509 2019-05-28 Faraz Shahbazker <fshahbazker@wavecomp.com>
511 * elfxx-mips.c (mips_elf_calculate_relocation) <R_MIPS_PCHI16>:
512 Remove overflow check.
514 2019-05-28 Alan Modra <amodra@gmail.com>
517 * cofflink.c (coff_link_check_archive_element): Don't assume
518 element is a coff object file after calling add_archive_element.
520 2019-05-28 Alan Modra <amodra@gmail.com>
523 * elf32-microblaze.c (microblaze_elf_finish_dynamic_sections): Don't
524 attempt to set sh_entsize for excluded PLT section.
526 2019-05-28 Alan Modra <amodra@gmail.com>
529 * elf64-alpha.c (elf64_alpha_relocate_section): Don't attempt
530 to emit R_ALPHA_GOTTPREL in PIEs, for which no space is
531 allocated in alpha_dynamic_entries_for_reloc.
533 2019-05-28 Alan Modra <amodra@gmail.com>
536 * elf32-lm32.c (lm32_elf_finish_dynamic_sections): Don't segfault
537 on NULL output_section.
538 * elflink.c (elf_final_link_free): Don't free -1 symshndxbuf.
540 2019-05-28 Alan Modra <amodra@gmail.com>
543 * elf32-m68k.c (elf_m68k_get_got_entry): Don't create a new
544 entry when MUST_FIND. Abort when MUST_FIND not found.
545 (elf_m68k_get_bfd2got_entry): Likewise.
546 (elf_m68k_relocate_section): Remove now useless assert.
548 2019-05-28 Alan Modra <amodra@gmail.com>
551 * elf64-hppa.c (elf64_hppa_finalize_dynreloc): Get the output bfd
552 from bfd_link_info, not an output section owner.
553 (elf64_hppa_finish_dynamic_symbol, elf64_hppa_finalize_opd): Likewise.
554 (elf_hppa_final_link_relocate): Likewise.
556 2019-05-28 Alan Modra <amodra@gmail.com>
559 * aout-tic30.c (MY_bfd_final_link): Don't segfault on missing
560 create_object_symbols_section, obj_textsec, obj_datasec or
561 obj_bsssec. Fix other errors in placement.
562 * config.bfd: Obsolete tic30-aout.
564 2019-05-28 Alan Modra <amodra@gmail.com>
567 * dwarf2.c (save_section_vma, section_vma_same): Check for NULL
568 end of section list as well as section_count.
569 * xcofflink.c (xcoff_link_add_symbols): Fix temporarily changed
570 section list before returning error.
572 2019-05-27 Alan Modra <amodra@gmail.com>
574 * elf.c (bfd_elf_set_group_contents): Exit on zero size section.
576 2019-05-27 Alan Modra <amodra@gmail.com>
579 * linker.c (_bfd_generic_link_output_symbols): Heed BSF_KEEP.
581 2019-05-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
583 * elfnn-aarch64.c (elfNN_aarch64_merge_symbol_attribute): New function.
584 (struct elf_aarch64_link_hash_table): Add variant_pcs member.
585 (elfNN_aarch64_allocate_dynrelocs): Update variant_pcs.
586 (elfNN_aarch64_size_dynamic_sections): Add DT_AARCH64_VARIANT_PCS.
587 (elf_backend_merge_symbol_attribute): Define.
589 2019-05-24 Alan Modra <amodra@gmail.com>
591 * po/SRC-POTFILES.in: Regenerate.
593 2019-05-24 Alan Modra <amodra@gmail.com>
595 * elf64-ppc.c: Comment on powerxx _notoc stub variants.
596 (LI_R11_0, LIS_R11, ORI_R11_R11_0, SLDI_R11_R11_34): Define.
597 (PADDI_R12_PC, PLD_R12_PC, D34, HA34): Define.
598 (struct ppc_link_hash_table): Add powerxx_stubs.
599 (ppc64_elf_check_relocs): Set powerxx_stubs.
600 (build_powerxx_offset, size_powerxx_offset),
601 (num_relocs_for_powerxx_offset),
602 (emit_relocs_for_powerxx_offset): New functions.
603 (plt_stub_size): Size powerxx stubs.
604 (ppc_build_one_stub): Emit powerxx stubs.
605 (ppc_size_one_stub): Size powerxx stubs. Omit .eh_frame for
608 2019-05-24 Alan Modra <amodra@gmail.com>
610 * elf64-ppc.c (ppc64_elf_check_relocs): Set has_gotrel for
612 (xlate_pcrel_opt): New function.
613 (ppc64_elf_edit_toc): Handle R_PPC64_GOT_PCREL34.
614 (ppc64_elf_relocate_section): Edit GOT indirect to GOT relative
615 for R_PPC64_GOT_PCREL34. Implement R_PPC64_PCREL_OPT optimisation.
617 2019-05-24 Alan Modra <amodra@gmail.com>
619 * reloc.c (BFD_RELOC_PPC64_D34, BFD_RELOC_PPC64_D34_LO),
620 (BFD_RELOC_PPC64_D34_HI30, BFD_RELOC_PPC64_D34_HA30),
621 (BFD_RELOC_PPC64_PCREL34, BFD_RELOC_PPC64_GOT_PCREL34),
622 (BFD_RELOC_PPC64_PLT_PCREL34),
623 (BFD_RELOC_PPC64_ADDR16_HIGHER34, BFD_RELOC_PPC64_ADDR16_HIGHERA34),
624 (BFD_RELOC_PPC64_ADDR16_HIGHEST34, BFD_RELOC_PPC64_ADDR16_HIGHESTA34),
625 (BFD_RELOC_PPC64_REL16_HIGHER34, BFD_RELOC_PPC64_REL16_HIGHERA34),
626 (BFD_RELOC_PPC64_REL16_HIGHEST34, BFD_RELOC_PPC64_REL16_HIGHESTA34),
627 (BFD_RELOC_PPC64_D28, BFD_RELOC_PPC64_PCREL28): New reloc enums.
628 * elf64-ppc.c (PNOP): Define.
629 (ppc64_elf_howto_raw): Add reloc howtos for new relocations.
630 (ppc64_elf_reloc_type_lookup): Translate new bfd reloc numbers.
631 (ppc64_elf_ha_reloc): Adjust addend for highera34 and highesta34
633 (ppc64_elf_prefix_reloc): New function.
634 (struct ppc_link_hash_table): Add notoc_plt.
635 (is_branch_reloc): Add R_PPC64_PLTCALL_NOTOC.
636 (is_plt_seq_reloc): Add R_PPC64_PLT_PCREL34,
637 R_PPC64_PLT_PCREL34_NOTOC, and R_PPC64_PLTSEQ_NOTOC.
638 (ppc64_elf_check_relocs): Handle pcrel got and plt relocs. Set
639 has_pltcall for section on seeing R_PPC64_PLTCALL_NOTOC. Handle
640 possible need for dynamic relocs on non-pcrel powerxx relocs.
641 (dec_dynrel_count): Handle non-pcrel powerxx relocs.
642 (ppc64_elf_inline_plt): Handle R_PPC64_PLTCALL_NOTOC.
643 (toc_adjusting_stub_needed): Likewise.
644 (ppc64_elf_tls_optimize): Handle R_PPC64_PLTSEQ_NOTOC.
645 (ppc64_elf_relocate_section): Handle new powerxx relocs.
646 * bfd-in2.h: Regenerate.
647 * libbfd.h: Regenerate.
649 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
651 * config.bfd (targ_cpu): Process bpf-*-none only if BFD64.
652 * configure.ac: Set target_size=64 for bpf_elf64_le_vec and
654 * configure: Regenerate.
656 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
658 * configure: Regenerated.
659 * Makefile.am (ALL_MACHINES): Add cpu-bpf.lo.
660 (ALL_MACHINES_CFILES): Add cpu-bpf.c.
661 (BFD64_BACKENDS): Add elf64-bpf.lo.
662 (BFD64_BACKENDS_CFILES): Add elf64-bpf.c.
663 * Makefile.in (SOURCE_HFILES): Regenerate.
664 * config.bfd (targ_cpu): Handle bpf-*-* targets.
665 * cpu-bpf.c: New file.
666 * elf64-bpf.c: Likewise.
667 * targets.c (_bfd_target_vector): Add bpf_elf64_be_vec and
669 * archures.c: Define architecture bfd_arch_bpf and machine
671 * reloc.c: Define BFD relocations used by the BPF target.
672 * bfd-in2.h: Regenerated.
673 * libbfd.h: Likewise.
675 2019-05-22 Alan Modra <amodra@gmail.com>
677 * elf32-arm.c (arm_allocate_glue_section_space): Clear section
680 2019-05-22 Alan Modra <amodra@gmail.com>
682 * vms-alpha.c (_bfd_vms_write_etir): Don't attempt further
683 processing on "size error in section".
685 2019-05-22 Alan Modra <amodra@gmail.com>
687 * som.c (som_bfd_free_cached_info): Call
688 _bfd_generic_close_and_cleanup.
690 2019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com>
692 * elfxx-mips.c (_bfd_mips_elf_check_relocs): Generate error
693 for TLS_TPREL_HI16(/LO16) relocations in shared library.
695 2019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com>
697 * elfxx-mips.c (_bfd_mips_elf_check_relocs): Add NULL pointer
698 checks. Search the RELA table for n64 relocations.
700 2019-05-21 Matthew Fortune <matthew.fortune@mips.com>
701 Faraz Shahbazker <fshahbazker@wavecomp.com>
703 * elfxx-mips.c (LA25_BC): New macro.
704 (mips_elf_link_hash_table)<compact_branches>: New field.
705 (STUB_JALRC): New macro.
706 (mipsr6_o32_exec_plt0_entry_compact): New array.
707 (mipsr6_n32_exec_plt0_entry_compact): Likewise.
708 (mipsr6_n64_exec_plt0_entry_compact): Likewise.
709 (mipsr6_exec_plt_entry_compact): Likewise.
710 (mips_elf_create_la25_stub): Use BC instead of J for stubs
711 when compact_branches is true.
712 (_bfd_mips_elf_finish_dynamic_symbol): Choose the compact
713 PLT for MIPSR6 with compact_branches. Do not reorder the
714 compact branches PLT. Switch the lazy stub for MIPSR6
715 with compact_branches to use JALRC.
716 (mips_finish_exec_plt): Choose the compact PLT0 for MIPSR6
717 when compact_branches is true.
718 (_bfd_mips_elf_compact_branches): New function.
719 * elfxx-mips.h (_bfd_mips_elf_compact_branches): New prototype.
721 2019-05-21 Tamar Christina <tamar.christina@arm.com>
724 * elfnn-aarch64.c (_bfd_aarch64_erratum_843419_branch_to_stub):
727 2019-05-21 Andre Vieira <andre.simoesdiasvieira@arm.com>
730 * elf32-arm.c (get_value_helper): Remove.
731 (elf32_arm_final_link_relocate): Fix branch future relocations.
733 2019-05-21 Tamar Christina <tamar.christina@arm.com>
736 * bfd-in.h (enum erratum_84319_opts): New
737 (bfd_elf64_aarch64_set_options, bfd_elf32_aarch64_set_options): Change
738 int to enum erratum_84319_opts.
739 * bfd-in2.h: Regenerate.
740 * elfnn-aarch64.c (struct elf_aarch64_link_hash_table): Change
741 fix_erratum_843419 to use new enum, remove fix_erratum_843419_adr.
742 (_bfd_aarch64_add_stub_entry_after): Conditionally create erratum stub.
743 (aarch64_size_one_stub): Conditionally size erratum 843419 stubs.
744 (_bfd_aarch64_resize_stubs): Amend comment.
745 (elfNN_aarch64_size_stubs): Don't generate stubs when no workaround
747 (bfd_elfNN_aarch64_set_options): Use new fix_erratum_843419 enum.
748 (_bfd_aarch64_erratum_843419_branch_to_stub): Implement selection of
750 (clear_erratum_843419_entry): Update erratum conditional.
752 2019-05-21 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
755 * bfd/elf32-avr.c (elf32_avr_relax_section): Adjust range check
756 when computing distance_short_enough.
758 2019-05-21 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
761 * bfd/elf32-avr.c (avr_relative_distance_considering_wrap_around):
762 Wrap around even if distance equals avr_pc_wrap_around.
764 2019-05-20 Nick Clifton <nickc@redhat.com>
766 * po/fr.po: Updated French translation.
768 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
770 * elf32-arm.c (elf32_arm_merge_eabi_attributes): Add case for Tag_MVE_arch.
772 2019-05-16 Alan Modra <amodra@gmail.com>
774 * elf32-arm.c (elf32_arm_write_section): Revert last change.
776 2019-05-15 Alan Modra <amodra@gmail.com>
778 * elf32-arm.c (elf32_arm_write_section): Don't leave
779 error case of STM32L4XX_ERRATUM_BRANCH_TO_VENEER with
780 unitialised section contents.
782 2019-05-14 Jamey Hicks <jamey.hicks@gmail.com>
785 * verilog.c: (VerilogDataWidth): New variable.
786 (verilog_write_record): Emit bytes in VerilogDataWidth bundles.
788 2019-05-08 Nick Clifton <nickc@redhat.com>
791 * elf32-m68k.c (elf32_m68k_merge_private_bfd_data): Return TRUE
792 rather than FALSE if encountering a non-ELF file.
794 2019-05-06 Alan Modra <amodra@gmail.com>
796 * elf32-pj.c (pj_elf_reloc): Don't report undefined weak as an error.
798 2019-05-06 Alan Modra <amodra@gmail.com>
800 * reloc.c (BFD_RELOC_PPC64_TPREL16_HIGH, BFD_RELOC_PPC64_TPREL16_HIGHA),
801 (BFD_RELOC_PPC64_DTPREL16_HIGH, BFD_RELOC_PPC64_DTPREL16_HIGHA):
802 Sort before BFD_RELOC_PPC64_DTPREL16_HIGHESTA entry.
803 * libbfd.h: Regenerate.
804 * bfd-in2.h: Regenerate.
806 2019-05-04 Alan Modra <amodra@gmail.com>
809 * syms.c (coff_section_type): Only allow '.', '$' and numeric
810 following the standard section names.
811 (bfd_decode_symclass): Prioritize section flag tests in
812 decode_section_type before name tests in coff_section_type.
813 * plugin.c (bfd_plugin_canonicalize_symtab): Init fake_section
814 and fake_common_section using BFD_FAKE_SECTION. Use "fake" as
815 their names and choose standard .text section flags for
818 2019-05-02 Nick Clifton <nickc@redhat.com>
821 * coffcode.h (styp_to_sec_flags): Treat .gnu.debuglink and
822 .gnu.debugaltlink sections as debugging sections.
824 2019-04-30 Alan Modra <amodra@gmail.com>
826 * elf64-ppc.c (struct ppc64_elf_obj_tdata): Add has_gotrel.
827 (struct _ppc64_elf_section_data): Likewise.
828 (ppc64_elf_check_relocs): Set above fields.
829 (ppc64_elf_edit_toc): Add a pass over GOT relocs.
830 (ppc64_elf_relocate_section): Edit GOT indirect to GOT relative
833 2019-04-26 H.J. Lu <hongjiu.lu@intel.com>
836 * elflink.c (elf_link_output_extsym): Don't complain undefined
837 weak dynamic reference.
839 2019-04-25 Sudakshina Das <sudi.das@arm.com>
841 * elfnn-aarch64.c (PLT_BTI_ENTRY_SIZE): Remove.
842 (PLT_BTI_TLSDESC_ENTRY_SIZE): Remove.
843 (PLT_PAC_ENTRY_SIZE, PLT_BTI_PAC_ENTRY_SIZE): Remove.
844 (PLT_BTI_SMALL_ENTRY_SIZE, PLT_PAC_SMALL_ENTRY_SIZE): Update.
845 (elfNN_aarch64_small_plt0_pac_entry): Remove.
846 (elfNN_aarch64_small_plt0_bti_pac_entry): Remove.
847 (elfNN_aarch64_small_plt0_bti_entry): Update.
848 (elfNN_aarch64_small_plt_bti_entry): Update.
849 (elfNN_aarch64_small_plt_pac_entry): Update.
850 (elfNN_aarch64_tlsdesc_small_plt_bti_entry): Update.
851 (setup_plt_values): Setup new entries.
852 (elfNN_aarch64_finish_dynamic_sections): Remove size change.
853 (elfNN_aarch64_plt_sym_val): Likewise.
855 2019-04-22 Jim Wilson <jimw@sifive.com>
857 * elfnn-riscv.c (PRSTATUS_SIZE) [ARCH_SIZE==32]: Change from 0 to 204.
859 2019-04-19 Alan Modra <amodra@gmail.com>
861 * elf32-s12z.c (elf_backend_can_gc_sections): Don't define
863 2019-04-17 H.J. Lu <hongjiu.lu@intel.com>
865 * elf64-x86-64.c (elf_x86_64_need_pic): Suggest -fPIE when not
866 building shared object.
867 * elfxx-x86.c (_bfd_x86_elf_size_dynamic_sections): Likewise.
869 2019-04-17 H.J. Lu <hongjiu.lu@intel.com>
872 * elfxx-x86.h (SYMBOL_DEFINED_NON_SHARED_P): Also check x86
875 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
877 * reloc.c (BFD_RELOC_ARM_T32_VLDR_VSTR_OFF_IMM): New internal
879 * bfd-in2.h: Regenerate.
880 * libbfd.h: Likewise.
882 2019-04-15 Sudakshina Das <sudi.das@arm.com>
884 * reloc.c (BFD_RELOC_ARM_THUMB_LOOP12): New.
885 * bfd-in2.h: Regenerated.
886 * libbfd.h: Regenerated.
888 2019-04-15 Sudakshina Das <sudi.das@arm.com>
890 * reloc.c (BFD_RELOC_THUMB_PCREL_BFCSEL): New relocation.
891 * bfd-in2.h: Regenerated.
892 * libbfd.h: Likewise.
894 2019-04-15 Sudakshina Das <sudi.das@arm.com>
896 * reloc.c (BFD_RELOC_ARM_THUMB_BF13): New.
897 * bfd-in2.h: Regenerated.
898 * libbfd.h: Regenerated.
899 * elf32-arm.c (elf32_arm_howto_table_1): New entry for R_ARM_THM_BF13.
900 (elf32_arm_reloc_map elf32_arm_reloc_map): Map BFD_RELOC_ARM_THUMB_BF13
901 and R_ARM_THM_BF12 together.
902 (elf32_arm_final_link_relocate): New switch case for R_ARM_THM_BF13.
904 2019-04-15 Sudakshina Das <sudi.das@arm.com>
906 * reloc.c (BFD_RELOC_ARM_THUMB_BF19): New
907 * libbfd.h: Regenerated.
908 * bfd-in2.h: Regenerated.
909 * bfd-elf32-arm.c (elf32_arm_howto_table_1): New entry for R_ARM_THM_BF18.
910 (elf32_arm_reloc_map elf32_arm_reloc_map): Map BFD_RELOC_ARM_THUMB_BF19
911 and R_ARM_THM_BF18 together.
912 (elf32_arm_final_link_relocate): New switch case for R_ARM_THM_BF19.
914 2019-04-15 Sudakshina Das <sudi.das@arm.com>
916 * reloc.c (BFD_RELOC_ARM_THUMB_BF17): New enum.
917 * bfd-in2.h: Regenerated.
918 * libbfd.h: Regenerated.
919 * bfd-elf32-arm.c (elf32_arm_howto_table_1): New entry for R_ARM_THM_BF16.
920 (elf32_arm_reloc_map elf32_arm_reloc_map): Map BFD_RELOC_ARM_THUMB_BF17
921 and R_ARM_THM_BF16 together.
922 (get_value_helper): New reloc helper.
923 (elf32_arm_final_link_relocate): New switch case for R_ARM_THM_BF16.
925 2019-04-15 Sudakshina Das <sudi.das@arm.com>
927 * reloc.c (BFD_RELOC_THUMB_PCREL_BRANCH5): New enum.
928 * bfd-in2.h: Regenerate.
929 * libbfd.h: Regenerate.
931 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
933 * archures.c (bfd_mach_arm_8_1M_MAIN): Define.
934 * bfd-in2.h: Regenerate.
935 * cpu-arm.c (arch_info_struct): Add entry for Armv8.1-M Mainline.
936 * elf32-arm.c (using_thumb_only): Return true for Armv8.1-M Mainline
938 (using_thumb2): Likewise.
939 (using_thumb2_bl): Update assert.
940 (arch_has_arm_nop): Likewise.
941 (bfd_arm_get_mach_from_attributes): Add case for Armv8.1-M Mainline.
942 (tag_cpu_arch_combine): Add logic for Armv8.1-M Mainline merging.
944 2019-04-11 H.J. Lu <hongjiu.lu@intel.com>
946 * elf-linker-x86.h (elf_x86_cet_report): New.
947 (elf_linker_x86_params): Add cet_report.
948 * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Report
949 missing IBT and SHSTK properties if needed.
951 2019-04-11 H.J. Lu <hongjiu.lu@intel.com>
954 * elf-m10300.c (mn10300_elf_check_relocs): Remove BFD_ASSERT of
955 "h != NULL". Don't check "h != NULL" before calling.
956 bfd_elf_gc_record_vtentry.
957 * elf32-arm.c (elf32_arm_check_relocs): Likewise.
958 * elf32-bfin.c (bfin_check_relocs): Likewise.
959 * elf32-cris.c (cris_elf_check_relocs): Likewise.
960 * elf32-csky.c (csky_elf_check_relocs): Likewise.
961 * elf32-d10v.c (elf32_d10v_check_relocs): Likewise.
962 * elf32-dlx.c (elf32_dlx_check_relocs): Likewise.
963 * elf32-fr30.c (fr30_elf_check_relocs): Likewise.
964 * elf32-frv.c (elf32_frv_check_relocs): Likewise.
965 * elf32-hppa.c (elf32_hppa_check_relocs): Likewise.
966 * elf32-i386.c (elf_i386_check_relocs): Likewise.
967 * elf32-iq2000.c (iq2000_elf_check_relocs): Likewise.
968 * elf32-m32r.c (m32r_elf_check_relocs): Likewise.
969 * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise.
970 * elf32-m68k.c (elf_m68k_check_relocs): Likewise.
971 * elf32-mcore.c (mcore_elf_check_relocs): Likewise.
972 * elf32-metag.c (elf_metag_check_relocs): Likewise.
973 * elf32-or1k.c (or1k_elf_check_relocs): Likewise.
974 * elf32-ppc.c (ppc_elf_check_relocs): Likewise.
975 * elf32-s390.c (elf_s390_check_relocs): Likewise.
976 * elf32-sh.c (sh_elf_check_relocs): Likewise.
977 * elf32-v850.c (v850_elf_check_relocs): Likewise.
978 * elf32-vax.c (elf_vax_check_relocs): Likewise.
979 * elf32-xstormy16.c (xstormy16_elf_check_relocs): Likewise.
980 * elf32-xtensa.c (elf_xtensa_check_relocs): Likewise.
981 * elf64-mmix.c (mmix_elf_check_relocs): Likewise.
982 * elf64-ppc.c (ppc64_elf_check_relocs): Likewise.
983 * elf64-s390.c (elf_s390_check_relocs): Likewise.
984 * elf64-x86-64.c (elf_s390_check_relocs): Likewise.
985 * elfxx-mips.c (_bfd_mips_elf_check_relocs): Likewise.
986 * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise.
987 * elflink.c (bfd_elf_gc_record_vtinherit): Check for corrupt
990 2019-04-11 Alan Modra <amodra@gmail.com>
993 * elflink.c (elf_link_add_object_symbols): Don't read partial
994 dynamic entries from fuzzed objects.
996 2019-04-11 Tamar Christina <tamar.christina@arm.com>
999 * elfnn-aarch64.c (elfNN_aarch64_size_dynamic_sections): Don't emit
1000 DT_TLSDESC_GOT and DT_TLSDESC_PLT when DF_BIND_NOW.
1001 (elfNN_aarch64_finish_dynamic_sections): Don't write PLT if DF_BIND_NOW.
1003 2019-04-10 Michael Forney <mforney@mforney.org>
1006 * doc/chew.c (free_words): Correctly free "push_text" strings.
1008 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
1010 * config.bfd: Remove i[3-7]86-*-kaos* and i[3-7]86-*-chaos targets.
1012 2019-04-08 Alan Modra <amodra@gmail.com>
1014 * configure.ac (elfxx_x86): Define and use.
1015 * configure: Regenerate.
1017 2019-04-06 H.J. Lu <hongjiu.lu@intel.com>
1019 * elf-linker-x86.h: New file.
1020 * elf32-i386.c (elf_i386_convert_load_reloc): Use htab->params
1021 to get x86-specific linker options.
1022 * elf64-x86-64.c (elf_x86_64_convert_load_reloc): Likewise.
1023 (elf_x86_64_check_relocs): Likewise.
1024 (elf_x86_64_relocate_section): Likewise.
1025 (elf_x86_64_link_setup_gnu_properties): Likewise.
1026 * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Likewise.
1027 (_bfd_x86_elf_link_setup_gnu_properties): Likewise.
1028 (_bfd_elf_linker_x86_set_options): New function.
1029 * elfxx-x86.h: Include "elf-linker-x86.h".
1030 (elf_x86_link_hash_table): Add params.
1032 2019-04-03 Alan Modra <amodra@gmail.com>
1034 * coff-i386.c, * coff-x86_64.c, * coffgen.c, * dwarf2.c,
1035 * elf-m10200.c, * elf.c, * elf32-arm.c, * elf32-bfin.c,
1036 * elf32-csky.c, * elf32-m32r.c, * elf32-microblaze.c, * elf32-pru.c,
1037 * elf32-rx.c, * elf32-xgate.c, * elf64-sparc.c, * elfnn-ia64.c,
1038 * elfxx-riscv.c, * elfxx-sparc.c, * linker.c, * mach-o.c,
1039 * pe-x86_64.c, * pei-x86_64.c, * plugin.c: Whitespace fixes.
1041 2019-04-02 Jim Wilson <jimw@sifive.com>
1044 * elfnn-riscv.c (_bfd_riscv_elf_merge_private_bfd_data): Move read of
1045 ELF header flags to after check for ELF object file. Loop through
1046 sections looking for code sections, if none, then skip ABI checks.
1048 2019-03-30 Andrew Waterman <andrew@sifive.com>
1050 * elfnn-riscv.c (_bfd_riscv_relax_call): Only check ARCH_SIZE for
1053 2019-03-29 Max Filippov <jcmvbkbc@gmail.com>
1055 * elf32-xtensa.c (shrink_dynamic_reloc_sections): Add
1056 info->export_dynamic to the conditional.
1058 2019-03-28 Alan Modra <amodra@gmail.com>
1061 * configure.ac: Invoke AC_CHECK_SIZEOF(int).
1062 * configure: Regenerate.
1063 * coffgen.c (coff_get_reloc_upper_bound): Replace gcc diagnostic
1064 workaround with SIZEOF_LONG vs. SIZEOF_INT check.
1065 * elf.c (_bfd_elf_get_reloc_upper_bound): Likewise.
1066 * elf64-sparc.c (elf64_sparc_get_reloc_upper_bound): Likewise.
1067 * mach-o.c (bfd_mach_o_get_reloc_upper_bound): Likewise.
1069 2019-03-21 Jim Wilson <jimw@sifive.com>
1072 * elfnn-riscv.c (riscv_elf_relocate_section): For STT_SECTION check,
1073 verify sym non-NULL before using. Add identical check using h.
1075 2019-03-21 Sudakshina Das <sudi.das@arm.com>
1077 * elf-bfd.h (struct elf_backend_data): Add argument to
1078 merge_gnu_properties.
1079 * elf-properties.c (elf_merge_gnu_properties): Add argument to
1080 itself and while calling bed->merge_gnu_properties.
1081 (elf_merge_gnu_property_list): Update the calls for
1082 elf_merge_gnu_properties.
1083 * elfnn-aarch64.c (elfNN_aarch64_merge_gnu_properties): Update handling
1084 of --force-bti warning and add argument.
1085 * elfxx-aarch64.c (_bfd_aarch64_elf_link_setup_gnu_properties): Add
1087 * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Add argument.
1088 * elfxx-x86.h (_bfd_x86_elf_merge_gnu_properties): Likewise in
1091 2019-03-20 Sudakshina Das <sudi.das@arm.com>
1093 * elfxx-aarch64.c (_bfd_aarch64_elf_link_fixup_gnu_properties): Define.
1094 * elfxx-aarch64.h (_bfd_aarch64_elf_link_fixup_gnu_properties): Declare.
1095 (elf_backend_fixup_gnu_properties): Define for AArch64.
1097 2019-03-18 Alan Modra <amodra@gmail.com>
1100 * elf32-ppc.c (ppc_finish_symbols): Don't call write_glink_stub
1101 for local iplt syms with ent->plt.offset == -1. Remove ineffective
1102 attempt at writing glink stubs only once.
1104 2019-03-16 Alan Modra <amodra@gmail.com>
1107 * elf.c (_bfd_elf_rela_local_sym): Revert last change.
1108 (_bfd_elf_rel_local_sym): Likewise.
1109 * elflink.c (elf_link_input_bfd): Use bfd_und_section for
1110 section of symbols with unrecognized shndx.
1112 2019-03-15 H.J. Lu <hongjiu.lu@intel.com>
1115 * coffgen.c (_bfd_coff_section_already_linked): Skip discarded
1117 * cofflink.c (coff_link_add_symbols): Check for symbols defined
1118 in discarded section.
1120 2019-03-15 Alan Modra <amodra@gmail.com>
1123 * elflink.c (elf_link_add_object_symbols): Bail out on a local
1124 symbol after globals if elf_bad_symtab is not set.
1126 2019-03-15 Alan Modra <amodra@gmail.com>
1129 * elf.c (_bfd_elf_rela_local_sym): Don't segfault on NULL sec.
1130 (_bfd_elf_rel_local_sym): Likewise.
1132 2019-03-15 Alan Modra <amodra@gmail.com>
1135 * elflink.c (elf_link_read_relocs_from_section): Handle fuzzed
1136 object files with sh_size not a multiple of sh_entsize.
1138 2019-03-15 H.J. Lu <hongjiu.lu@intel.com>
1141 * elf64-x86-64.c (elf_x86_64_relocate_section): Check for corrupt
1142 input with bad relocation.
1144 22019-03-15 H.J. Lu <hongjiu.lu@intel.com>
1146 * elf64-x86-64.c (elf_x86_64_relocate_section): Re-indent.
1148 2019-03-14 Nick Clifton <nickc@redhat.com>
1151 * dwarf2.c (struct dwarf2_debug): Add sec_vma_count field.
1152 (save_section_vma): Initialise field to the number of entries in
1154 (section_vma_same): Check that the number of entries in the
1155 sec_vma table matches the number of sections in the bfd.
1157 2019-03-14 Nick Clifton <nickc@redhat.com>
1160 * elflink.c (_bfd_elf_add_default_symbol): Add a check for a NULL
1161 section owner pointer when adding the default symbol.
1163 2019-03-14 Nick Clifton <nickc@redhat.com>
1166 * elflink.c (elf_link_add_object_symbols): Add new local variable
1167 extversym_end. Initialise it to point to the end of the version
1168 symbol table, if present. Check it when initialising and updating
1171 2019-03-13 Sudakshina Das <sudi.das@arm.com>
1173 * elfnn-aarch64.c (PLT_PAC_ENTRY_SIZE, PLT_PAC_SMALL_ENTRY_SIZE): New.
1174 (PLT_BTI_PAC_ENTRY_SIZE, PLT_BTI_PAC_SMALL_ENTRY_SIZE): New.
1175 (setup_plt_values): Account for PAC or PAC and BTI enabled PLTs.
1176 (elfNN_aarch64_size_dynamic_sections): Add checks for PLT_BTI_PAC
1178 (elfNN_aarch64_finish_dynamic_sections): Account for PLT_BTI_PAC.
1179 (get_plt_type): Add case for DT_AARCH64_PAC_PLT.
1180 (elfNN_aarch64_plt_sym_val): Add cases for PLT_BTI_PAC and PLT_PAC.
1182 2019-03-13 Sudakshina Das <sudi.das@arm.com>
1183 Szabolcs Nagy <szabolcs.nagy@arm.com>
1185 * bfd-in.h (aarch64_plt_type, aarch64_enable_bti_type): New.
1186 (aarch64_bti_pac_info): New.
1187 (bfd_elf64_aarch64_set_options): Add aarch64_bti_pac_info argument.
1188 (bfd_elf32_aarch64_set_options): Likewise.
1189 * bfd-in2.h: Regenerate
1190 * elfnn-aarch64.c (PLT_BTI_ENTRY_SIZE): New.
1191 (PLT_BTI_SMALL_ENTRY_SIZE, PLT_BTI_TLSDESC_ENTRY_SIZE): New.
1192 (elfNN_aarch64_small_plt0_bti_entry): New.
1193 (elfNN_aarch64_small_plt_bti_entry): New.
1194 (elfNN_aarch64_tlsdesc_small_plt_bti_entry): New.
1195 (elf_aarch64_obj_tdata): Add no_bti_warn and plt_type fields.
1196 (elf_aarch64_link_hash_table): Add plt0_entry, plt_entry and
1197 tlsdesc_plt_entry_size fields.
1198 (elfNN_aarch64_link_hash_table_create): Initialise the new fields.
1199 (setup_plt_values): New helper function.
1200 (bfd_elfNN_aarch64_set_options): Use new bp_info to set plt sizes and
1202 (elfNN_aarch64_allocate_dynrelocs): Use new size members instead of
1204 (elfNN_aarch64_size_dynamic_sections): Likewise and add checks.
1205 (elfNN_aarch64_create_small_pltn_entry): Use new generic pointers
1206 to plt stubs instead of fixed ones and update filling them according
1207 to the need for bti.
1208 (elfNN_aarch64_init_small_plt0_entry): Likewise.
1209 (elfNN_aarch64_finish_dynamic_sections): Likewise.
1210 (get_plt_type, elfNN_aarch64_get_synthetic_symtab): New.
1211 (elfNN_aarch64_plt_sym_val): Update size accordingly.
1212 (elfNN_aarch64_link_setup_gnu_properties): Set up plts if BTI GNU NOTE
1214 (bfd_elfNN_get_synthetic_symtab): Define.
1215 (elfNN_aarch64_merge_gnu_properties): Give out warning with --force-bti
1216 and mising BTI NOTE SECTION.
1219 2019-03-13 Sudakshina Das <sudi.das@arm.com>
1221 * elf-properties.c (_bfd_elf_link_setup_gnu_properties): Exclude
1222 linker created inputs from merge.
1223 * elfnn-aarch64.c (struct elf_aarch64_obj_tdata): Add field for
1224 GNU_PROPERTY_AARCH64_FEATURE_1_AND properties.
1225 (elfNN_aarch64_link_setup_gnu_properties): New.
1226 (elfNN_aarch64_merge_gnu_properties): New.
1227 (elf_backend_setup_gnu_properties): Define for AArch64.
1228 (elf_backend_merge_gnu_properties): Likewise.
1229 * elfxx-aarch64.c (_bfd_aarch64_elf_link_setup_gnu_properties): Define.
1230 (_bfd_aarch64_elf_parse_gnu_properties): Define.
1231 (_bfd_aarch64_elf_merge_gnu_properties): Define.
1232 * elfxx-aarch64.h (_bfd_aarch64_elf_link_setup_gnu_properties): Declare.
1233 (_bfd_aarch64_elf_parse_gnu_properties): Declare.
1234 (_bfd_aarch64_elf_merge_gnu_properties): Declare.
1235 (elf_backend_parse_gnu_properties): Define for AArch64.
1237 2019-03-13 H.J. Lu <hongjiu.lu@intel.com>
1240 * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Properly
1241 merge GNU_PROPERTY_X86_FEATURE_1_[IBT|SHSTK].
1243 2019-03-12 Alan Modra <amodra@gmail.com>
1245 * coffcode.h (buy_and_read): Delete unnecessary forward decl. Add
1246 nmemb parameter. Use bfd_alloc2.
1247 (coff_slurp_line_table): Use bfd_alloc2. Update buy_and_read calls.
1249 (coff_slurp_symbol_table): Use bfd_alloc2 and bfd_zalloc2.
1250 (coff_slurp_reloc_table): Use bfd_alloc2. Update buy_and_read calls.
1251 * coffgen.c (coff_get_reloc_upper_bound): Ensure size calculation
1253 * elf.c (bfd_section_from_shdr): Use bfd_zalloc2. Style fix.
1254 (assign_section_numbers): Style fix.
1255 (swap_out_syms): Use bfd_malloc2.
1256 (_bfd_elf_get_reloc_upper_bound): Ensure size calculation doesn't
1258 (_bfd_elf_make_empty_symbol): Style fix.
1259 (elfobj_grok_stapsdt_note_1): Formatting.
1260 * elfcode.h (elf_object_p): Use bfd_alloc2.
1261 (elf_write_relocs, elf_write_shdrs_and_ehdr): Likewise.
1262 (elf_slurp_symbol_table): Use bfd_zalloc2.
1263 (elf_slurp_reloc_table): Use bfd_alloc2.
1264 (_bfd_elf_bfd_from_remote_memory): Use bfd_malloc2.
1265 * elf64-sparc (elf64_sparc_get_reloc_upper_bound): Ensure
1266 size calculation doesn't overflow.
1267 (elf64_sparc_get_dynamic_reloc_upper_bound): Likewise.
1268 * mach-o.c (bfd_mach_o_get_reloc_upper_bound): Likewise.
1269 * pdp11.c (get_reloc_upper_bound): Copy aoutx.h version.
1271 2019-03-08 Alan Modra <amodra@gmail.com>
1274 * merge.c (merge_strings): Return secinfo. Don't pad section
1276 (_bfd_merge_sections): Pad section to alignment here, if input
1277 sections contributing to merged output all pad to alignment.
1280 2019-03-06 Nick Clifton <nickc@redhat.com>
1282 * dwarf2.c (_bfd_dwarf2_find_symbol_bias): Check for a NULL symbol
1284 * coffgen.c (coff_find_nearest_line_with_names): Do not call
1285 _bfd_dwarf2_find_symbol_bias if there is no symbol table available.
1287 2019-03-01 Andreas Krebbel <krebbel@linux.ibm.com>
1289 This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
1290 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
1293 * elf32-s390.c (allocate_dynrelocs): Update comment.
1295 2019-02-28 Tamar Christina <tamar.christina@arm.com>
1297 * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Correct CIE parse.
1299 2019-02-28 Nick Clifton <nickc@redhat.com>
1302 * elf.c (bfd_elf_string_from_elf_section): Check for a string
1303 section that is not NUL terminated.
1305 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
1308 * elf64-x86-64.c (elf_x86_64_check_relocs): Skip symbol defined
1309 by linker when checking copy reloc on protected symbol.
1311 2019-02-24 Alan Modra <amodra@gmail.com>
1314 * pdp11.c (set_section_contents): Revert 2015-02-24 change.
1316 2019-02-20 Eric Tsai <erictsai@cadence.com>
1318 * elf32-xtensa.c (is_resolvable_asm_expansion): Scan output
1319 sections between the call site and call destination and adjust
1320 call distance by the largest alignment.
1322 2019-02-20 Alan Hayward <alan.hayward@arm.com>
1324 * elf-bfd.h (elfcore_write_aarch_pauth): Add declaration.
1325 * elf.c (elfcore_grok_aarch_pauth): New function.
1326 (elfcore_grok_note): Check for NT_ARM_PAC_MASK.
1327 (elfcore_write_aarch_pauth): New function.
1328 (elfcore_write_register_note): Check for AArch64 pauth section.
1330 2019-02-20 Alan Modra <amodra@gmail.com>
1333 * elf32-nios2.c (nios2_elf32_relocate_section): Check asprintf
1336 2019-02-20 Michael Roitzsch <reactorcontrol@icloud.com>
1338 * configure.ac (SHARED_LIBADD): Add -liberty -lintl for all
1339 Darwin hosts, not just or1k.
1340 * configure: Regenerate.
1342 2019-02-20 Alan Modra <amodra@gmail.com>
1345 * archive64.c (_bfd_archive_64_bit_slurp_armap): Move code adding
1346 sentinel NUL to string buffer nearer to loop where it is used.
1347 Don't go past sentinel when scanning strings, and don't write
1349 * archive.c (do_slurp_coff_armap): Simplify string handling to
1352 2019-02-19 Alan Modra <amodra@gmail.com>
1355 * pei-x86_64.c (pex64_bfd_print_pdata_section): Correct checks
1356 attempting to prevent read past end of section.
1358 2019-02-18 Alan Modra <amodra@gmail.com>
1361 * elf32-nios2.c (nios2_elf32_relocate_section): Use asprintf and
1362 PRIx64 to generate warning messages. Print local sym names too.
1364 2019-02-09 Vineet Gupta <vgupta@synopsys.com>
1366 * elf32-arc (INIT_SYM_STRING): Delete.
1367 (FINI_SYM_STRING): Likewise.
1368 (init_str): Likewise.
1369 (fini_str): Likewise.
1371 2019-02-08 Alan Modra <amodra@gmail.com>
1373 * elf32-ppc.c (ppc_elf_relocate_section): Add %X to "unsupported
1374 for bss-plt" warning to make it an error.
1376 2019-02-07 Eric Botcazou <ebotcazou@adacore.com>
1379 * elf32-sparc.c (elf32_sparc_reloc_type_class): Return
1380 reloc_class_ifunc for ifunc symbols.
1381 * elf64-sparc.c (elf64_sparc_reloc_type_class): Likewise.
1383 2019-02-07 Eric Botcazou <ebotcazou@adacore.com>
1385 * elf32-visium.c (visium_elf_howto_parity_reloc): Minor tweak.
1386 <R_VISIUM_PC16>: Use explicit range test to detect an overflow.
1388 2019-02-07 Nick Clifton <nickc@redhat.com>
1390 * config.bfd: Move the powerpc-lynxos and powerpc-windiss targets
1391 into the definitely obsolete list.
1393 2019-02-05 H.J. Lu <hongjiu.lu@intel.com>
1396 * elf64-x86-64.c (elf_x86_64_need_pic): Check
1397 SYMBOL_DEFINED_NON_SHARED_P instead of def_regular.
1398 (elf_x86_64_relocate_section): Move PIC check for PC-relative
1400 (elf_x86_64_check_relocs): Here.
1401 (elf_x86_64_finish_dynamic_symbol): Use SYMBOL_DEFINED_NON_SHARED_P
1402 to check if a symbol is defined in a non-shared object.
1403 * elfxx-x86.h (SYMBOL_DEFINED_NON_SHARED_P): New.
1405 2019-01-21 Sergio Durigan Junior <sergiodj@redhat.com>
1407 * elf32-arm.c (elf32_arm_final_link_relocate): Use 'llabs' instead
1408 of 'labs' (and fix GCC warning).
1410 2019-01-25 Nick Clifton <nickc@redhat.com>
1412 * po/ru.po: Updated Russian translation.
1414 2019-01-23 Nick Clifton <nickc@redhat.com>
1416 * po/fr.po: Updated French translation.
1418 2019-01-21 Nick Clifton <nickc@redhat.com>
1420 * po/pt.po: Updated Portuguese translation.
1421 * po/uk.po: Updated Ukranian translation.
1423 2019-01-21 Yuri Chornoivan <yurchor@ukr.net>
1426 * elf32-nds32.c (nds32_relocate_section): Add space between words
1428 * elfnn-riscv.c (riscv_version_mismatch): Fix spelling mistake in
1430 (riscv_i_or_e_p): Likewise.
1431 (riscv_merge_arch_attr_info): Likewise.
1433 2019-01-19 Nick Clifton <nickc@redhat.com>
1435 * version.m4: Reset to 2.32.51
1436 * configure: Regenerate.
1437 * po/bfd.pot: Regenerate.
1439 2018-06-24 Nick Clifton <nickc@redhat.com>
1441 2.32 branch created.
1443 2019-01-16 Kito Cheng <kito@andestech.com>
1445 * elf-attrs.c (vendor_obj_attr_size): Return 0 if size is 0 even
1448 2019-01-16 Kito Cheng <kito@andestech.com>
1449 Nelson Chu <nelson@andestech.com>
1451 * elfnn-riscv.c (in_subsets): New.
1452 (out_subsets): Likewise.
1453 (merged_subsets): Likewise.
1454 (riscv_std_ext_p): Likewise.
1455 (riscv_non_std_ext_p): Likewise.
1456 (riscv_std_sv_ext_p): Likewise.
1457 (riscv_non_std_sv_ext_p): Likewise.
1458 (riscv_version_mismatch): Likewise.
1459 (riscv_i_or_e_p): Likewise.
1460 (riscv_merge_std_ext): Likewise.
1461 (riscv_merge_non_std_and_sv_ext): Likewise.
1462 (riscv_merge_arch_attr_info): Likewise.
1463 (riscv_merge_attributes): Likewise.
1464 (_bfd_riscv_elf_merge_private_bfd_data): Merge attribute.
1466 * elfnn-riscv.c (riscv_elf_obj_attrs_arg_type): New.
1467 (elf_backend_obj_attrs_vendor): Define.
1468 (elf_backend_obj_attrs_section_type): Likewise.
1469 (elf_backend_obj_attrs_section): Likewise.
1470 (elf_backend_obj_attrs_arg_type): Define as
1471 riscv_elf_obj_attrs_arg_type.
1472 * elfxx-riscv.c (riscv_estimate_digit): New.
1473 (riscv_estimate_arch_strlen1): Likewise.
1474 (riscv_estimate_arch_strlen): Likewise.
1475 (riscv_arch_str1): Likewise.
1476 (riscv_arch_str): Likewise.
1477 * elfxx-riscv.h (riscv_arch_str): Declare.
1479 2019-01-14 John Darrington <john@darrington.wattle.id.au>
1481 * bfd-in2.h [BFD_RELOC_S12Z_OPR]: New reloc.
1483 * elf32-s12z.c (eld_s12z_howto_table): R_S12Z_OPR takes non zero
1484 source field. (md_apply_fix): Apply final fix
1485 to BFD_RELOC_S12Z_OPR.
1486 * reloc.c[BFD_RELOC_S12Z_OPR]: New reloc.
1488 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
1491 * elf32-s390.c (allocate_dynrelocs): Update comment.
1493 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
1495 * warning.m4: Adjust egrep pattern for non-GNU compilers.
1496 * configure: Regenerate.
1498 2019-01-08 Alan Modra <amodra@gmail.com>
1502 * ihex.c (ihex_write_object_contents): Properly check 32-bit
1505 2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
1507 * bfd/archures.c: Add bfd_mach_rx_v2 and bfd_mach_rx_v3.
1508 * bfd/bfd-in2.h: Regenerate.
1509 * bfd/cpu-rx.c (arch_info_struct): Add RXv2 and RXv3 entry.
1510 * bfd/elf32-rx.c (elf32_rx_machine): Add RXv2 and RXv3 support.
1512 2019-01-04 Lifang Xia <lifang_xia@c-sky.com>
1514 * config.bfd (csky-*-elf* | csky-*-linux*): Modify the csky
1515 default target, little endian target is more suitable.
1517 2019-01-04 Alan Modra <amodra@gmail.com>
1521 * coff-rs6000.c (GET_VALUE_IN_FIELD): Add base parameter and
1523 (EQ_VALUE_IN_FIELD): Likewise.
1524 * coff64-rs6000.c (GET_VALUE_IN_FIELD): Likewise.
1526 2019-01-01 Alan Modra <amodra@gmail.com>
1528 Update year range in copyright notice of all files.
1530 For older changes see ChangeLog-2018
1532 Copyright (C) 2019 Free Software Foundation, Inc.
1534 Copying and distribution of this file, with or without modification,
1535 are permitted in any medium without royalty provided the copyright
1536 notice and this notice are preserved.
1542 version-control: never