]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
[gdb/testsuite] Set EDITOR to true before using edit
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
9cc89dc0
AM
12020-03-11 Alan Modra <amodra@gmail.com>
2
3 PR 25651
4 * objcopy.c (copy_object): Test "gaps" not gap_fill_set or
5 pad_to_set on second block of code dealing with padding.
6 Replace "c" with "num_sec" and don't recalculate number of
7 sections on second block. Size arrays using sizeof (element)
8 rather than sizeof (element type).
9
41da0822
AM
102020-03-10 Alan Modra <amodra@gmail.com>
11
12 * objdump.c (disassemble_section): Don't call qsort unless
13 sym count is at least two.
14 (disassemble_data): Don't call memcpy with NULL src.
15
95099889
AM
162020-03-09 Alan Modra <amodra@gmail.com>
17
18 PR 25645
19 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
20 to get_data rather than multiplying.
21 (dump_ia64_vms_dynamic_relocs): Likewise.
22 (process_version_sections): Correct order of size and nmemb args
23 in get_data call.
24 (process_mips_specific): Likewise.
25
a15de1f5
L
262020-03-08 H.J. Lu <hongjiu.lu@intel.com>
27
28 * readelf.c (get_dynamic_data): Replace "memory chekers" with
29 "memory checkers" in comments.
30
9979ab66
SM
312020-03-06 Simon Marchi <simon.marchi@efficios.com>
32
33 PR 25491
34 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
35 * doc/Makefile.in: Re-generate.
36
a0dcf297
NC
372020-03-06 Nick Clifton <nickc@redhat.com>
38
39 * objcopy.c (check_new_section_flags): New function. Reject the
40 SEC_COFF_SHARED flag if the target is not a COFF binary.
41 (copy_object): Call check_new_section_flags.
42 (setup_section): Likewise.
43 * doc/binutils.texi (objcopy): Add a note that the 'share' section
44 flag cannot be applied to ELF binaries.
45
a9b90127
AM
462020-03-06 Alan Modra <amodra@gmail.com>
47
48 PR 25637
49 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
50
d1faf7ca
AM
512020-03-05 Alan Modra <amodra@gmail.com>
52
53 PR 25629
54 * objcopy.c (filter_symbols): Don't segfault on NULL
55 prefix_symbols_string.
56
eef64366
CE
572020-03-04 Christian Eggers <ceggers@gmx.de>
58
59 * objcopy.c (copy_object): Convert from bytes to octets for
60 --gap-fill and --pad-to.
61
5be2b2f5
NC
622020-03-03 Nick Clifton <nickc@redhat.com>
63
64 PR 25625
65 * prdbg.c (pr_tag_type): Remove call to abort.
66
b312fea1
AM
672020-03-02 Aaron Merey <amerey@redhat.com>
68
69 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
70 selection.
71
ba3265d0
NC
722020-03-02 Nick Clifton <nickc@redhat.com>
73
74 PR 25543
75 * readelf.c (dump_section_as_strings): Display new-line characters
76 as \n and then insert a line break.
77 * testsuite/binutils-all/pr25543.s: New test.
78 * testsuite/binutils-all/pr25543.d: Test driver.
79 * testsuite/binutils-all/readelf.exp: Run the new test.
80
736990c4
NC
812020-02-27 Nick Clifton <nickc@redhat.com>
82
83 PR 25526
84 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
85 get_data is unable to load the string table.
86
dc1e8a47
AM
872020-02-26 Alan Modra <amodra@gmail.com>
88
89 * elfedit.c: Indent labels correctly.
90 * readelf.c: Likewise.
91 * resres.c: Likewise.
92
ecda9016
L
932020-02-25 H.J. Lu <hongjiu.lu@intel.com>
94
95 PR binutils/25584
96 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
97 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
98
83d4d556
NC
992020-02-24 Nick Clifton <nickc@redhat.com>
100
101 PR 25499
102 * doc/binutils.texi (objdump): Fix typo in description of
103 objdump's -g option.
104
bd0cf5a6
NC
1052020-02-20 Nelson Chu <nelson.chu@sifive.com>
106
107 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
108 is changed.
109
741cb839
EC
1102020-02-19 Jordan Rupprecht <rupprecht@google.com>
111
112 * objdump.c (show_line): call bfd_demangle when using do_demangle.
113
9f1528a1
AB
1142020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
115
116 * configure: Regenerate.
117
3a5d12fb
FS
1182020-02-10 Fangrui Song <maskray@google.com>
119
120 * objcopy.c (parse_flags): Handle "exclude".
121 * doc/binutils.texi: Document the support.
122
678d457f
AM
1232020-02-10 Aaron Merey <amerey@redhat.com>
124
125 * binutils/testsuite/binutils-all/debuginfod.exp:
126 Replace set ::env with setenv.
46471187
AM
127 Start server before setting environment variable.
128 Specify tmpdir as the location of the server's
129 database.
130 Check additional server metrics at start-up.
678d457f 131
e8319fde
NC
1322020-02-07 Nick Clifton <nickc@redhat.com>
133
134 * README-how-to-make-a-release: Add note about updating the
135 GAS/NEWS URL in the next release.
136
9fc0b501
SB
1372020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
138
139 PR 25469
140 * readelf.c (get_machine_flags): Add support for Z80N machine
141 number.
142
e1104d08
NC
1432020-02-07 Nick Clifton <nickc@redhat.com>
144
145 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
146 of the truncated file name.
147
c2e6f744 1482020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
ece12829
TT
149
150 * objdump.c (print_jump_visualisation): New function.
151 (disassemble_bytes): Call new function.
152
02e0be69
AM
1532020-02-06 Alan Modra <amodra@gmail.com>
154
155 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
156 TCL procedure.
157 (supports_gnu_osabi): New procedure.
158 (is_generic): New, from ld-lib.exp.
159 (supports_gnu_unique): Use the above.
160
e8b79122
AM
1612020-02-04 Alan Modra <amodra@gmail.com>
162
163 * Makefile.am (CFILES): Add od-elf32_avr.c.
164 * Makefile.in: Regenerate.
165 * po/POTFILES.in: Regenerate.
166
27a45f42
AS
1672020-02-03 Andreas Schwab <schwab@linux-m68k.org>
168
169 * readelf.c (dump_relocations, dump_relocations)
170 (decode_arm_unwind_bytecode, process_dynamic_section)
171 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
172 error message.
173
0b398d69
ST
1742020-02-03 Sergei Trofimovich <siarheit@google.com>
175
176 * coffdump.c (program_name): Drop redundant definition.
177 * srconv.c (program_name): Likewise
178 * sysdump.c (program_name): Likewise
179
a8c4d40b
L
1802020-02-02 H.J. Lu <hongjiu.lu@intel.com>
181
182 PR gas/25380
183 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
184 same file with different section pointers.
185
cb6ad9bb
NC
1862020-02-01 Nick Clifton <nickc@redhat.com>
187
188 * README-how-to-make-a-release: Update with more details on the
189 release making process.
190
53943f32
NC
1912020-01-31 Nick Clifton <nickc@redhat.com>
192
193 * po/sv.po: Updated Swedish translation.
194
55be8fd0
NC
1952020-01-28 Nick Clifton <nickc@redhat.com>
196
197 * readelf.c (get_build_id): Simplify warning message about corrupt
198 notes encountered whilst scanning for the build-id.
199
82ef9cad
RM
2002020-01-27 Roland McGrath <mcgrathr@google.com>
201
202 * objcopy.c (compare_gnu_build_notes): Fix comparison results
203 for overlapping ranges so that (A == B) == (B == A) holds.
204
e3696f67
AM
2052020-01-27 Alan Modra <amodra@gmail.com>
206
207 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
208 case statement with switch statement.
209
2f796de6
NC
2102020-01-24 Nick Clifton <nickc@redhat.com>
211
212 * readelf.c (get_build_id): Fix warning messages about corrupt
213 notes.
214
24e648d4
NC
2152020-01-23 Nick Clifton <nickc@redhat.com>
216
217 * po/fr.po: Updated French translation.
218
c48acf6f
YC
2192020-01-22 Yuri Chornoivan <yurchor@mageia.org>
220
221 PR 25417
222 * readelf.c (get_alpha_symbol_other): Fix error message typo.
223
26916852
NC
2242020-01-20 Nick Clifton <nickc@redhat.com>
225
226 * po/pt.po: Updated Portuguese translation.
227 * po/uk.po: Updated Ukranian translation.
228
b248e9ce
NC
2292020-01-18 Nick Clifton <nickc@redhat.com>
230
231 * README-how-to-make-a-release: Update notes on how to cut a
232 branch for a release.
233
1b1bb2c6
NC
2342020-01-18 Nick Clifton <nickc@redhat.com>
235
236 * configure: Regenerate.
237 * po/binutils.pot: Regenerate.
238
ae774686
NC
2392020-01-18 Nick Clifton <nickc@redhat.com>
240
241 Binutils 2.34 branch created.
242
82a9ed20
TT
2432020-01-17 Thomas Troeger <tstroege@gmx.de>
244
245 * objdump.c (jump_info_visualize_address): Discard jumps that are
246 no longer needed.
247 (disassemble_bytes): Only compute the maximum level if jumps were
248 detected.
249
6a1939f5
NC
2502020-01-13 Nick Clifton <nickc@redhat.com>
251
c87c17c1 252 * objdump.c (disassemble_bytes): Remove C99-ism.
6a1939f5
NC
253 * testsuite/binutils-all/debuginfod.exp: New tests.
254
1d67fe3b
TT
2552020-01-13 Thomas Troeger <tstroege@gmx.de>
256
257 * objdump.c (visualize_jumps, color_output, extended_color_output)
258 (detected_jumps): New variables.
259 (usage): Add the new jump visualization options.
260 (option_values): Add new option value.
261 (long_options): Add the new option.
262 (jump_info_new, jump_info_free): New functions.
263 (jump_info_min_address, jump_info_max_address): Likewise.
264 (jump_info_end_address, jump_info_is_start_address): Likewise.
265 (jump_info_is_end_address, jump_info_size): Likewise.
266 (jump_info_unlink, jump_info_insert): Likewise.
267 (jump_info_add_front, jump_info_move_linked): Likewise.
268 (jump_info_intersect, jump_info_merge): Likewise.
269 (jump_info_sort, jump_info_visualize_address): Likewise.
270 (disassemble_jumps): New function - used to locate jumps.
271 (disassemble_bytes): Add ascii art generation.
272 (disassemble_section): Add scan to locate jumps.
273 (main): Parse the new visualization option.
274 * doc/binutils.texi: Document the new feature.
275 * NEWS: Mention the new feature.
276
a788aedd
AM
2772020-01-13 Alan Modra <amodra@gmail.com>
278
a4f2b7c5
AM
279 PR 25360
280 PR 25361
a788aedd
AM
281 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
282 fde_fc col_type and col_offset.
283 * readelf.c (apply_relocations): Move symsec check earlier.
284 (free_debug_section): Free reloc_info.
285 (process_notes_at): Free pnotes on error path.
286 (process_object): Free dump_sects here..
287 (process_archive): ..not here.
288
805f38bc
AM
2892020-01-13 Alan Modra <amodra@gmail.com>
290
291 PR 25362
292 * nm.c (display_rel_file): Free dyn_syms.
293
ffebb0bb
NC
2942020-01-09 Nick Clifton <nickc@redhat.com>
295
296 PR 25220
297 * objcopy.c (empty_name): New variable.
298 (need_sym_before): Prevent an attempt to free a static variable.
299 (filter_symbols): Avoid strcmp test by checking for pointer
300 equality.
301
ade4fd9b
NC
3022020-01-09 Nick Clifton <nickc@redhat.com>
303
304 * po/zh_TW.po: Updated Traditional Chinese translation.
305
3062020-01-09 Aaron Merey <amerey@redhat.com>
307
308 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
309 * Makefile.in: Regenerate.
310 * NEWS: Update.
311 * config.in: Regenerate.
312 * configure: Regenerate.
313 * configure.ac: Call AC_DEBUGINFOD.
314 * doc/Makefile.in: Regenerate.
315 * doc/binutils.texi: Add section on using binutils
316 with debuginfod.
317 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
318 Query debuginfod servers for the target debug file.
319 (load_separate_debug_info): Call
320 debuginfod_fetch_separate_debug_info if configured with
321 debuginfod.
322 (load_separate_debug_files): Add file argument to
323 load_separate_debug_info calls.
324 * dwarf.h (get_build_id): Add declaration.
325 * objdump.c (get_build_id): New function. Get build-id of file.
326 * readelf.c (get_build_id): Likewise.
327 * testsuite/binutils-all/debuginfod.exp: New tests.
328 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
329 section.
330
6655dba2
SB
3312020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
332
333 * readelf.c: Add support for new Z*) relocations and machine
334 types.
335
b14ce8bf
AM
3362020-01-01 Alan Modra <amodra@gmail.com>
337
338 Update year range in copyright notice of all files.
339
0b114740 340For older changes see ChangeLog-2019
3499769a 341\f
0b114740 342Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
343
344Copying and distribution of this file, with or without modification,
345are permitted in any medium without royalty provided the copyright
346notice and this notice are preserved.
347
348Local Variables:
349mode: change-log
350left-margin: 8
351fill-column: 74
352version-control: never
353End: