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