]>
Commit | Line | Data |
---|---|---|
ef3df110 L |
1 | 2020-03-19 H.J. Lu <hongjiu.lu@intel.com> |
2 | ||
3 | * readelf.c (process_symbol_table): Use unsigned long for si. | |
4 | ||
81a65eb3 AM |
5 | 2020-03-19 Alan Modra <amodra@gmail.com> |
6 | ||
7 | * elfcomm.c: Don't include bfd.h or bucomm.h. | |
8 | (program_name): Declare. | |
9 | (process_archive_index_and_symbols): Replace bfd_boolean with int, | |
10 | and substitute FALSE and TRUE. | |
11 | (setup_archive, setup_nested_archive): Likewise. | |
12 | * elfcomm.h: Likewise. | |
13 | ||
1cb7d8b1 AM |
14 | 2020-03-19 Alan Modra <amodra@gmail.com> |
15 | ||
16 | * readelf.c (process_archive): Always return via path freeing | |
17 | memory. Formatting. | |
18 | ||
b966f55f AM |
19 | 2020-03-19 Alan Modra <amodra@gmail.com> |
20 | ||
21 | * readelf.c (process_netbsd_elf_note): Validate descsz before | |
22 | accessing descdata. Formatting. | |
23 | ||
645ba681 AM |
24 | 2020-03-19 Alan Modra <amodra@gmail.com> |
25 | ||
26 | * elfcomm.c (setup_archive): Make file_size an off_t. Comment. | |
27 | * elfcomm.h (setup_archive): Update prototype. | |
28 | ||
28d13567 AM |
29 | 2020-03-16 Alan Modra <amodra@gmail.com> |
30 | ||
31 | * readelf.c (get_symbols): New function. | |
32 | (process_relocs, ia64_process_unwind, hppa_process_unwind), | |
33 | (arm_process_unwind, get_symbol_for_build_attribute): Use it. | |
34 | ||
60e63c3e AM |
35 | 2020-03-16 Alan Modra <amodra@gmail.com> |
36 | ||
37 | * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts. | |
38 | Detect shift overflows and check that terminating byte is found. | |
39 | Print an error on a bad uleb128. | |
40 | ||
1bd6175a AM |
41 | 2020-03-14 Alan Modra <amodra@gmail.com> |
42 | ||
43 | * readelf.c (process_file): Clean ba_cache. | |
44 | ||
780f96ae AM |
45 | 2020-03-14 Alan Modra <amodra@gmail.com> |
46 | ||
47 | * elfcomm.h (setup_archive): Update prototype. | |
48 | * elfcomm.c (setup_archive): Add file_size parameter and sanity | |
49 | check longnames_size. | |
50 | (setup_nested_archive): Get file size and pass to setup_archive. | |
51 | * elfedit.c (process_archive): Likewise. | |
52 | * readelf.c (process_archive): Pass filedata->file_size to | |
53 | setup_archive. | |
54 | ||
f761cb13 AM |
55 | 2020-03-14 Alan Modra <amodra@gmail.com> |
56 | ||
57 | * readelf.c (dump_section_as_strings): Free memory on error exit. | |
58 | (dump_section_as_bytes, process_notes_at): Likewise. | |
59 | (get_build_id): Free enote. | |
60 | ||
06d949ec KR |
61 | 2020-03-13 Kamil Rytarowski <n54@gmx.com> |
62 | ||
63 | * readelf.c (get_netbsd_elfcore_note_type): Add support for | |
64 | NT_NETBSDCORE_LWPSTATUS notes. | |
65 | ||
fd486f32 AM |
66 | 2020-03-13 Alan Modra <amodra@gmail.com> |
67 | ||
68 | * elfcomm.c (get_archive_member_name): Always return malloc'd | |
69 | string or NULL. | |
70 | * elfedit.c (process_archive): Tidy memory on all return paths. | |
71 | * readelf.c (process_archive): Likewise. | |
72 | (process_symbol_table): Likewise. | |
73 | (ba_cache): New, replacing .. | |
74 | (get_symbol_for_build_attribute): ..static vars here. Free | |
75 | strtab and symtab before loading new ones. Reject symtab without | |
76 | valid strtab in loop, breaking out of loop on valid symtab. | |
77 | (process_file): Free ba_cache symtab and strtab here, resetting | |
78 | ba_cache. | |
79 | ||
8fb879cd AM |
80 | 2020-03-12 Alan Modra <amodra@gmail.com> |
81 | ||
82 | * readelf.c (process_section_headers): Don't just set | |
83 | filedata->section_headers NULL, free it first. Similarly for | |
84 | dynamic_symbols, dynamic_strings, dynamic_syminfo and | |
85 | symtab_shndx_list. Zero associated counts too. | |
86 | (process_object): Free symtab_shndx_list. | |
87 | (process_file): Free various allocated filedata tables. | |
88 | ||
5496f3c6 NC |
89 | 2020-03-11 Nick Clifton <nickc@redhat.com> |
90 | ||
91 | PR 25611 | |
92 | PR 25614 | |
93 | * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and | |
94 | li_segment_size fields. | |
95 | * dwarf.c (read_debug_line_header): Record the address size and | |
96 | segment selector size values (if present) in the lineinfo | |
97 | structure. | |
98 | (display_formatted_table): Warn if the format count is empty but | |
99 | the table itself is not empty. | |
100 | Display the format count and entry count at the start of the table | |
101 | dump. | |
102 | (display_debug_lines_raw): Display the address size and segement | |
103 | selector size fields, if present. | |
104 | * testsuite/binutils-all/dw5.W: Update expected output. | |
105 | ||
9cc89dc0 AM |
106 | 2020-03-11 Alan Modra <amodra@gmail.com> |
107 | ||
108 | PR 25651 | |
109 | * objcopy.c (copy_object): Test "gaps" not gap_fill_set or | |
110 | pad_to_set on second block of code dealing with padding. | |
111 | Replace "c" with "num_sec" and don't recalculate number of | |
112 | sections on second block. Size arrays using sizeof (element) | |
113 | rather than sizeof (element type). | |
114 | ||
41da0822 AM |
115 | 2020-03-10 Alan Modra <amodra@gmail.com> |
116 | ||
117 | * objdump.c (disassemble_section): Don't call qsort unless | |
118 | sym count is at least two. | |
119 | (disassemble_data): Don't call memcpy with NULL src. | |
120 | ||
95099889 AM |
121 | 2020-03-09 Alan Modra <amodra@gmail.com> |
122 | ||
123 | PR 25645 | |
124 | * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb | |
125 | to get_data rather than multiplying. | |
126 | (dump_ia64_vms_dynamic_relocs): Likewise. | |
127 | (process_version_sections): Correct order of size and nmemb args | |
128 | in get_data call. | |
129 | (process_mips_specific): Likewise. | |
130 | ||
a15de1f5 L |
131 | 2020-03-08 H.J. Lu <hongjiu.lu@intel.com> |
132 | ||
133 | * readelf.c (get_dynamic_data): Replace "memory chekers" with | |
134 | "memory checkers" in comments. | |
135 | ||
9979ab66 SM |
136 | 2020-03-06 Simon Marchi <simon.marchi@efficios.com> |
137 | ||
138 | PR 25491 | |
139 | * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES. | |
140 | * doc/Makefile.in: Re-generate. | |
141 | ||
a0dcf297 NC |
142 | 2020-03-06 Nick Clifton <nickc@redhat.com> |
143 | ||
144 | * objcopy.c (check_new_section_flags): New function. Reject the | |
145 | SEC_COFF_SHARED flag if the target is not a COFF binary. | |
146 | (copy_object): Call check_new_section_flags. | |
147 | (setup_section): Likewise. | |
148 | * doc/binutils.texi (objcopy): Add a note that the 'share' section | |
149 | flag cannot be applied to ELF binaries. | |
150 | ||
a9b90127 AM |
151 | 2020-03-06 Alan Modra <amodra@gmail.com> |
152 | ||
153 | PR 25637 | |
154 | * objcopy.c (filter_symbols): Correct rem_leading_char logic. | |
155 | ||
d1faf7ca AM |
156 | 2020-03-05 Alan Modra <amodra@gmail.com> |
157 | ||
158 | PR 25629 | |
159 | * objcopy.c (filter_symbols): Don't segfault on NULL | |
160 | prefix_symbols_string. | |
161 | ||
eef64366 CE |
162 | 2020-03-04 Christian Eggers <ceggers@gmx.de> |
163 | ||
164 | * objcopy.c (copy_object): Convert from bytes to octets for | |
165 | --gap-fill and --pad-to. | |
166 | ||
5be2b2f5 NC |
167 | 2020-03-03 Nick Clifton <nickc@redhat.com> |
168 | ||
169 | PR 25625 | |
170 | * prdbg.c (pr_tag_type): Remove call to abort. | |
171 | ||
b312fea1 AM |
172 | 2020-03-02 Aaron Merey <amerey@redhat.com> |
173 | ||
174 | * binutils/testsuite/binutils-all/debuginfod.exp: Improve port | |
175 | selection. | |
176 | ||
ba3265d0 NC |
177 | 2020-03-02 Nick Clifton <nickc@redhat.com> |
178 | ||
179 | PR 25543 | |
180 | * readelf.c (dump_section_as_strings): Display new-line characters | |
181 | as \n and then insert a line break. | |
182 | * testsuite/binutils-all/pr25543.s: New test. | |
183 | * testsuite/binutils-all/pr25543.d: Test driver. | |
184 | * testsuite/binutils-all/readelf.exp: Run the new test. | |
185 | ||
736990c4 NC |
186 | 2020-02-27 Nick Clifton <nickc@redhat.com> |
187 | ||
188 | PR 25526 | |
189 | * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if | |
190 | get_data is unable to load the string table. | |
191 | ||
dc1e8a47 AM |
192 | 2020-02-26 Alan Modra <amodra@gmail.com> |
193 | ||
194 | * elfedit.c: Indent labels correctly. | |
195 | * readelf.c: Likewise. | |
196 | * resres.c: Likewise. | |
197 | ||
ecda9016 L |
198 | 2020-02-25 H.J. Lu <hongjiu.lu@intel.com> |
199 | ||
200 | PR binutils/25584 | |
201 | * ar.c (main): Pass 0 to bfd_plugin_set_program_name. | |
202 | * nm.c (main): Pass 1 to bfd_plugin_set_program_name. | |
203 | ||
83d4d556 NC |
204 | 2020-02-24 Nick Clifton <nickc@redhat.com> |
205 | ||
206 | PR 25499 | |
207 | * doc/binutils.texi (objdump): Fix typo in description of | |
208 | objdump's -g option. | |
209 | ||
bd0cf5a6 NC |
210 | 2020-02-20 Nelson Chu <nelson.chu@sifive.com> |
211 | ||
212 | * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR | |
213 | is changed. | |
214 | ||
741cb839 EC |
215 | 2020-02-19 Jordan Rupprecht <rupprecht@google.com> |
216 | ||
217 | * objdump.c (show_line): call bfd_demangle when using do_demangle. | |
218 | ||
9f1528a1 AB |
219 | 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com> |
220 | ||
221 | * configure: Regenerate. | |
222 | ||
3a5d12fb FS |
223 | 2020-02-10 Fangrui Song <maskray@google.com> |
224 | ||
225 | * objcopy.c (parse_flags): Handle "exclude". | |
226 | * doc/binutils.texi: Document the support. | |
227 | ||
678d457f AM |
228 | 2020-02-10 Aaron Merey <amerey@redhat.com> |
229 | ||
230 | * binutils/testsuite/binutils-all/debuginfod.exp: | |
231 | Replace set ::env with setenv. | |
46471187 AM |
232 | Start server before setting environment variable. |
233 | Specify tmpdir as the location of the server's | |
234 | database. | |
235 | Check additional server metrics at start-up. | |
678d457f | 236 | |
e8319fde NC |
237 | 2020-02-07 Nick Clifton <nickc@redhat.com> |
238 | ||
239 | * README-how-to-make-a-release: Add note about updating the | |
240 | GAS/NEWS URL in the next release. | |
241 | ||
9fc0b501 SB |
242 | 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com> |
243 | ||
244 | PR 25469 | |
245 | * readelf.c (get_machine_flags): Add support for Z80N machine | |
246 | number. | |
247 | ||
e1104d08 NC |
248 | 2020-02-07 Nick Clifton <nickc@redhat.com> |
249 | ||
250 | * dwarf.c (display_debug_lines_decoded): Force a NUL termination | |
251 | of the truncated file name. | |
252 | ||
c2e6f744 | 253 | 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com> |
ece12829 TT |
254 | |
255 | * objdump.c (print_jump_visualisation): New function. | |
256 | (disassemble_bytes): Call new function. | |
257 | ||
02e0be69 AM |
258 | 2020-02-06 Alan Modra <amodra@gmail.com> |
259 | ||
260 | * testsuite/lib/binutils-common.exp (match_target): Accept '!' before | |
261 | TCL procedure. | |
262 | (supports_gnu_osabi): New procedure. | |
263 | (is_generic): New, from ld-lib.exp. | |
264 | (supports_gnu_unique): Use the above. | |
265 | ||
e8b79122 AM |
266 | 2020-02-04 Alan Modra <amodra@gmail.com> |
267 | ||
268 | * Makefile.am (CFILES): Add od-elf32_avr.c. | |
269 | * Makefile.in: Regenerate. | |
270 | * po/POTFILES.in: Regenerate. | |
271 | ||
27a45f42 AS |
272 | 2020-02-03 Andreas Schwab <schwab@linux-m68k.org> |
273 | ||
274 | * readelf.c (dump_relocations, dump_relocations) | |
275 | (decode_arm_unwind_bytecode, process_dynamic_section) | |
276 | (get_symbol_visibility, get_alpha_symbol_other): Add newline to | |
277 | error message. | |
278 | ||
0b398d69 ST |
279 | 2020-02-03 Sergei Trofimovich <siarheit@google.com> |
280 | ||
281 | * coffdump.c (program_name): Drop redundant definition. | |
282 | * srconv.c (program_name): Likewise | |
283 | * sysdump.c (program_name): Likewise | |
284 | ||
a8c4d40b L |
285 | 2020-02-02 H.J. Lu <hongjiu.lu@intel.com> |
286 | ||
287 | PR gas/25380 | |
288 | * objdump.c (sym_ok): Return FALSE if 2 sections are in the | |
289 | same file with different section pointers. | |
290 | ||
cb6ad9bb NC |
291 | 2020-02-01 Nick Clifton <nickc@redhat.com> |
292 | ||
293 | * README-how-to-make-a-release: Update with more details on the | |
294 | release making process. | |
295 | ||
53943f32 NC |
296 | 2020-01-31 Nick Clifton <nickc@redhat.com> |
297 | ||
298 | * po/sv.po: Updated Swedish translation. | |
299 | ||
55be8fd0 NC |
300 | 2020-01-28 Nick Clifton <nickc@redhat.com> |
301 | ||
302 | * readelf.c (get_build_id): Simplify warning message about corrupt | |
303 | notes encountered whilst scanning for the build-id. | |
304 | ||
82ef9cad RM |
305 | 2020-01-27 Roland McGrath <mcgrathr@google.com> |
306 | ||
307 | * objcopy.c (compare_gnu_build_notes): Fix comparison results | |
308 | for overlapping ranges so that (A == B) == (B == A) holds. | |
309 | ||
e3696f67 AM |
310 | 2020-01-27 Alan Modra <amodra@gmail.com> |
311 | ||
312 | * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace | |
313 | case statement with switch statement. | |
314 | ||
2f796de6 NC |
315 | 2020-01-24 Nick Clifton <nickc@redhat.com> |
316 | ||
317 | * readelf.c (get_build_id): Fix warning messages about corrupt | |
318 | notes. | |
319 | ||
24e648d4 NC |
320 | 2020-01-23 Nick Clifton <nickc@redhat.com> |
321 | ||
322 | * po/fr.po: Updated French translation. | |
323 | ||
c48acf6f YC |
324 | 2020-01-22 Yuri Chornoivan <yurchor@mageia.org> |
325 | ||
326 | PR 25417 | |
327 | * readelf.c (get_alpha_symbol_other): Fix error message typo. | |
328 | ||
26916852 NC |
329 | 2020-01-20 Nick Clifton <nickc@redhat.com> |
330 | ||
331 | * po/pt.po: Updated Portuguese translation. | |
332 | * po/uk.po: Updated Ukranian translation. | |
333 | ||
b248e9ce NC |
334 | 2020-01-18 Nick Clifton <nickc@redhat.com> |
335 | ||
336 | * README-how-to-make-a-release: Update notes on how to cut a | |
337 | branch for a release. | |
338 | ||
1b1bb2c6 NC |
339 | 2020-01-18 Nick Clifton <nickc@redhat.com> |
340 | ||
341 | * configure: Regenerate. | |
342 | * po/binutils.pot: Regenerate. | |
343 | ||
ae774686 NC |
344 | 2020-01-18 Nick Clifton <nickc@redhat.com> |
345 | ||
346 | Binutils 2.34 branch created. | |
347 | ||
82a9ed20 TT |
348 | 2020-01-17 Thomas Troeger <tstroege@gmx.de> |
349 | ||
350 | * objdump.c (jump_info_visualize_address): Discard jumps that are | |
351 | no longer needed. | |
352 | (disassemble_bytes): Only compute the maximum level if jumps were | |
353 | detected. | |
354 | ||
6a1939f5 NC |
355 | 2020-01-13 Nick Clifton <nickc@redhat.com> |
356 | ||
c87c17c1 | 357 | * objdump.c (disassemble_bytes): Remove C99-ism. |
6a1939f5 NC |
358 | * testsuite/binutils-all/debuginfod.exp: New tests. |
359 | ||
1d67fe3b TT |
360 | 2020-01-13 Thomas Troeger <tstroege@gmx.de> |
361 | ||
362 | * objdump.c (visualize_jumps, color_output, extended_color_output) | |
363 | (detected_jumps): New variables. | |
364 | (usage): Add the new jump visualization options. | |
365 | (option_values): Add new option value. | |
366 | (long_options): Add the new option. | |
367 | (jump_info_new, jump_info_free): New functions. | |
368 | (jump_info_min_address, jump_info_max_address): Likewise. | |
369 | (jump_info_end_address, jump_info_is_start_address): Likewise. | |
370 | (jump_info_is_end_address, jump_info_size): Likewise. | |
371 | (jump_info_unlink, jump_info_insert): Likewise. | |
372 | (jump_info_add_front, jump_info_move_linked): Likewise. | |
373 | (jump_info_intersect, jump_info_merge): Likewise. | |
374 | (jump_info_sort, jump_info_visualize_address): Likewise. | |
375 | (disassemble_jumps): New function - used to locate jumps. | |
376 | (disassemble_bytes): Add ascii art generation. | |
377 | (disassemble_section): Add scan to locate jumps. | |
378 | (main): Parse the new visualization option. | |
379 | * doc/binutils.texi: Document the new feature. | |
380 | * NEWS: Mention the new feature. | |
381 | ||
a788aedd AM |
382 | 2020-01-13 Alan Modra <amodra@gmail.com> |
383 | ||
a4f2b7c5 AM |
384 | PR 25360 |
385 | PR 25361 | |
a788aedd AM |
386 | * dwarf.c (display_debug_frames): Move fde_fc earlier. Free |
387 | fde_fc col_type and col_offset. | |
388 | * readelf.c (apply_relocations): Move symsec check earlier. | |
389 | (free_debug_section): Free reloc_info. | |
390 | (process_notes_at): Free pnotes on error path. | |
391 | (process_object): Free dump_sects here.. | |
392 | (process_archive): ..not here. | |
393 | ||
805f38bc AM |
394 | 2020-01-13 Alan Modra <amodra@gmail.com> |
395 | ||
396 | PR 25362 | |
397 | * nm.c (display_rel_file): Free dyn_syms. | |
398 | ||
ffebb0bb NC |
399 | 2020-01-09 Nick Clifton <nickc@redhat.com> |
400 | ||
401 | PR 25220 | |
402 | * objcopy.c (empty_name): New variable. | |
403 | (need_sym_before): Prevent an attempt to free a static variable. | |
404 | (filter_symbols): Avoid strcmp test by checking for pointer | |
405 | equality. | |
406 | ||
ade4fd9b NC |
407 | 2020-01-09 Nick Clifton <nickc@redhat.com> |
408 | ||
409 | * po/zh_TW.po: Updated Traditional Chinese translation. | |
410 | ||
411 | 2020-01-09 Aaron Merey <amerey@redhat.com> | |
412 | ||
413 | * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod. | |
414 | * Makefile.in: Regenerate. | |
415 | * NEWS: Update. | |
416 | * config.in: Regenerate. | |
417 | * configure: Regenerate. | |
418 | * configure.ac: Call AC_DEBUGINFOD. | |
419 | * doc/Makefile.in: Regenerate. | |
420 | * doc/binutils.texi: Add section on using binutils | |
421 | with debuginfod. | |
422 | * dwarf.c (debuginfod_fetch_separate_debug_info): New function. | |
423 | Query debuginfod servers for the target debug file. | |
424 | (load_separate_debug_info): Call | |
425 | debuginfod_fetch_separate_debug_info if configured with | |
426 | debuginfod. | |
427 | (load_separate_debug_files): Add file argument to | |
428 | load_separate_debug_info calls. | |
429 | * dwarf.h (get_build_id): Add declaration. | |
430 | * objdump.c (get_build_id): New function. Get build-id of file. | |
431 | * readelf.c (get_build_id): Likewise. | |
432 | * testsuite/binutils-all/debuginfod.exp: New tests. | |
433 | * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id | |
434 | section. | |
435 | ||
6655dba2 SB |
436 | 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com> |
437 | ||
438 | * readelf.c: Add support for new Z*) relocations and machine | |
439 | types. | |
440 | ||
b14ce8bf AM |
441 | 2020-01-01 Alan Modra <amodra@gmail.com> |
442 | ||
443 | Update year range in copyright notice of all files. | |
444 | ||
0b114740 | 445 | For older changes see ChangeLog-2019 |
3499769a | 446 | \f |
0b114740 | 447 | Copyright (C) 2020 Free Software Foundation, Inc. |
3499769a AM |
448 | |
449 | Copying and distribution of this file, with or without modification, | |
450 | are permitted in any medium without royalty provided the copyright | |
451 | notice and this notice are preserved. | |
452 | ||
453 | Local Variables: | |
454 | mode: change-log | |
455 | left-margin: 8 | |
456 | fill-column: 74 | |
457 | version-control: never | |
458 | End: |