Don't emit vendor attribute section if there is no attribute to emit.
[external/binutils.git] / bfd / ChangeLog
1 2019-01-16  Kito Cheng  <kito@andestech.com>
2
3         * elf-attrs.c (vendor_obj_attr_size): Return 0 if size is 0 even
4         for OBJ_ATTR_PROC.
5
6 2019-01-16  Kito Cheng  <kito@andestech.com>
7             Nelson Chu  <nelson@andestech.com>
8
9         * elfnn-riscv.c (in_subsets): New.
10         (out_subsets): Likewise.
11         (merged_subsets): Likewise.
12         (riscv_std_ext_p): Likewise.
13         (riscv_non_std_ext_p): Likewise.
14         (riscv_std_sv_ext_p): Likewise.
15         (riscv_non_std_sv_ext_p): Likewise.
16         (riscv_version_mismatch): Likewise.
17         (riscv_i_or_e_p): Likewise.
18         (riscv_merge_std_ext): Likewise.
19         (riscv_merge_non_std_and_sv_ext): Likewise.
20         (riscv_merge_arch_attr_info): Likewise.
21         (riscv_merge_attributes): Likewise.
22         (_bfd_riscv_elf_merge_private_bfd_data): Merge attribute.
23
24         * elfnn-riscv.c (riscv_elf_obj_attrs_arg_type): New.
25         (elf_backend_obj_attrs_vendor): Define.
26         (elf_backend_obj_attrs_section_type): Likewise.
27         (elf_backend_obj_attrs_section): Likewise.
28         (elf_backend_obj_attrs_arg_type): Define as
29         riscv_elf_obj_attrs_arg_type.
30         * elfxx-riscv.c (riscv_estimate_digit): New.
31         (riscv_estimate_arch_strlen1): Likewise.
32         (riscv_estimate_arch_strlen): Likewise.
33         (riscv_arch_str1): Likewise.
34         (riscv_arch_str): Likewise.
35         * elfxx-riscv.h (riscv_arch_str): Declare.
36
37 2019-01-14  John Darrington <john@darrington.wattle.id.au>
38
39         * bfd-in2.h [BFD_RELOC_S12Z_OPR]: New reloc.
40         * libbfd.h: regen.
41         * elf32-s12z.c (eld_s12z_howto_table): R_S12Z_OPR takes non zero
42         source field.  (md_apply_fix): Apply final fix
43         to BFD_RELOC_S12Z_OPR.
44         * reloc.c[BFD_RELOC_S12Z_OPR]: New reloc.
45
46 2019-01-14  Maamoun Tarsha  <maamountk@hotmail.com>
47
48         PR 20113
49         * elf32-s390.c (allocate_dynrelocs): Update comment.
50
51 2019-01-09  Andrew Paprocki  <andrew@ishiboo.com>
52
53         * warning.m4: Adjust egrep pattern for non-GNU compilers.
54         * configure: Regenerate.
55
56 2019-01-08  Alan Modra  <amodra@gmail.com>
57
58         PR 23699
59         PR 24065
60         * ihex.c (ihex_write_object_contents): Properly check 32-bit
61         address range.
62
63 2019-01-05  Yoshinori Sato <ysato@users.sourceforge.jp>
64
65         * bfd/archures.c: Add bfd_mach_rx_v2 and bfd_mach_rx_v3.
66         * bfd/bfd-in2.h: Regenerate.
67         * bfd/cpu-rx.c (arch_info_struct): Add RXv2 and RXv3 entry.
68         * bfd/elf32-rx.c (elf32_rx_machine): Add RXv2 and RXv3 support.
69
70 2019-01-04  Lifang Xia  <lifang_xia@c-sky.com>
71
72         * config.bfd (csky-*-elf* | csky-*-linux*): Modify the csky
73         default target, little endian target is more suitable.
74
75 2019-01-04  Alan Modra  <amodra@gmail.com>
76
77         PR 24061
78         PR 21786
79         * coff-rs6000.c (GET_VALUE_IN_FIELD): Add base parameter and
80         adjust all callers.
81         (EQ_VALUE_IN_FIELD): Likewise.
82         * coff64-rs6000.c (GET_VALUE_IN_FIELD): Likewise.
83
84 2019-01-01  Alan Modra  <amodra@gmail.com>
85
86         Update year range in copyright notice of all files.
87
88 For older changes see ChangeLog-2018
89 \f
90 Copyright (C) 2019 Free Software Foundation, Inc.
91
92 Copying and distribution of this file, with or without modification,
93 are permitted in any medium without royalty provided the copyright
94 notice and this notice are preserved.
95
96 Local Variables:
97 mode: change-log
98 left-margin: 8
99 fill-column: 74
100 version-control: never
101 End: