Commit | Line | Data |
---|---|---|
2482f306 AM |
1 | 2020-04-24 Alan Modra <amodra@gmail.com> |
2 | ||
3 | * readelf.c (get_num_dynamic_syms): Check for nbuckets and nchains | |
4 | non-zero. | |
5 | (process_dynamic_section): Call get_num_dynamic_syms once rather | |
6 | than in segment loop. Break out of segment loop on a successful | |
7 | load of dynamic symbols. Formatting. | |
8 | (process_object): Return error status from process_dynamic_section. | |
9 | ||
27456742 AK |
10 | 2020-04-23 Anton Kolesov <anton.kolesov@synopsys.com> |
11 | ||
12 | * elf-bfd.h (elfcore_write_arc_v2): Add prototype. | |
13 | * elf.c (elfcore_grok_arc_v2): New function. | |
14 | (elfcore_grok_note): Call the new function to handle the corresponding | |
15 | note. | |
16 | (elfcore_write_arc_v2): New function. | |
17 | (elfcore_write_register_note): Call the new function to handle the | |
18 | corresponding pseudo-sections. | |
19 | ||
30ce8e47 MF |
20 | 2020-04-22 Max Filippov <jcmvbkbc@gmail.com> |
21 | ||
22 | PR ld/25861 | |
23 | * readelf.c (is_none_reloc): Recognize | |
24 | BFD_RELOC_XTENSA_PDIFF{8,16,32} and | |
25 | BFD_RELOC_XTENSA_NDIFF{8,16,32}. | |
26 | ||
33b5a830 NC |
27 | 2020-04-22 Nick Clifton <nickc@redhat.com> |
28 | ||
29 | * MAINTAINERS: Remove Chris Faylor as the ix86 PE maintainer. | |
30 | ||
978c4450 AM |
31 | 2020-04-22 Alan Modra <amodra@gmail.com> |
32 | ||
33 | * readelf.c (archive_file_offset, archive_file_size, dynamic_addr), | |
34 | (dynamic_size, dynamic_nent, dynamic_strings, dynamic_strings_length), | |
35 | (num_dynamic_syms, nbuckets, nchains, buckets, chains), | |
36 | (ngnubuckets, gnubuckets, gnuchains, mipsxlat, ngnuchains), | |
37 | (gnusymidx, dynamic_symbols, dynamic_syminfo, dynamic_syminfo_offset), | |
38 | (dynamic_syminfo_nent, program_interpreter, dynamic_info), | |
39 | (dynamic_info_DT_GNU_HASH, dynamic_info_DT_MIPS_XHASH, version_info), | |
40 | (dynamic_section, symtab_shndx_list, group_count, section_groups), | |
41 | (section_headers_groups): Move to struct filedata. Update use | |
42 | throughout file. | |
43 | ||
6431e409 AM |
44 | 2020-04-22 Alan Modra <amodra@gmail.com> |
45 | ||
46 | * readelf.c (struct dump_data): New, used.. | |
47 | (cmdline): ..here, and.. | |
48 | (struct filedata): ..here. Adjust all uses. | |
49 | (request_dump_bynumber, request_dump, parse_args): Pass in a | |
50 | struct dump_data* rather than Filedata*. Adjust callers. | |
51 | (main): Don't set cmdline.file_name. | |
52 | ||
a5e0be5c AM |
53 | 2020-04-20 Alan Modra <amodra@gmail.com> |
54 | ||
55 | * readelf.c (process_symbol_table): Clear ngnuchains, ngnubuckets | |
56 | and nbuckets. | |
57 | ||
8ff66993 AM |
58 | 2020-04-20 Alan Modra <amodra@gmail.com> |
59 | ||
60 | * readelf.c (process_section_headers): Free dynamic symbols etc. | |
61 | earlier. | |
62 | ||
ceb9bf11 AM |
63 | 2020-04-20 Alan Modra <amodra@gmail.com> |
64 | ||
65 | * readelf.c (get_num_dynamic_syms): Formatting. Don't return | |
66 | on error without freeing. | |
67 | (process_dynamic_section): Don't recreate dynamic symbols from | |
68 | dynamic tag info when the dynamic symbols have already been | |
69 | read via section headers. | |
70 | ||
e409955d FS |
71 | 2020-04-17 Fredrik Strupe <fredrik@strupe.net> |
72 | ||
73 | * testsuite/binutils-all/arm/vdup-cond.d: New test for testing that | |
74 | conditional VDUP instructions are disassembled correctly. | |
75 | * testsuite/binutils-all/arm/vdup-cond.s: New file used by | |
76 | vdup-cond.d. | |
77 | * testsuite/binutils-all/arm/vdup-thumb.d: New test for testing | |
78 | that VDUP instructions (which are conditional in A32) can be | |
79 | disassembled in thumb mode. | |
80 | * testsuite/binutils-all/arm/vdup-cond.s: New file used by | |
81 | vdup-thumb.d. | |
82 | ||
ca3f923f AM |
83 | 2020-04-17 Alan Modra <amodra@gmail.com> |
84 | ||
85 | PR 25840 | |
86 | * debug.c (debug_class_type_samep): Don't segfault on NULL type. | |
87 | ||
937f6614 AM |
88 | 2020-04-16 Alan Modra <amodra@gmail.com> |
89 | ||
90 | * doc/binutils.texi: Mention --no-show-raw-insn in objdump | |
91 | --no-addresses description. | |
92 | ||
b1bc1394 AM |
93 | 2020-04-15 Alan Modra <amodra@gmail.com> |
94 | ||
95 | * objdump.c (no_addresses): New static var. | |
96 | (usage): Print help for --no-addresses. | |
97 | (long_options): Add --no-addresses entry. | |
98 | (objdump_print_addr_with_sym, objdump_print_addr): Omit symbol address. | |
99 | (disassemble_bytes): Don't print current line address, or reloc | |
100 | address. | |
101 | * doc/binutils.texi: Document objdump --no-addresses. | |
102 | ||
001890e1 AM |
103 | 2020-04-15 Alan Modra <amodra@gmail.com> |
104 | ||
105 | PR 25822 | |
106 | * readelf.c (get_num_dynamic_syms): Don't set num_of_syms when | |
107 | reading buckets or chains fails. | |
108 | ||
b71d4fa7 AM |
109 | 2020-04-15 Alan Modra <amodra@gmail.com> |
110 | ||
111 | * readelf.c (process_symbol_table): Zero gnubuckets, gnuchains | |
112 | etc. after freeing. | |
113 | ||
89246a0e AM |
114 | 2020-04-15 Alan Modra <amodra@gmail.com> |
115 | ||
116 | * readelf.c (get_group_flags): Translate text. | |
117 | (get_file_type, get_symbol_binding, get_symbol_type), | |
118 | (get_ppc64_symbol_other, get_symbol_other): Increase size of buffer. | |
119 | ||
c98a4545 AM |
120 | 2020-04-15 Alan Modra <amodra@gmail.com> |
121 | ||
122 | PR 25821 | |
123 | * readelf.c (get_num_dynamic_syms): Typo fix. | |
124 | ||
645f43a8 AM |
125 | 2020-04-14 Alan Modra <amodra@gmail.com> |
126 | ||
127 | * readelf.c (process_mips_specific): Free eopt and iopt. Avoid | |
128 | possibility of overflow when checking number of conflicts. | |
129 | ||
10ca4b04 L |
130 | 2020-04-14 H.J. Lu <hongjiu.lu@intel.com> |
131 | ||
132 | PR binutils/25707 | |
133 | * readelf.c (nbuckets): New. | |
134 | (nchains): Likewise. | |
135 | (buckets): Likewise. | |
136 | (chains): Likewise. | |
137 | (ngnubuckets): Likewise. | |
138 | (gnubuckets): Likewise. | |
139 | (gnuchains): Likewise. | |
140 | (mipsxlat): Likewise. | |
141 | (ngnuchains): Likewise. | |
142 | (gnusymidx): Likewise. | |
143 | (VALID_SYMBOL_NAME): Likewise. | |
144 | (VALID_DYNAMIC_NAME): Use it. | |
145 | (get_dynamic_data): Moved before process_dynamic_section. | |
146 | (get_num_dynamic_syms): New function. | |
147 | (process_dynamic_section): Use DT_SYMTAB, DT_SYMENT, DT_HASH, | |
148 | DT_GNU_HASH and DT_MIPS_XHASH to reconstruct dynamic symbol | |
149 | table. Use DT_STRTAB and DT_STRSZ to reconstruct dynamic string | |
150 | table. | |
151 | (get_symbol_index_type): Don't print "bad section index" when | |
152 | there is no section header. | |
153 | (print_dynamic_symbol): Rewrite. | |
154 | (process_symbol_table): Call print_dynamic_symbol to dump dynamic | |
155 | symbol table. | |
156 | ||
bb897477 RO |
157 | 2020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
158 | ||
159 | * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Don't | |
160 | enable on *-*-solaris*. | |
161 | ||
00386881 NC |
162 | 2020-03-30 Nick Clifton <nickc@redhat.com> |
163 | ||
164 | PR binutils/25662 | |
165 | * objcopy.c (copy_object): When copying PE format files set the | |
166 | timestamp field in the pe_data structure if the preserve_dates | |
167 | flag is set. | |
168 | * testsuite/binutils-all/objcopy.exp (objcopy_test) Use | |
169 | --preserve-dates in place of the -p option, in order to make its | |
170 | effect more obvious. | |
171 | ||
0a6a8b59 AM |
172 | 2020-03-28 Alan Modra <amodra@gmail.com> |
173 | ||
174 | * testsuite/binutils-all/objcopy.exp (objcopy_test): Only | |
175 | clear_xfail hppa*-*-*elf*. Revert mips xfails. | |
176 | ||
6a81c59b AM |
177 | 2020-03-28 Alan Modra <amodra@gmail.com> |
178 | ||
179 | * testsuite/binutils-all/objcopy.exp (objcopy_test): Move xfails | |
180 | from here to calls. Remove "m8*-*-*" entry. Don't xfail tic54x | |
181 | but do xfail spu, mipstx39 and mips-sgi-irix for the executable | |
182 | test. Pass "-p" to objcopy for the executable test. | |
183 | ||
1fafefd5 JL |
184 | 2020-03-27 Jozef Lawrynowicz <jozef.l@mittosystems.com> |
185 | ||
186 | PR binutils/25662 | |
187 | * testsuite/binutils-all/objcopy.exp (objcopy_test): Add argument to | |
188 | specify whether an object file or executable should be built and tested. | |
189 | Change test names to report whether an object file or executable is | |
190 | being tested. | |
191 | * testsuite/binutils-all/pr25662.ld: New test. | |
192 | * testsuite/binutils-all/pr25662.s: New test. | |
193 | ||
80e2a3b6 AM |
194 | 2020-03-27 Alan Modra <amodra@gmail.com> |
195 | ||
196 | * readelf.c (process_archive): Don't double free qualified_name. | |
197 | Don't break out of loop with "negative" archive_file_size, just | |
198 | set file offset to max. | |
199 | ||
4c836627 AM |
200 | 2020-03-25 Alan Modra <amodra@gmail.com> |
201 | ||
202 | * readelf.c (process_archive): Prevent endless loop. | |
203 | ||
1081065c L |
204 | 2020-03-24 H.J. Lu <hongjiu.lu@intel.com> |
205 | ||
206 | PR binutils/25708 | |
207 | * nm.c (print_symname): Replace _bfd_elf_get_symbol_version_name | |
208 | with bfd_get_symbol_version_string. | |
209 | (print_symbo): Pass TRUE to bfd_get_symbol_version_string. | |
210 | * objdump.c (objdump_print_symname): Likewise. | |
211 | ||
7e6e972f L |
212 | 2020-03-24 H.J. Lu <hongjiu.lu@intel.com> |
213 | ||
214 | PR binutils/25708 | |
215 | * nm.c (SYM_NAME): Removed. | |
216 | (print_symname): Add a pointer to struct extended_symbol_info | |
217 | argument. Call _bfd_elf_get_symbol_version_name to get symbol | |
218 | version. | |
219 | (print_symdef_entry): Pass NULL to print_symname. | |
220 | (print_symbol_info_bsd): Update call to print_symname. | |
221 | (print_symbol_info_sysv): Likewise. | |
222 | (print_symbol_info_posix): Likewise. | |
223 | ||
5a814d6d AM |
224 | 2020-03-24 Alan Modra <amodra@gmail.com> |
225 | ||
226 | * readelf.c (process_mips_specific): Free iconf on error path. | |
227 | ||
0636b245 NC |
228 | 2020-03-23 Nick Clifton <nickc@redhat.com> |
229 | ||
230 | PR 25714 | |
231 | * wrstabs.c (stab_pop_type): Replace assertion with error return. | |
232 | * write_stabs_in_sections_debugging_info: Likewise. | |
233 | * stab_enum_type: Likewise. | |
234 | * stab_modify_type: Likewise. | |
235 | * stab_struct_field: Likewise. | |
236 | * stab_end_struct_type: Likewise. | |
237 | * stab_start_class_type: Likewise. | |
238 | * stab_class_static_member: Likewise. | |
239 | * stab_class_baseclass: Likewise. | |
240 | * stab_class_start_method: Likewise. | |
241 | * stab_class_method_var: Likewise. | |
242 | * stab_class_end_method: Likewise. | |
243 | * stab_end_class_type: Likewise. | |
244 | * stab_typedef_type: Likewise. | |
245 | * stab_start_function: Likewise. | |
246 | * stab_end_block: Likewise. | |
247 | * stab_lineno: Likewise. | |
248 | ||
5844b465 NC |
249 | 2020-03-20 Nick Clifton <nickc@redhat.com> |
250 | ||
251 | * readelf.c (get_compression_header): Add ATTRIBUTE_WARN_UNUSED_RESULT. | |
252 | (process_section_headers): Check the return value from | |
253 | get_compression_header. | |
254 | (dump_section_as_strings): Likewise. | |
255 | (dump_section_as_bytes): Likewise. | |
256 | (load_specific_debug_section): Likewise. | |
257 | ||
3d98c460 L |
258 | 2020-03-20 H.J. Lu <hongjiu.lu@intel.com> |
259 | ||
260 | * ar.c (main): Update bfd_plugin_set_program_name call. | |
261 | * nm.c (main): Likewise. | |
262 | ||
f3a08f77 NC |
263 | 2020-03-19 Nick Clifton <nickc@redhat.com> |
264 | ||
265 | PR 25676 | |
266 | * testsuite/binutils-all/dw4.s: New test source file. | |
267 | * testsuite/binutils-all/nm.exp: Run the new test. | |
268 | ||
ef3df110 L |
269 | 2020-03-19 H.J. Lu <hongjiu.lu@intel.com> |
270 | ||
271 | * readelf.c (process_symbol_table): Use unsigned long for si. | |
272 | ||
81a65eb3 AM |
273 | 2020-03-19 Alan Modra <amodra@gmail.com> |
274 | ||
275 | * elfcomm.c: Don't include bfd.h or bucomm.h. | |
276 | (program_name): Declare. | |
277 | (process_archive_index_and_symbols): Replace bfd_boolean with int, | |
278 | and substitute FALSE and TRUE. | |
279 | (setup_archive, setup_nested_archive): Likewise. | |
280 | * elfcomm.h: Likewise. | |
281 | ||
1cb7d8b1 AM |
282 | 2020-03-19 Alan Modra <amodra@gmail.com> |
283 | ||
284 | * readelf.c (process_archive): Always return via path freeing | |
285 | memory. Formatting. | |
286 | ||
b966f55f AM |
287 | 2020-03-19 Alan Modra <amodra@gmail.com> |
288 | ||
289 | * readelf.c (process_netbsd_elf_note): Validate descsz before | |
290 | accessing descdata. Formatting. | |
291 | ||
645ba681 AM |
292 | 2020-03-19 Alan Modra <amodra@gmail.com> |
293 | ||
294 | * elfcomm.c (setup_archive): Make file_size an off_t. Comment. | |
295 | * elfcomm.h (setup_archive): Update prototype. | |
296 | ||
28d13567 AM |
297 | 2020-03-16 Alan Modra <amodra@gmail.com> |
298 | ||
299 | * readelf.c (get_symbols): New function. | |
300 | (process_relocs, ia64_process_unwind, hppa_process_unwind), | |
301 | (arm_process_unwind, get_symbol_for_build_attribute): Use it. | |
302 | ||
60e63c3e AM |
303 | 2020-03-16 Alan Modra <amodra@gmail.com> |
304 | ||
305 | * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts. | |
306 | Detect shift overflows and check that terminating byte is found. | |
307 | Print an error on a bad uleb128. | |
308 | ||
1bd6175a AM |
309 | 2020-03-14 Alan Modra <amodra@gmail.com> |
310 | ||
311 | * readelf.c (process_file): Clean ba_cache. | |
312 | ||
780f96ae AM |
313 | 2020-03-14 Alan Modra <amodra@gmail.com> |
314 | ||
315 | * elfcomm.h (setup_archive): Update prototype. | |
316 | * elfcomm.c (setup_archive): Add file_size parameter and sanity | |
317 | check longnames_size. | |
318 | (setup_nested_archive): Get file size and pass to setup_archive. | |
319 | * elfedit.c (process_archive): Likewise. | |
320 | * readelf.c (process_archive): Pass filedata->file_size to | |
321 | setup_archive. | |
322 | ||
f761cb13 AM |
323 | 2020-03-14 Alan Modra <amodra@gmail.com> |
324 | ||
325 | * readelf.c (dump_section_as_strings): Free memory on error exit. | |
326 | (dump_section_as_bytes, process_notes_at): Likewise. | |
327 | (get_build_id): Free enote. | |
328 | ||
06d949ec KR |
329 | 2020-03-13 Kamil Rytarowski <n54@gmx.com> |
330 | ||
331 | * readelf.c (get_netbsd_elfcore_note_type): Add support for | |
332 | NT_NETBSDCORE_LWPSTATUS notes. | |
333 | ||
fd486f32 AM |
334 | 2020-03-13 Alan Modra <amodra@gmail.com> |
335 | ||
336 | * elfcomm.c (get_archive_member_name): Always return malloc'd | |
337 | string or NULL. | |
338 | * elfedit.c (process_archive): Tidy memory on all return paths. | |
339 | * readelf.c (process_archive): Likewise. | |
340 | (process_symbol_table): Likewise. | |
341 | (ba_cache): New, replacing .. | |
342 | (get_symbol_for_build_attribute): ..static vars here. Free | |
343 | strtab and symtab before loading new ones. Reject symtab without | |
344 | valid strtab in loop, breaking out of loop on valid symtab. | |
345 | (process_file): Free ba_cache symtab and strtab here, resetting | |
346 | ba_cache. | |
347 | ||
8fb879cd AM |
348 | 2020-03-12 Alan Modra <amodra@gmail.com> |
349 | ||
350 | * readelf.c (process_section_headers): Don't just set | |
351 | filedata->section_headers NULL, free it first. Similarly for | |
352 | dynamic_symbols, dynamic_strings, dynamic_syminfo and | |
353 | symtab_shndx_list. Zero associated counts too. | |
354 | (process_object): Free symtab_shndx_list. | |
355 | (process_file): Free various allocated filedata tables. | |
356 | ||
5496f3c6 NC |
357 | 2020-03-11 Nick Clifton <nickc@redhat.com> |
358 | ||
359 | PR 25611 | |
360 | PR 25614 | |
361 | * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and | |
362 | li_segment_size fields. | |
363 | * dwarf.c (read_debug_line_header): Record the address size and | |
364 | segment selector size values (if present) in the lineinfo | |
365 | structure. | |
366 | (display_formatted_table): Warn if the format count is empty but | |
367 | the table itself is not empty. | |
368 | Display the format count and entry count at the start of the table | |
369 | dump. | |
370 | (display_debug_lines_raw): Display the address size and segement | |
371 | selector size fields, if present. | |
372 | * testsuite/binutils-all/dw5.W: Update expected output. | |
373 | ||
9cc89dc0 AM |
374 | 2020-03-11 Alan Modra <amodra@gmail.com> |
375 | ||
376 | PR 25651 | |
377 | * objcopy.c (copy_object): Test "gaps" not gap_fill_set or | |
378 | pad_to_set on second block of code dealing with padding. | |
379 | Replace "c" with "num_sec" and don't recalculate number of | |
380 | sections on second block. Size arrays using sizeof (element) | |
381 | rather than sizeof (element type). | |
382 | ||
41da0822 AM |
383 | 2020-03-10 Alan Modra <amodra@gmail.com> |
384 | ||
385 | * objdump.c (disassemble_section): Don't call qsort unless | |
386 | sym count is at least two. | |
387 | (disassemble_data): Don't call memcpy with NULL src. | |
388 | ||
95099889 AM |
389 | 2020-03-09 Alan Modra <amodra@gmail.com> |
390 | ||
391 | PR 25645 | |
392 | * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb | |
393 | to get_data rather than multiplying. | |
394 | (dump_ia64_vms_dynamic_relocs): Likewise. | |
395 | (process_version_sections): Correct order of size and nmemb args | |
396 | in get_data call. | |
397 | (process_mips_specific): Likewise. | |
398 | ||
a15de1f5 L |
399 | 2020-03-08 H.J. Lu <hongjiu.lu@intel.com> |
400 | ||
401 | * readelf.c (get_dynamic_data): Replace "memory chekers" with | |
402 | "memory checkers" in comments. | |
403 | ||
9979ab66 SM |
404 | 2020-03-06 Simon Marchi <simon.marchi@efficios.com> |
405 | ||
406 | PR 25491 | |
407 | * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES. | |
408 | * doc/Makefile.in: Re-generate. | |
409 | ||
a0dcf297 NC |
410 | 2020-03-06 Nick Clifton <nickc@redhat.com> |
411 | ||
412 | * objcopy.c (check_new_section_flags): New function. Reject the | |
413 | SEC_COFF_SHARED flag if the target is not a COFF binary. | |
414 | (copy_object): Call check_new_section_flags. | |
415 | (setup_section): Likewise. | |
416 | * doc/binutils.texi (objcopy): Add a note that the 'share' section | |
417 | flag cannot be applied to ELF binaries. | |
418 | ||
a9b90127 AM |
419 | 2020-03-06 Alan Modra <amodra@gmail.com> |
420 | ||
421 | PR 25637 | |
422 | * objcopy.c (filter_symbols): Correct rem_leading_char logic. | |
423 | ||
d1faf7ca AM |
424 | 2020-03-05 Alan Modra <amodra@gmail.com> |
425 | ||
426 | PR 25629 | |
427 | * objcopy.c (filter_symbols): Don't segfault on NULL | |
428 | prefix_symbols_string. | |
429 | ||
eef64366 CE |
430 | 2020-03-04 Christian Eggers <ceggers@gmx.de> |
431 | ||
432 | * objcopy.c (copy_object): Convert from bytes to octets for | |
433 | --gap-fill and --pad-to. | |
434 | ||
5be2b2f5 NC |
435 | 2020-03-03 Nick Clifton <nickc@redhat.com> |
436 | ||
437 | PR 25625 | |
438 | * prdbg.c (pr_tag_type): Remove call to abort. | |
439 | ||
b312fea1 AM |
440 | 2020-03-02 Aaron Merey <amerey@redhat.com> |
441 | ||
442 | * binutils/testsuite/binutils-all/debuginfod.exp: Improve port | |
443 | selection. | |
444 | ||
ba3265d0 NC |
445 | 2020-03-02 Nick Clifton <nickc@redhat.com> |
446 | ||
447 | PR 25543 | |
448 | * readelf.c (dump_section_as_strings): Display new-line characters | |
449 | as \n and then insert a line break. | |
450 | * testsuite/binutils-all/pr25543.s: New test. | |
451 | * testsuite/binutils-all/pr25543.d: Test driver. | |
452 | * testsuite/binutils-all/readelf.exp: Run the new test. | |
453 | ||
736990c4 NC |
454 | 2020-02-27 Nick Clifton <nickc@redhat.com> |
455 | ||
456 | PR 25526 | |
457 | * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if | |
458 | get_data is unable to load the string table. | |
459 | ||
dc1e8a47 AM |
460 | 2020-02-26 Alan Modra <amodra@gmail.com> |
461 | ||
462 | * elfedit.c: Indent labels correctly. | |
463 | * readelf.c: Likewise. | |
464 | * resres.c: Likewise. | |
465 | ||
ecda9016 L |
466 | 2020-02-25 H.J. Lu <hongjiu.lu@intel.com> |
467 | ||
468 | PR binutils/25584 | |
469 | * ar.c (main): Pass 0 to bfd_plugin_set_program_name. | |
470 | * nm.c (main): Pass 1 to bfd_plugin_set_program_name. | |
471 | ||
83d4d556 NC |
472 | 2020-02-24 Nick Clifton <nickc@redhat.com> |
473 | ||
474 | PR 25499 | |
475 | * doc/binutils.texi (objdump): Fix typo in description of | |
476 | objdump's -g option. | |
477 | ||
bd0cf5a6 NC |
478 | 2020-02-20 Nelson Chu <nelson.chu@sifive.com> |
479 | ||
480 | * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR | |
481 | is changed. | |
482 | ||
741cb839 EC |
483 | 2020-02-19 Jordan Rupprecht <rupprecht@google.com> |
484 | ||
485 | * objdump.c (show_line): call bfd_demangle when using do_demangle. | |
486 | ||
9f1528a1 AB |
487 | 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com> |
488 | ||
489 | * configure: Regenerate. | |
490 | ||
3a5d12fb FS |
491 | 2020-02-10 Fangrui Song <maskray@google.com> |
492 | ||
493 | * objcopy.c (parse_flags): Handle "exclude". | |
494 | * doc/binutils.texi: Document the support. | |
495 | ||
678d457f AM |
496 | 2020-02-10 Aaron Merey <amerey@redhat.com> |
497 | ||
498 | * binutils/testsuite/binutils-all/debuginfod.exp: | |
499 | Replace set ::env with setenv. | |
46471187 AM |
500 | Start server before setting environment variable. |
501 | Specify tmpdir as the location of the server's | |
502 | database. | |
503 | Check additional server metrics at start-up. | |
678d457f | 504 | |
e8319fde NC |
505 | 2020-02-07 Nick Clifton <nickc@redhat.com> |
506 | ||
507 | * README-how-to-make-a-release: Add note about updating the | |
508 | GAS/NEWS URL in the next release. | |
509 | ||
9fc0b501 SB |
510 | 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com> |
511 | ||
512 | PR 25469 | |
513 | * readelf.c (get_machine_flags): Add support for Z80N machine | |
514 | number. | |
515 | ||
e1104d08 NC |
516 | 2020-02-07 Nick Clifton <nickc@redhat.com> |
517 | ||
518 | * dwarf.c (display_debug_lines_decoded): Force a NUL termination | |
519 | of the truncated file name. | |
520 | ||
c2e6f744 | 521 | 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com> |
ece12829 TT |
522 | |
523 | * objdump.c (print_jump_visualisation): New function. | |
524 | (disassemble_bytes): Call new function. | |
525 | ||
02e0be69 AM |
526 | 2020-02-06 Alan Modra <amodra@gmail.com> |
527 | ||
528 | * testsuite/lib/binutils-common.exp (match_target): Accept '!' before | |
529 | TCL procedure. | |
530 | (supports_gnu_osabi): New procedure. | |
531 | (is_generic): New, from ld-lib.exp. | |
532 | (supports_gnu_unique): Use the above. | |
533 | ||
e8b79122 AM |
534 | 2020-02-04 Alan Modra <amodra@gmail.com> |
535 | ||
536 | * Makefile.am (CFILES): Add od-elf32_avr.c. | |
537 | * Makefile.in: Regenerate. | |
538 | * po/POTFILES.in: Regenerate. | |
539 | ||
27a45f42 AS |
540 | 2020-02-03 Andreas Schwab <schwab@linux-m68k.org> |
541 | ||
542 | * readelf.c (dump_relocations, dump_relocations) | |
543 | (decode_arm_unwind_bytecode, process_dynamic_section) | |
544 | (get_symbol_visibility, get_alpha_symbol_other): Add newline to | |
545 | error message. | |
546 | ||
0b398d69 ST |
547 | 2020-02-03 Sergei Trofimovich <siarheit@google.com> |
548 | ||
549 | * coffdump.c (program_name): Drop redundant definition. | |
550 | * srconv.c (program_name): Likewise | |
551 | * sysdump.c (program_name): Likewise | |
552 | ||
a8c4d40b L |
553 | 2020-02-02 H.J. Lu <hongjiu.lu@intel.com> |
554 | ||
555 | PR gas/25380 | |
556 | * objdump.c (sym_ok): Return FALSE if 2 sections are in the | |
557 | same file with different section pointers. | |
558 | ||
cb6ad9bb NC |
559 | 2020-02-01 Nick Clifton <nickc@redhat.com> |
560 | ||
561 | * README-how-to-make-a-release: Update with more details on the | |
562 | release making process. | |
563 | ||
53943f32 NC |
564 | 2020-01-31 Nick Clifton <nickc@redhat.com> |
565 | ||
566 | * po/sv.po: Updated Swedish translation. | |
567 | ||
55be8fd0 NC |
568 | 2020-01-28 Nick Clifton <nickc@redhat.com> |
569 | ||
570 | * readelf.c (get_build_id): Simplify warning message about corrupt | |
571 | notes encountered whilst scanning for the build-id. | |
572 | ||
82ef9cad RM |
573 | 2020-01-27 Roland McGrath <mcgrathr@google.com> |
574 | ||
575 | * objcopy.c (compare_gnu_build_notes): Fix comparison results | |
576 | for overlapping ranges so that (A == B) == (B == A) holds. | |
577 | ||
e3696f67 AM |
578 | 2020-01-27 Alan Modra <amodra@gmail.com> |
579 | ||
580 | * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace | |
581 | case statement with switch statement. | |
582 | ||
2f796de6 NC |
583 | 2020-01-24 Nick Clifton <nickc@redhat.com> |
584 | ||
585 | * readelf.c (get_build_id): Fix warning messages about corrupt | |
586 | notes. | |
587 | ||
24e648d4 NC |
588 | 2020-01-23 Nick Clifton <nickc@redhat.com> |
589 | ||
590 | * po/fr.po: Updated French translation. | |
591 | ||
c48acf6f YC |
592 | 2020-01-22 Yuri Chornoivan <yurchor@mageia.org> |
593 | ||
594 | PR 25417 | |
595 | * readelf.c (get_alpha_symbol_other): Fix error message typo. | |
596 | ||
26916852 NC |
597 | 2020-01-20 Nick Clifton <nickc@redhat.com> |
598 | ||
599 | * po/pt.po: Updated Portuguese translation. | |
600 | * po/uk.po: Updated Ukranian translation. | |
601 | ||
b248e9ce NC |
602 | 2020-01-18 Nick Clifton <nickc@redhat.com> |
603 | ||
604 | * README-how-to-make-a-release: Update notes on how to cut a | |
605 | branch for a release. | |
606 | ||
1b1bb2c6 NC |
607 | 2020-01-18 Nick Clifton <nickc@redhat.com> |
608 | ||
609 | * configure: Regenerate. | |
610 | * po/binutils.pot: Regenerate. | |
611 | ||
ae774686 NC |
612 | 2020-01-18 Nick Clifton <nickc@redhat.com> |
613 | ||
614 | Binutils 2.34 branch created. | |
615 | ||
82a9ed20 TT |
616 | 2020-01-17 Thomas Troeger <tstroege@gmx.de> |
617 | ||
618 | * objdump.c (jump_info_visualize_address): Discard jumps that are | |
619 | no longer needed. | |
620 | (disassemble_bytes): Only compute the maximum level if jumps were | |
621 | detected. | |
622 | ||
6a1939f5 NC |
623 | 2020-01-13 Nick Clifton <nickc@redhat.com> |
624 | ||
c87c17c1 | 625 | * objdump.c (disassemble_bytes): Remove C99-ism. |
6a1939f5 NC |
626 | * testsuite/binutils-all/debuginfod.exp: New tests. |
627 | ||
1d67fe3b TT |
628 | 2020-01-13 Thomas Troeger <tstroege@gmx.de> |
629 | ||
630 | * objdump.c (visualize_jumps, color_output, extended_color_output) | |
631 | (detected_jumps): New variables. | |
632 | (usage): Add the new jump visualization options. | |
633 | (option_values): Add new option value. | |
634 | (long_options): Add the new option. | |
635 | (jump_info_new, jump_info_free): New functions. | |
636 | (jump_info_min_address, jump_info_max_address): Likewise. | |
637 | (jump_info_end_address, jump_info_is_start_address): Likewise. | |
638 | (jump_info_is_end_address, jump_info_size): Likewise. | |
639 | (jump_info_unlink, jump_info_insert): Likewise. | |
640 | (jump_info_add_front, jump_info_move_linked): Likewise. | |
641 | (jump_info_intersect, jump_info_merge): Likewise. | |
642 | (jump_info_sort, jump_info_visualize_address): Likewise. | |
643 | (disassemble_jumps): New function - used to locate jumps. | |
644 | (disassemble_bytes): Add ascii art generation. | |
645 | (disassemble_section): Add scan to locate jumps. | |
646 | (main): Parse the new visualization option. | |
647 | * doc/binutils.texi: Document the new feature. | |
648 | * NEWS: Mention the new feature. | |
649 | ||
a788aedd AM |
650 | 2020-01-13 Alan Modra <amodra@gmail.com> |
651 | ||
a4f2b7c5 AM |
652 | PR 25360 |
653 | PR 25361 | |
a788aedd AM |
654 | * dwarf.c (display_debug_frames): Move fde_fc earlier. Free |
655 | fde_fc col_type and col_offset. | |
656 | * readelf.c (apply_relocations): Move symsec check earlier. | |
657 | (free_debug_section): Free reloc_info. | |
658 | (process_notes_at): Free pnotes on error path. | |
659 | (process_object): Free dump_sects here.. | |
660 | (process_archive): ..not here. | |
661 | ||
805f38bc AM |
662 | 2020-01-13 Alan Modra <amodra@gmail.com> |
663 | ||
664 | PR 25362 | |
665 | * nm.c (display_rel_file): Free dyn_syms. | |
666 | ||
ffebb0bb NC |
667 | 2020-01-09 Nick Clifton <nickc@redhat.com> |
668 | ||
669 | PR 25220 | |
670 | * objcopy.c (empty_name): New variable. | |
671 | (need_sym_before): Prevent an attempt to free a static variable. | |
672 | (filter_symbols): Avoid strcmp test by checking for pointer | |
673 | equality. | |
674 | ||
ade4fd9b NC |
675 | 2020-01-09 Nick Clifton <nickc@redhat.com> |
676 | ||
677 | * po/zh_TW.po: Updated Traditional Chinese translation. | |
678 | ||
679 | 2020-01-09 Aaron Merey <amerey@redhat.com> | |
680 | ||
681 | * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod. | |
682 | * Makefile.in: Regenerate. | |
683 | * NEWS: Update. | |
684 | * config.in: Regenerate. | |
685 | * configure: Regenerate. | |
686 | * configure.ac: Call AC_DEBUGINFOD. | |
687 | * doc/Makefile.in: Regenerate. | |
688 | * doc/binutils.texi: Add section on using binutils | |
689 | with debuginfod. | |
690 | * dwarf.c (debuginfod_fetch_separate_debug_info): New function. | |
691 | Query debuginfod servers for the target debug file. | |
692 | (load_separate_debug_info): Call | |
693 | debuginfod_fetch_separate_debug_info if configured with | |
694 | debuginfod. | |
695 | (load_separate_debug_files): Add file argument to | |
696 | load_separate_debug_info calls. | |
697 | * dwarf.h (get_build_id): Add declaration. | |
698 | * objdump.c (get_build_id): New function. Get build-id of file. | |
699 | * readelf.c (get_build_id): Likewise. | |
700 | * testsuite/binutils-all/debuginfod.exp: New tests. | |
701 | * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id | |
702 | section. | |
703 | ||
6655dba2 SB |
704 | 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com> |
705 | ||
706 | * readelf.c: Add support for new Z*) relocations and machine | |
707 | types. | |
708 | ||
b14ce8bf AM |
709 | 2020-01-01 Alan Modra <amodra@gmail.com> |
710 | ||
711 | Update year range in copyright notice of all files. | |
712 | ||
0b114740 | 713 | For older changes see ChangeLog-2019 |
3499769a | 714 | \f |
0b114740 | 715 | Copyright (C) 2020 Free Software Foundation, Inc. |
3499769a AM |
716 | |
717 | Copying and distribution of this file, with or without modification, | |
718 | are permitted in any medium without royalty provided the copyright | |
719 | notice and this notice are preserved. | |
720 | ||
721 | Local Variables: | |
722 | mode: change-log | |
723 | left-margin: 8 | |
724 | fill-column: 74 | |
725 | version-control: never | |
726 | End: |