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