Automatic date update in version.in
[external/binutils.git] / bfd / ChangeLog
1 2019-05-02  Nick Clifton  <nickc@redhat.com>
2
3         PR 24493
4         * coffcode.h (styp_to_sec_flags): Treat .gnu.debuglink and
5         .gnu.debugaltlink sections as debugging sections.
6
7 2019-02-27  Joel Brobecker  <brobecker@adacore.com>
8
9         * development.sh (development): Set to false.
10
11 2019-02-24  Alan Modra  <amodra@gmail.com>
12
13         PR 24144
14         * pdp11.c (set_section_contents): Revert 2015-02-24 change.
15
16 2019-02-20  Eric Tsai  <erictsai@cadence.com>
17
18         * elf32-xtensa.c (is_resolvable_asm_expansion): Scan output
19         sections between the call site and call destination and adjust
20         call distance by the largest alignment.
21
22 2019-02-20  Alan Hayward  <alan.hayward@arm.com>
23
24         * elf-bfd.h (elfcore_write_aarch_pauth): Add declaration.
25         * elf.c (elfcore_grok_aarch_pauth): New function.
26         (elfcore_grok_note): Check for NT_ARM_PAC_MASK.
27         (elfcore_write_aarch_pauth): New function.
28         (elfcore_write_register_note): Check for AArch64 pauth section.
29
30 2019-02-20  Alan Modra  <amodra@gmail.com>
31
32         PR 24225
33         * elf32-nios2.c (nios2_elf32_relocate_section): Check asprintf
34         return value.
35
36 2019-02-20  Michael Roitzsch  <reactorcontrol@icloud.com>
37
38         * configure.ac (SHARED_LIBADD): Add -liberty -lintl for all
39         Darwin hosts, not just or1k.
40         * configure: Regenerate.
41
42 2019-02-20  Alan Modra  <amodra@gmail.com>
43
44         PR 24236
45         * archive64.c (_bfd_archive_64_bit_slurp_armap): Move code adding
46         sentinel NUL to string buffer nearer to loop where it is used.
47         Don't go past sentinel when scanning strings, and don't write
48         NUL again.
49         * archive.c (do_slurp_coff_armap): Simplify string handling to
50         archive64.c style.
51
52 2019-02-19  Alan Modra  <amodra@gmail.com>
53
54         PR 24235
55         * pei-x86_64.c (pex64_bfd_print_pdata_section): Correct checks
56         attempting to prevent read past end of section.
57
58 2019-02-18  Alan Modra  <amodra@gmail.com>
59
60         PR 24225
61         * elf32-nios2.c (nios2_elf32_relocate_section): Use asprintf and
62         PRIx64 to generate warning messages.  Print local sym names too.
63
64 2019-02-09  Vineet Gupta  <vgupta@synopsys.com>
65
66         * elf32-arc (INIT_SYM_STRING): Delete.
67         (FINI_SYM_STRING): Likewise.
68         (init_str): Likewise.
69         (fini_str): Likewise.
70
71 2019-02-08  Alan Modra  <amodra@gmail.com>
72
73         * elf32-ppc.c (ppc_elf_relocate_section): Add %X to "unsupported
74         for bss-plt" warning to make it an error.
75
76 2019-02-07  Eric Botcazou  <ebotcazou@adacore.com>
77
78         PR ld/18841
79         * elf32-sparc.c (elf32_sparc_reloc_type_class): Return
80         reloc_class_ifunc for ifunc symbols.
81         * elf64-sparc.c (elf64_sparc_reloc_type_class): Likewise.
82
83 2019-02-07  Eric Botcazou  <ebotcazou@adacore.com>
84
85         * elf32-visium.c (visium_elf_howto_parity_reloc): Minor tweak.
86         <R_VISIUM_PC16>: Use explicit range test to detect an overflow.
87
88 2019-02-07  Nick Clifton  <nickc@redhat.com>
89
90         * config.bfd: Move the powerpc-lynxos and powerpc-windiss targets
91         into the definitely obsolete list.
92
93 2019-02-05  H.J. Lu  <hongjiu.lu@intel.com>
94
95         PR ld/24151
96         * elf64-x86-64.c (elf_x86_64_need_pic): Check
97         SYMBOL_DEFINED_NON_SHARED_P instead of def_regular.
98         (elf_x86_64_relocate_section): Move PIC check for PC-relative
99         relocations to ...
100         (elf_x86_64_check_relocs): Here.
101         (elf_x86_64_finish_dynamic_symbol): Use SYMBOL_DEFINED_NON_SHARED_P
102         to check if a symbol is defined in a non-shared object.
103         * elfxx-x86.h (SYMBOL_DEFINED_NON_SHARED_P): New.
104
105 2019-01-21  Sergio Durigan Junior  <sergiodj@redhat.com>
106
107         * elf32-arm.c (elf32_arm_final_link_relocate): Use 'llabs' instead
108         of 'labs' (and fix GCC warning).
109
110 2019-01-25  Nick Clifton  <nickc@redhat.com>
111
112         * po/ru.po: Updated Russian translation.
113
114 2019-01-23  Nick Clifton  <nickc@redhat.com>
115
116         * po/fr.po: Updated French translation.
117
118 2019-01-21  Nick Clifton  <nickc@redhat.com>
119
120         * po/pt.po: Updated Portuguese translation.
121         * po/uk.po: Updated Ukranian translation.
122
123 2019-01-21  Yuri Chornoivan  <yurchor@ukr.net>
124
125         PR 24108
126         * elf32-nds32.c (nds32_relocate_section): Add space between words
127         in error message.
128         * elfnn-riscv.c (riscv_version_mismatch): Fix spelling mistake in
129         error message.
130         (riscv_i_or_e_p): Likewise.
131         (riscv_merge_arch_attr_info): Likewise.
132
133 2019-01-19  Nick Clifton  <nickc@redhat.com>
134
135         * version.m4: Reset to 2.32.51
136         * configure: Regenerate.
137         * po/bfd.pot: Regenerate.
138
139 2018-06-24  Nick Clifton  <nickc@redhat.com>
140
141         2.32 branch created.
142
143 2019-01-16  Kito Cheng  <kito@andestech.com>
144
145         * elf-attrs.c (vendor_obj_attr_size): Return 0 if size is 0 even
146         for OBJ_ATTR_PROC.
147
148 2019-01-16  Kito Cheng  <kito@andestech.com>
149             Nelson Chu  <nelson@andestech.com>
150
151         * elfnn-riscv.c (in_subsets): New.
152         (out_subsets): Likewise.
153         (merged_subsets): Likewise.
154         (riscv_std_ext_p): Likewise.
155         (riscv_non_std_ext_p): Likewise.
156         (riscv_std_sv_ext_p): Likewise.
157         (riscv_non_std_sv_ext_p): Likewise.
158         (riscv_version_mismatch): Likewise.
159         (riscv_i_or_e_p): Likewise.
160         (riscv_merge_std_ext): Likewise.
161         (riscv_merge_non_std_and_sv_ext): Likewise.
162         (riscv_merge_arch_attr_info): Likewise.
163         (riscv_merge_attributes): Likewise.
164         (_bfd_riscv_elf_merge_private_bfd_data): Merge attribute.
165
166         * elfnn-riscv.c (riscv_elf_obj_attrs_arg_type): New.
167         (elf_backend_obj_attrs_vendor): Define.
168         (elf_backend_obj_attrs_section_type): Likewise.
169         (elf_backend_obj_attrs_section): Likewise.
170         (elf_backend_obj_attrs_arg_type): Define as
171         riscv_elf_obj_attrs_arg_type.
172         * elfxx-riscv.c (riscv_estimate_digit): New.
173         (riscv_estimate_arch_strlen1): Likewise.
174         (riscv_estimate_arch_strlen): Likewise.
175         (riscv_arch_str1): Likewise.
176         (riscv_arch_str): Likewise.
177         * elfxx-riscv.h (riscv_arch_str): Declare.
178
179 2019-01-14  John Darrington <john@darrington.wattle.id.au>
180
181         * bfd-in2.h [BFD_RELOC_S12Z_OPR]: New reloc.
182         * libbfd.h: regen.
183         * elf32-s12z.c (eld_s12z_howto_table): R_S12Z_OPR takes non zero
184         source field.  (md_apply_fix): Apply final fix
185         to BFD_RELOC_S12Z_OPR.
186         * reloc.c[BFD_RELOC_S12Z_OPR]: New reloc.
187
188 2019-01-14  Maamoun Tarsha  <maamountk@hotmail.com>
189
190         PR 20113
191         * elf32-s390.c (allocate_dynrelocs): Update comment.
192
193 2019-01-09  Andrew Paprocki  <andrew@ishiboo.com>
194
195         * warning.m4: Adjust egrep pattern for non-GNU compilers.
196         * configure: Regenerate.
197
198 2019-01-08  Alan Modra  <amodra@gmail.com>
199
200         PR 23699
201         PR 24065
202         * ihex.c (ihex_write_object_contents): Properly check 32-bit
203         address range.
204
205 2019-01-05  Yoshinori Sato <ysato@users.sourceforge.jp>
206
207         * bfd/archures.c: Add bfd_mach_rx_v2 and bfd_mach_rx_v3.
208         * bfd/bfd-in2.h: Regenerate.
209         * bfd/cpu-rx.c (arch_info_struct): Add RXv2 and RXv3 entry.
210         * bfd/elf32-rx.c (elf32_rx_machine): Add RXv2 and RXv3 support.
211
212 2019-01-04  Lifang Xia  <lifang_xia@c-sky.com>
213
214         * config.bfd (csky-*-elf* | csky-*-linux*): Modify the csky
215         default target, little endian target is more suitable.
216
217 2019-01-04  Alan Modra  <amodra@gmail.com>
218
219         PR 24061
220         PR 21786
221         * coff-rs6000.c (GET_VALUE_IN_FIELD): Add base parameter and
222         adjust all callers.
223         (EQ_VALUE_IN_FIELD): Likewise.
224         * coff64-rs6000.c (GET_VALUE_IN_FIELD): Likewise.
225
226 2019-01-01  Alan Modra  <amodra@gmail.com>
227
228         Update year range in copyright notice of all files.
229
230 For older changes see ChangeLog-2018
231 \f
232 Copyright (C) 2019 Free Software Foundation, Inc.
233
234 Copying and distribution of this file, with or without modification,
235 are permitted in any medium without royalty provided the copyright
236 notice and this notice are preserved.
237
238 Local Variables:
239 mode: change-log
240 left-margin: 8
241 fill-column: 74
242 version-control: never
243 End: