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