Automatic date update in version.in
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
514bbb0f
AV
12019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
2
3 * NEWS: Mention Armv8.1-M Mainline and MVE.
4
a7ad558c
AV
52019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
6
7 * readelf.c (arm_attr_tag_MVE_arch): New array for Tag_MVE_arch values.
8 (arm_attr_public_tag arm_attr_public_tags): Add case for Tag_MVE_arch.
9
37d0d091
JH
102019-05-14 Jamey Hicks <jamey.hicks@gmail.com>
11
12 PR 19921
13 * objcopy.c: Add new option --verilog-data-width. Use it to set
14 the value of VerilogDataWidth.
15 * doc/binutils.texi: Document the new option.
16 * testsuite/binutils-all/objcopy.exp: Run tests of new option.
17 * testsuite/binutils-all/verilog-1.hex: New file.
18 * testsuite/binutils-all/verilog-2.hex: New file.
19 * testsuite/binutils-all/verilog-4.hex: New file.
20 * testsuite/binutils-all/verilog-8.hex: New file.
21 * NEWS: Mention the new feature.
22
391bf891
AM
232019-05-10 Alan Modra <amodra@gmail.com>
24
25 * testsuite/binutils-all/objdump.exp (test_objdump_disas_limited),
26 (test_objdump_content_limited): Add text arg, use in place of .text.
27 (bintest_signed.o): Call get_standard_section_names for name of
28 text section.
29
2379f9c4
FS
302019-05-08 Faraz Shahbazker <fshahbazker@wavecomp.com>
31
32 * objdump.c (sign_extend_address): New function.
33 (dump_bfd): Sign-extend user-specified start/stop addresses
34 for targets that need it.
35 * testsuite/binutils-all/objdump.exp: Add tests for objdump
36 with start and stop addresses in higher address ranges.
37
2ecde2b6
MM
382019-05-01 Matthew Malcomson <matthew.malcomson@arm.com>
39
40 * testsuite/binutils-all/objdump.exp: Correct executable
41 spelling.
42 * testsuite/binutils-all/compress.exp: Likewise.
43
25a02744
NC
442019-05-01 Nick Clifton <nickc@redhat.com>
45
46 PR 24507
47 * nm.c: (print_format): New variable.
48 (value_format_32bit, value_format_64bit): Delete.
49 (set_print_radix): Remove code to alter value_format strings.
50 (set_output_format): Record chosen format in print_format.
51 (get_print_format): New function - constructs a printf formatting
52 string according to the requirements of size, radix, and output
53 format.
54 (print_value): Use get_print_format.
55 * testsuite/binutils-all/nm.exp: Add tests of "nm --format=posix"
56 and "nm -t d".
57
8107ddce
AM
582019-04-30 Alan Modra <amodra@gmail.com>
59
60 * wrstabs.c (stab_start_class_type): Add assert to work around
61 gcc9 warning. Tidy.
62
1b8dd643
NC
632019-04-24 Nick Clifton <nickc@redhat.com>
64
65 * objcopy.c (strip_main): Do not enable note merging by default if
66 just stripping debug or dwo information.
67 * doc/binutils.texi (strip): Update documentation.
68
624a2451
NC
692019-04-23 Nick Clifton <nickc@redhat.com>
70
71 * README-how-to-make-a-release: Add note to update the symbolic
72 link from "docs" to "docs-2.x" on the sourceware website.
73
a0fb9615
AM
742019-04-16 Alan Modra <amodra@gmail.com>
75
76 * testsuite/binutils-all/copy-2.d: Don't run for ns32k-*-*.
77 * testsuite/binutils-all/copy-3.d: Likewise.
78
031254f2
AV
792019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
80
81 * readelf.c (arm_attr_tag_CPU_arch): Add entry for Armv8.1-M Mainline.
82
462cac58
L
832019-04-08 H.J. Lu <hongjiu.lu@intel.com>
84
85 * readelf.c (decode_x86_isa): Handle
86 GNU_PROPERTY_X86_ISA_1_AVX512_BF16.
87 * testsuite/binutils-all/i386/pr21231b.d: Updated.
88 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
89
82b53593
L
902019-04-08 H.J. Lu <hongjiu.lu@intel.com>
91
92 * testsuite/binutils-all/nm.exp: Count i386-moss as ELF.
93
05805feb
TC
942019-03-26 Tamar Christina <tamar.christina@arm.com>
95
96 * testsuite/binutils-all/aarch64/in-order-all.d: Update.
97 * testsuite/binutils-all/aarch64/in-order.d: Likewise.
98 * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
99 * testsuite/binutils-all/aarch64/out-of-order.d: Likewise.
100 * testsuite/binutils-all/aarch64/out-of-order.s: Likewise.
101 * testsuite/binutils-all/arm/in-order-all.d: Likewise.
102 * testsuite/binutils-all/arm/in-order.d: Likewise.
103 * testsuite/binutils-all/arm/out-of-order-all.d: Likewise.
104 * testsuite/binutils-all/arm/out-of-order.d: Likewise.
105 * testsuite/binutils-all/arm/out-of-order.s: Likewise.
106
5fb812fc
NC
1072019-03-26 Nick Clifton <nickc@redhat.com>
108
109 * MAINTAINERS: Take over Dave Brolley's maintainerships for FR30,
110 FRV and MEP.
111
e8fba7f6
AM
1122019-03-26 Alan Modra <amodra@gmail.com>
113
114 * objdump.c (dump_relocs_in_section): Warning fix.
115
796d6298
TC
1162019-03-25 Tamar Christina <tamar.christina@arm.com>
117
118 * testsuite/binutils-all/arm/in-order-all.d: New test.
119 * testsuite/binutils-all/arm/in-order.d: New test.
120 * testsuite/binutils-all/arm/objdump.exp: Support .d tests.
121 * testsuite/binutils-all/arm/out-of-order-all.d: New test.
122 * testsuite/binutils-all/arm/out-of-order.T: New test.
123 * testsuite/binutils-all/arm/out-of-order.d: New test.
124 * testsuite/binutils-all/arm/out-of-order.s: New test.
125
126
60df3720
TC
1272019-03-25 Tamar Christina <tamar.christina@arm.com>
128
129 * testsuite/binutils-all/aarch64/in-order-all.d: New test.
130 * testsuite/binutils-all/aarch64/out-of-order-all.d: New test.
131 * testsuite/binutils-all/aarch64/out-of-order.d:
132
51457761
TC
1332019-03-25 Tamar Christina <tamar.christina@arm.com>
134
135 * testsuite/binutils-all/aarch64/in-order.d: New test.
136 * testsuite/binutils-all/aarch64/out-of-order.d: Disassemble data as
137 well.
138
53b2f36b
TC
1392019-03-25 Tamar Christina <tamar.christina@arm.com>
140
141 * objdump.c (disassemble_bytes): Pass stop_offset.
142 * testsuite/binutils-all/aarch64/out-of-order.T: New test.
143 * testsuite/binutils-all/aarch64/out-of-order.d: New test.
144 * testsuite/binutils-all/aarch64/out-of-order.s: New test.
145
63455780
NC
1462019-03-19 Nick Clifton <nickc@redhat.com>
147
148 PR 24360
149 * objdump.c (load_specific_debug_section): Check that the amount
150 of memory to be allocated matches the size of the section.
151
1dbade74
SD
1522019-03-13 Sudakshina Das <sudi.das@arm.com>
153
154 * readelf.c (get_aarch64_dynamic_type): Add case for
155 DT_AARCH64_PAC_PLT.
156 (dynamic_section_aarch64_val): Likewise.
157
37c18eed
SD
1582019-03-13 Sudakshina Das <sudi.das@arm.com>
159 Szabolcs Nagy <szabolcs.nagy@arm.com>
160
161 * readelf.c (get_aarch64_dynamic_type): New.
162 (get_dynamic_type): Use above for EM_AARCH64.
163 (dynamic_section_aarch64_val): New.
164 (process_dynamic_section): Use above for EM_AARCH64.
165
cd702818
SD
1662019-03-13 Sudakshina Das <sudi.das@arm.com>
167
168 * readelf.c (decode_aarch64_feature_1_and): New.
169 (print_gnu_property_note): Add case for AArch64 gnu notes.
170
7a6e0d89
AM
1712019-03-12 Alan Modra <amodra@gmail.com>
172
173 * objdump.c (load_specific_debug_section): Don't compare section
174 size against file size.
175 (dump_relocs_in_section): Don't compare reloc size against file size.
176 Print "failed to read relocs" on bfd_get_reloc_upper_bound error.
177
88c9190b
NC
1782019-03-05 Nick Clifton <nickc@redhat.com>
179
180 PR 24295
181 * doc/binutils.texi (ar cmdline): Fix spelling mistake.
182
4933ff73
NC
1832019-03-05 Nick Clifton <nickc@redhat.com>
184
185 * po/sv.po: Updated Swedish translation.
186
093f70cc
MM
1872019-03-05 Matthew Malcomson <matthew.malcomson@arm.com>
188
189 PR 24287
190 * testsuite/lib/binutils-common.exp (run_dump_test): Replace a use
191 of "lmap" with a "foreach" loop.
192
f5f20315
NC
1932019-03-04 Nick Clifton <nickc@redhat.com>
194
195 PR 24281
196 * objcopy.c (copy_archive): Do not copy thin archives.
197
52d6f3ee
MM
1982019-02-27 Matthew Malcomson <matthew.malcomson@arm.com>
199
200 * testsuite/lib/binutils-common.exp: Allow multiple "as" lines.
201
39f0547e
NC
2022019-02-25 Nick Clifton <nickc@redhat.com>
203
204 * objdump.c (sym_ok): New function.
205 (find_symbol_for_address): Use new function.
206 (disassemble_section): Compare sections by name, not pointer.
207 (dump_dwarf): Move code to initialise byte_get pointer and iterate
208 over separate debug files from here to ...
209 (dump_bfd): ... here. Add parameter indicating that a separate
210 debug info file is being dumped. For main file, pull in the
211 symbol tables from all separate debug info files.
212 (display_object): Update call to dump_bfd.
213 * doc/binutils.texi: Document extened behaviour of the
214 --dwarf=follow-links option.
215 * NEWS: Mention this new feature.
216 * testsuite/binutils-all/objdump.WK2: Update expected output.
217 * testsuite/binutils-all/objdump.exp (test_follow_debuglink): Add
218 options and dump file parameters.
219 Add extra test.
220 * testsuite/binutils-all/objdump.WK3: New file.
221 * testsuite/binutils-all/readelf.exp: Change expected output for
222 readelf -wKis test.
223 * testsuite/binutils-all/readelf.wKis: New file.
224
24841daa
NC
2252019-02-22 Nick Clifton <nickc@redhat.com>
226
227 PR 23843
228 * dwarf.h (struct separate_info): New structure for containing
229 information on separate debug info files.
230 * dwarf.c (struct dwo_info): New structure for containing dwo
231 links.
232 (first_dwo_info): Chain of dwo_info structures.
233 (first_separate_file): Chain of separate_info structures.
234 (separate_debug_file, separate_debug_filename): Delete.
235 (fetch_alt_indirect_string): Scan all separate debug info files
236 for the requested string.
237 (add_dwo_info): New function.
238 (add_dwo_name): New function.
239 (add_dwo_dir): New function.
240 (add_dwo_id: New function.
241 (free_dwo_info): New function.
242 (read_and_display_attr_value): Store DWO data using the new
243 functions.
244 (load_debug_section_with_follow): If necessary, scan the list of
245 separate debug info files for the requested section.
246 (add_separate_debug_file): New function.
247 (load_separate_debug_info): Call add_separate_debug_file to store
248 the information on the newly loaded file.
249 (load_dwo_file): Likewise.
250 (load_separate_debif_file): Rename to load_separate_debug_files.
251 Change return type to boolean. If following links then attempt to
252 load all separate debug info files, not just the first one.
253 (free_debug_memory): Release memory in dwo_info and separate_info
254 chains.
255 * objdump.c (dump_dwarf): Iterate over all loaded debg info files.
256 * readelf.c (process_object): Likewise.
257 * doc/debug.options.texi: Update descriptions of links and
258 follow-links options.
259 * testsuite/binutils-all/objdump.WK2: Update expected output.
260 * testsuite/binutils-all/readelf.k2: Likewise.
261 * NEWS: Announce the new feature.
262
5cacf1c8
NC
2632019-02-21 Nick Clifton <nickc@redhat.com>
264
265 PR 24247
266 * unwind-ia64.c: Include sysdep.h.
267 (unw_decode_x1): Check current pointer against end pointer before
268 accessing memory.
269 (unw_decode_x2): Likewise.
270 (unw_decode_x3): Likewise.
271 (unw_decode_x4): Likewise.
272 (unw_decode_r2): Likewise.
273 (unw_decode_p2_p5): Likewise.
274 (unw_decode_p7_p10): Likewise.
275 (unw_decode): Likewise.
276
8d18bf79
NC
2772019-02-20 Nick Clifton <nickc@redhat.com>
278
3ca60c57
NC
279 PR 24246
280 * readelf.c (print_stapsdt_note): Harden against corrupt notes.
281
171375c6
NC
282 PR 24244
283 * unwind-ia64.c (unw_decode_uleb128): Add end parameter, use it to
284 prevent walking off the end of the buffer.
285 (unw_decode_x1): Add end paramter, pass it to unw_decode_uleb128.
286 (unw_decode_x2): Likewise.
287 (unw_decode_x3): Likewise.
288 (unw_decode_x4): Likewise.
289 (unw_decode_r2): Pass the end parameter to unw_decode_uleb128.
290 (unw_decode_r3): Likewise.
291 (unw_decode_p7_p10): Likewise.
292 (unw_decode_b2): Likewise.
293 (unw_decode_b3_x4): Likewise.
294
7fc0c668
NC
295 PR 24243
296 * readelf.c (process_mips_specific): Check for an options section
297 that is too small to even contain a single option.
8d18bf79 298
171375c6
NC
299 PR 24242
300 * readelf.c (print_ia64_vms_note): Harden against corrupt notes.
301
c22b42ce
AM
3022019-02-20 Alan Modra <amodra@gmail.com>
303
304 PR 24132
305 PR 24138
306 * readelf.c (get_data): Avoid possibility of overflow when
307 checking for a read that may extend past end of file.
308 (process_program_headers): Likewise.
309
7d272a55
AM
3102019-02-20 Alan Modra <amodra@gmail.com>
311
312 PR 24233
313 * objdump.c (dump_bfd_private_header): Print warning if
314 bfd_print_private_bfd_data returns false.
315
04d7fa21
NC
3162019-02-12 Nick Clifton <nickc@redhat.com>
317
318 PR 23440
319 * README-how-to-make-a-release: Use git clean to delete spurious
320 files from the local source repository.
321
46cbf38d
AB
3222019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
323
324 * size.c (berkeley_format): Delete.
325 (enum output_format): New enum.
326 (selected_output_format): New variable.
327 (usage): Update to mention GNU format.
328 (main): Update to extract options, and select format as needed.
329 Handle GNU format where needed.
330 (berkeley_sum): Renamed to...
331 (berkeley_or_gnu_sum): ...this, and updated to handle both formats.
332 (berkeley_format): Renamed to...
333 (berkeley_or_gnu_format): ...this, and updated to handle both
334 formats.
335 (print_sizes): Handle GNU format.
336 * doc/binutils.texi (size): Document new GNU format.
337 * testsuite/binutils-all/size.exp: Add test of extended
338 functionality.
339 * NEWS: Mention new functionality.
340
96fd92af
AB
3412019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
342
343 * doc/binutils.texi (size): Update example output for Berkeley
344 format output.
345
2012bf01
NC
3462019-02-07 Nick Clifton <nickc@redhat.com>
347
348 * README-how-to-make-a-release: Add a note about updating the
349 obsolete targets in the bfd/config.bfd file.
350
082cbd3b
NC
3512019-02-04 Nick Clifton <nickc@redhat.com>
352
353 * README-how-to-make-a-release: Add more notes on making a release.
354
18344509
NC
3552019-01-25 Nick Clifton <nickc@redhat.com>
356
357 PR 24131
358 * readelf.c (process_notes_at): Prevent an illegal memory access
359 when the note's namesize is zero.
360 (decode_tic6x_unwind_bytecode): Add code to handle the case where
361 no registers are specified in a frame pop instruction.
362
9ed1348c
NC
3632019-01-25 Nick Clifton <nickc@redhat.com>
364
365 * po/bg.po: Updated Bulgarian translation.
366
d9938630
NC
3672019-01-23 Nick Clifton <nickc@redhat.com>
368
369 * po/fr.po: Updated French translation.
370 * po/pt.po: Updated Portuguese translation.
371
375cd423
NC
3722019-01-21 Nick Clifton <nickc@redhat.com>
373
374 * po/uk.po: Updated Ukranian translation.
375
f48dfe41
NC
3762019-01-19 Nick Clifton <nickc@redhat.com>
377
378 * configure: Regenerate.
379 * binutils/po/binutils.pot.
380
381 * README-how-to-make-a-release: Update description on how to make
382 a branch.
383
f974f26c
NC
3842018-06-24 Nick Clifton <nickc@redhat.com>
385
386 2.32 branch created.
387
baae986a
NC
3882019-01-17 Nick Clifton <nickc@redhat.com>
389
390 * objdump.c (disassemble_section): When disassembling from a
391 symbol only stop at the next symbol if the original symbol was not
392 a function symbol. Otherwise continue disassembling until a new
393 function is reached.
394 * testsuite/binutils-all/objdump.exp: Add tests of extended
395 functionality.
396 * testsuite/binutils-all/disasm.s: New test source file.
397
2dc8dd17
JW
3982019-01-16 Kito Cheng <kito@andestech.com>
399 Nelson Chu <nelson@andestech.com>
400
401 * readelf.c (get_riscv_section_type_name): New function.
402 (get_section_type_name): Add handler for RISC-V.
403 (riscv_attr_tag_t): Declare.
404 (riscv_attr_tag): New.
405 (display_riscv_attribute): New function.
406 (process_attributes): Add handler for RISC-V.
407 * testsuite/binutils-all/strip-3.d: Remove .riscv.attribute
408 section.
409
12add40e
NC
4102019-01-10 Nick Clifton <nickc@redhat.com>
411
412 PR 23963
413 * objdump.c (sanitize_string): New function. Removes control
414 characters from symbol names.
415 (dump_section_header): Use new function.
416 (objdump_print_symname): Likewise.
417 (objdump_print_addr_with_sym): Likewise.
418 (show_line): Likewise.
419 (disassemble_bytes): Likewise.
420 (disassemble_section): Likewise.
421 (load_specific_debug_section): Likewise.
422 (read_section_stabs): Likewise.
423 (print_section_stabs): Likewise.
424 (dump_section): Likewise.
425 (dump_reloc_set): Likewise.
426 (dump_relocs_in_section): Likewise.
427 (dump_bfd): Likewise.
428 (display_any_bfd): Likewise.
429
28e817cc
NC
4302019-01-09 Nick Clifton <nickc@redhat.com>
431
c0b0b1c2 432 PR 24049
28e817cc
NC
433 * readelf.c (process_archive): Use arch.file_name in error
434 messages until the qualified name is available.
435
3107326d
AP
4362019-01-09 Andrew Paprocki <andrew@ishiboo.com>
437
438 * configure: Regenerate.
439
923c6a75
AM
4402019-01-09 Alan Modra <amodra@gmail.com>
441
442 * testsuite/binutils-all/cxxfilt.exp: Pass --no-strip-underscores
443 unconditionally to tests needing the option rather than via a
444 list of targets.
445
236f4ebe
NC
4462019-01-08 Nick Clifton <nickc@redhat.com>
447
448 PR 24044
449 * cxxfilt.c (hp_symbol_characters): Delete.
450 (main): Remove depcreated demangling styles.
451 * stabs.c (parse_stab_argtypes): Remove support for old gnu v2
452 demangling opnames.
453 * testsuite/binutils-all/cxxfilt.exp: Use the
454 --no-strip-underscore option for targets that do prefix their
455 symbols with underscores.
923c6a75 456 Update tests to eliminate those that use gnu v2 encoding.
236f4ebe 457
e3ecd631
TC
4582019-01-08 Tamar Christina <tamar.christina@arm.com>
459
460 PR 24065
461 * testsuite/binutils-all/copy-6.d: New test.
462 * testsuite/binutils-all/objcopy.exp: Use it.
463
171b8e19
AM
4642019-01-08 Alan Modra <amodra@gmail.com>
465
466 * testsuite/lib/binutils-common.exp (run_dump_test): Don't prepend
467 $srcdir/$subdir to source file name if it starts with "./".
468
4692019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
470
f87673e0
YS
471 * readelf.c (get_machine_flags): Add RXv3 output.
472
11fa9f13
NC
4732019-01-04 Nick Clifton <nickc@redhat.com>
474
475 PR 24005
476 * objdump.c (load_specific_debug_section): Check for integer
477 overflow before attempting to allocate contents.
478
cf0ad5bb
NC
4792019-01-04 Nick Clifton <nickc@redhat.com>
480
481 PR 24001
482 * objcopy.c (copy_object): Free dhandle after writing out the
483 debug information.
484 * objdump.c (dump_bfd): Free dhandle after printing out the debug
485 information.
486
11fa9f13 487
82704155
AM
4882019-01-01 Alan Modra <amodra@gmail.com>
489
490 Update year range in copyright notice of all files.
491
d5c04e1b 492For older changes see ChangeLog-2018
3499769a 493\f
d5c04e1b 494Copyright (C) 2019 Free Software Foundation, Inc.
3499769a
AM
495
496Copying and distribution of this file, with or without modification,
497are permitted in any medium without royalty provided the copyright
498notice and this notice are preserved.
499
500Local Variables:
501mode: change-log
502left-margin: 8
503fill-column: 74
504version-control: never
505End:
This page took 0.202703 seconds and 4 git commands to generate.