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