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