SPARC: fix PR ld/18841
[external/binutils.git] / bfd / ChangeLog
1 2019-02-07  Eric Botcazou  <ebotcazou@adacore.com>
2
3         PR ld/18841
4         * elf32-sparc.c (elf32_sparc_reloc_type_class): Return
5         reloc_class_ifunc for ifunc symbols.
6         * elf64-sparc.c (elf64_sparc_reloc_type_class): Likewise.
7
8 2019-02-07  Eric Botcazou  <ebotcazou@adacore.com>
9
10         * elf32-visium.c (visium_elf_howto_parity_reloc): Minor tweak.
11         <R_VISIUM_PC16>: Use explicit range test to detect an overflow.
12
13 2019-02-07  Nick Clifton  <nickc@redhat.com>
14
15         * config.bfd: Move the powerpc-lynxos and powerpc-windiss targets
16         into the definitely obsolete list.
17
18 2019-02-05  H.J. Lu  <hongjiu.lu@intel.com>
19
20         PR ld/24151
21         * elf64-x86-64.c (elf_x86_64_need_pic): Check
22         SYMBOL_DEFINED_NON_SHARED_P instead of def_regular.
23         (elf_x86_64_relocate_section): Move PIC check for PC-relative
24         relocations to ...
25         (elf_x86_64_check_relocs): Here.
26         (elf_x86_64_finish_dynamic_symbol): Use SYMBOL_DEFINED_NON_SHARED_P
27         to check if a symbol is defined in a non-shared object.
28         * elfxx-x86.h (SYMBOL_DEFINED_NON_SHARED_P): New.
29
30 2019-01-21  Sergio Durigan Junior  <sergiodj@redhat.com>
31
32         * elf32-arm.c (elf32_arm_final_link_relocate): Use 'llabs' instead
33         of 'labs' (and fix GCC warning).
34
35 2019-01-25  Nick Clifton  <nickc@redhat.com>
36
37         * po/ru.po: Updated Russian translation.
38
39 2019-01-23  Nick Clifton  <nickc@redhat.com>
40
41         * po/fr.po: Updated French translation.
42
43 2019-01-21  Nick Clifton  <nickc@redhat.com>
44
45         * po/pt.po: Updated Portuguese translation.
46         * po/uk.po: Updated Ukranian translation.
47
48 2019-01-21  Yuri Chornoivan  <yurchor@ukr.net>
49
50         PR 24108
51         * elf32-nds32.c (nds32_relocate_section): Add space between words
52         in error message.
53         * elfnn-riscv.c (riscv_version_mismatch): Fix spelling mistake in
54         error message.
55         (riscv_i_or_e_p): Likewise.
56         (riscv_merge_arch_attr_info): Likewise.
57
58 2019-01-19  Nick Clifton  <nickc@redhat.com>
59
60         * version.m4: Reset to 2.32.51
61         * configure: Regenerate.
62         * po/bfd.pot: Regenerate.
63
64 2018-06-24  Nick Clifton  <nickc@redhat.com>
65
66         2.32 branch created.
67
68 2019-01-16  Kito Cheng  <kito@andestech.com>
69
70         * elf-attrs.c (vendor_obj_attr_size): Return 0 if size is 0 even
71         for OBJ_ATTR_PROC.
72
73 2019-01-16  Kito Cheng  <kito@andestech.com>
74             Nelson Chu  <nelson@andestech.com>
75
76         * elfnn-riscv.c (in_subsets): New.
77         (out_subsets): Likewise.
78         (merged_subsets): Likewise.
79         (riscv_std_ext_p): Likewise.
80         (riscv_non_std_ext_p): Likewise.
81         (riscv_std_sv_ext_p): Likewise.
82         (riscv_non_std_sv_ext_p): Likewise.
83         (riscv_version_mismatch): Likewise.
84         (riscv_i_or_e_p): Likewise.
85         (riscv_merge_std_ext): Likewise.
86         (riscv_merge_non_std_and_sv_ext): Likewise.
87         (riscv_merge_arch_attr_info): Likewise.
88         (riscv_merge_attributes): Likewise.
89         (_bfd_riscv_elf_merge_private_bfd_data): Merge attribute.
90
91         * elfnn-riscv.c (riscv_elf_obj_attrs_arg_type): New.
92         (elf_backend_obj_attrs_vendor): Define.
93         (elf_backend_obj_attrs_section_type): Likewise.
94         (elf_backend_obj_attrs_section): Likewise.
95         (elf_backend_obj_attrs_arg_type): Define as
96         riscv_elf_obj_attrs_arg_type.
97         * elfxx-riscv.c (riscv_estimate_digit): New.
98         (riscv_estimate_arch_strlen1): Likewise.
99         (riscv_estimate_arch_strlen): Likewise.
100         (riscv_arch_str1): Likewise.
101         (riscv_arch_str): Likewise.
102         * elfxx-riscv.h (riscv_arch_str): Declare.
103
104 2019-01-14  John Darrington <john@darrington.wattle.id.au>
105
106         * bfd-in2.h [BFD_RELOC_S12Z_OPR]: New reloc.
107         * libbfd.h: regen.
108         * elf32-s12z.c (eld_s12z_howto_table): R_S12Z_OPR takes non zero
109         source field.  (md_apply_fix): Apply final fix
110         to BFD_RELOC_S12Z_OPR.
111         * reloc.c[BFD_RELOC_S12Z_OPR]: New reloc.
112
113 2019-01-14  Maamoun Tarsha  <maamountk@hotmail.com>
114
115         PR 20113
116         * elf32-s390.c (allocate_dynrelocs): Update comment.
117
118 2019-01-09  Andrew Paprocki  <andrew@ishiboo.com>
119
120         * warning.m4: Adjust egrep pattern for non-GNU compilers.
121         * configure: Regenerate.
122
123 2019-01-08  Alan Modra  <amodra@gmail.com>
124
125         PR 23699
126         PR 24065
127         * ihex.c (ihex_write_object_contents): Properly check 32-bit
128         address range.
129
130 2019-01-05  Yoshinori Sato <ysato@users.sourceforge.jp>
131
132         * bfd/archures.c: Add bfd_mach_rx_v2 and bfd_mach_rx_v3.
133         * bfd/bfd-in2.h: Regenerate.
134         * bfd/cpu-rx.c (arch_info_struct): Add RXv2 and RXv3 entry.
135         * bfd/elf32-rx.c (elf32_rx_machine): Add RXv2 and RXv3 support.
136
137 2019-01-04  Lifang Xia  <lifang_xia@c-sky.com>
138
139         * config.bfd (csky-*-elf* | csky-*-linux*): Modify the csky
140         default target, little endian target is more suitable.
141
142 2019-01-04  Alan Modra  <amodra@gmail.com>
143
144         PR 24061
145         PR 21786
146         * coff-rs6000.c (GET_VALUE_IN_FIELD): Add base parameter and
147         adjust all callers.
148         (EQ_VALUE_IN_FIELD): Likewise.
149         * coff64-rs6000.c (GET_VALUE_IN_FIELD): Likewise.
150
151 2019-01-01  Alan Modra  <amodra@gmail.com>
152
153         Update year range in copyright notice of all files.
154
155 For older changes see ChangeLog-2018
156 \f
157 Copyright (C) 2019 Free Software Foundation, Inc.
158
159 Copying and distribution of this file, with or without modification,
160 are permitted in any medium without royalty provided the copyright
161 notice and this notice are preserved.
162
163 Local Variables:
164 mode: change-log
165 left-margin: 8
166 fill-column: 74
167 version-control: never
168 End: