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