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