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