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