Allow passing a block to lookup_global_symbol_from_objfile
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
2f86d559
NC
12019-07-24 Nick Clifton <nickc@redhat.com>
2
3 PR 13256
4 * ar.c (decode_options): Restart option scanning if no operation
5 is detected and argument remain to be scanned.
6
2e8136f9
NC
72019-07-23 Nick Clifton <nickc@redhat.com>
8
9 PR 24818
10 * objdump.c (is_relocateable): Delete.
11 (load_specific_debug_section): Test the abfd for relocations
12 directly, rather than relying upon is_relocateable.
13 (dump_dwarf): Delete initlialization of is_relocateable.
14
df3a023b
AM
152019-07-23 Alan Modra <amodra@gmail.com>
16
17 * readelf.c (get_parisc_segment_type): Split off hpux entries..
18 (get_ia64_segment_type): ..and these..
19 (get_hpux_segment_type): ..to here.
20 (get_segment_type): Condition GNU_MBIND on osabi. Use
21 get_hpux_segment_type.
22 (get_symbol_binding): Do not print UNIQUE for ELFOSABI_NONE.
23 (get_symbol_type): Do not print IFUNC for ELFOSABI_NONE.
24
acea835f
AM
252019-07-23 Alan Modra <amodra@gmail.com>
26
27 * testsuite/binutils-all/objcopy.exp (elf64): Correct object
28 file used to set this variable.
29
1dd1bc4d
OM
302019-07-23 Omar Majid <omajid@redhat.com>
31
32 * Makefile.am (AUTOMAKE_OPTIONS): Add subdir-objects
33 (GENTESTDLLSPROG): Define.
34 (TEST_PROGS): Add GENTESTDLLSPROG.
35 * Makefile.in: Regenerate.
36 * testsuite/binutils-all/objdump.exp
37 (test_objdump_dotnet_assemblies): New proc.
38 Run the new proc.
39 * testsuite/gentestdlls.c: New source file.
40
781152ec
NC
412019-06-28 Nick Clifton <nickc@redhat.com>
42
43 PR 24707
44 * objdump.c (slurp_symtab): Fail with a helpful error message if
7e56c51c
NC
45 the symbol table is too large. Skip this check for MMO format
46 files.
781152ec 47
a68aa5d3
NC
482019-06-26 Nick Clifton <nickc@redhat.com>
49
50 PR 24703
51 * bucomm.c (bfd_nonfatal): If no bfd error code has been set then
52 indicate this in the output.
53 (bfd_nonfatal_message): Likewise.
54
3e50a591
JB
552019-06-25 Jan Beulich <jbeulich@suse.com>
56
57 * readelf.c (dump_ctf_indent_lines): Rename local variable
58 "spaces" to "blanks".
59
63160fc9
JB
602019-06-25 Jan Beulich <jbeulich@suse.com>
61
62 * objdump.c (dump_ctf_indent_lines): Rename local variable
63 "spaces" to "blanks".
64
3a3a077c
AM
652019-06-14 Alan Modra <amodra@gmail.com>
66
67 * Makefile.in: Regenerate.
68 * aclocal.m4: Regenerate.
69 * doc/Makefile.in: Regenerate.
70
9abca702
CZ
712019-06-12 Christos Zoulas <christos@zoulas.com>
72
73 PR 24663
74 * readelf.c (process_netbsd_elf_note): Add support for
75 NT_NETBSD_PAX.
76 (process_note): Add support for PaX notes.
77
c0d38b0e
CZ
782019-06-12 Christos Zoulas <christos@zoulas.com>
79
80 PR 24665
81 * readelf.c (get_netbsd_elfcore_note_type): Add support for SH
82 core notes.
83
540e6170
CZ
842019-06-12 Christos Zoulas <christos@zoulas.com>
85
86 PR 24664
87 * readelf.c (get_netbsd_elfcore_note_type): Add support for NetBSD
88 auxv notes.
89
2057d69d
CZ
902019-06-11 Christos Zoulas <christos@zoulas.com>
91
92 PR 24662
93 * readelf.c (get_alpha_symbol_other): New function.
94 (get_symbol_other): Use for Alpha symbols.
95 (is_32bit_pcrel_reloc): Add R_VAX_PCREL32.
96
c93dbb25
CZ
972019-06-11 Christos Zoulas <christos@zoulas.com>
98
99 PR 24661
100 * readelf.c (decode_arm_unwind): Ensure that the local variable
101 'addr' is always initialised.
102
c6a636ce
NC
1032019-06-10 Christos Zoulas <christos@zoulas.com>
104
105 PR 24651
106 * strings.c (print_strings): Use %u to print unsigned values in
107 decimal.
108
2e02f296
CZ
1092019-06-10 Christos Zoulas <christos@zoulas.com>
110
111 PR 24649
112 * arsup.c (ar_open): Use asprintf in place of xmalloc and
113 sprintf.
114
79b377b3
NC
1152019-06-03 Nick Clifton <nickc@redhat.com>
116
117 Revert:
118 2019-05-29 Nick Clifton <nickc@redhat.com>
119
120 * configure.ac (LIBCTF): Export. Set to empty for non-ELF based
121 targets.
122 (HAVE_LIBCTF): Define if libctf support is available.
123 * Makefile.am (LIBCTF): Set value to @LIBCTF@.
124 * objdump.c: Make CTF code conditional upon HAVE_LIBCTF being
125 defined.
126 * readelf.c: Likewise.
127 * configure: Regenerate.
128 * Makefile.in: Regenerate.
129 * config.in: Regenerate.
130
a0486bac
JM
1312019-05-30 Nick Alcock <nick.alcock@oracle.com>
132
133 * objdump.c (make_ctfsect): Drop cts_type, cts_flags, and
134 cts_offset.
135 * readelf.c (shdr_to_ctf_sect): Likewise.
136
ae9ac79e
NC
1372019-05-30 Nick Clifton <nickc@redhat.com>
138
139 PR 24627
140 * readelf.c (process_version_sections): Add 0x prefix to address
141 display. Correct indentation.
142
6ff185b8
AM
1432019-05-30 Alan Modra <amodra@gmail.com>
144
145 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Add
146 s12z to targets not supporting this feature.
147
1336939d
AM
1482019-05-30 Alan Modra <amodra@gmail.com>
149
150 * testsuite/lib/binutils-common.exp (run_dump_test): Support
151 tcl procedures for xfail args.
152
e33f2313
NC
1532019-05-29 Nick Clifton <nickc@redhat.com>
154
155 * README-how-to-make-a-release: Add libctf to list of directories
156 that need updates in their ChangeLogs.
157
90bd5423
NC
1582019-05-29 Nick Clifton <nickc@redhat.com>
159
160 * configure.ac (LIBCTF): Export. Set to empty for non-ELF based
161 targets.
162 (HAVE_LIBCTF): Define if libctf support is available.
163 * Makefile.am (LIBCTF): Set value to @LIBCTF@.
164 * objdump.c: Make CTF code conditional upon HAVE_LIBCTF being
165 defined.
166 * readelf.c: Likewise.
167 * configure: Regenerate.
168 * Makefile.in: Regenerate.
169 * config.in: Regenerate.
170
88981b15
NA
1712019-05-28 Nick Alcock <nick.alcock@oracle.com>
172
173 * MAINTAINERS: Add myself as CTF maintainer.
174
7d9813f1
NA
1752019-05-28 Nick Alcock <nick.alcock@oracle.com>
176
177 * objdump.c (ctf-api.h): New include.
178 (dump_ctf_section_info): New variable.
179 (dump_ctf_section_name): Likewise.
180 (usage): Describe new options.
181 (enum option_values): Add OPTION_CTF and OPTION_CTF_PARENT.
182 (main): Use them to add --ctf and --ctf-parent.
183 (read_section_stabs): Add new parameter, entsize_ptr.
184 (find_stabs_section): Adjust accordingly.
185 (make_ctfsect): New.
186 (dump_ctf_indent_lines): New.
187 (dump_ctf_archive_member): New.
188 (dump_ctf): New.
189 (dump_bfd): Call it. Free resources afterwards.
190 * readelf.c (ctf-api.h): New include.
191 (CTF_DUMP): New.
192 (static bfd_boolean do_ctf): Likewise.
193 (dump_ctf_parent_name): Likewise.
194 (dump_ctf_symtab_name): Likewise.
195 (dump_ctf_strtab_name): Likewise.
196 (OPTION_CTF_DUMP): Likewise.
197 (OPTION_CTF_PARENT): Likewise.
198 (OPTION_CTF_SYMBOLS): Likewise.
199 (OPTION_CTF_STRINGS): Likewise.
200 (options): Add them.
201 (usage): Likewise.
202 (parse_args): Handle the new options, requesting CTF_DUMP.
203 (process_section_contents): Handle CTF_DUMP.
204 (shdr_to_ctf_sect): New.
205 (dump_ctf_indent_lines): New.
206 (dump_section_as_ctf): New.
207 (main): Free resources.
208 * Makefile.am (LIBCTF): New variable.
209 (objdump_DEPENDENCIES): Use it.
210 (readelf_DEPENDENCIES): Likewise.
211 (objdump_LDADD): Likewise.
212 (readelf_LDADD): Likewise.
213 * aclocal.m4: Regenerated.
214 * Makefile.in: Likewise.
215
216 * doc/binutils.texi (objdump): Document the new options.
217 (readelf): Likewise.
218 * doc/ctf.options.texi: New.
219 * doc/Makefile.in: Regenerated.
220 * NEWS: Mention the new feature.
221
61dd8e19
AM
2222019-05-27 Alan Modra <amodra@gmail.com>
223
224 * readelf.c (process_section_groups): Continue processing groups
225 when sh_entsize exceeds group size.
226
2301ed1c
SN
2272019-05-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
228
229 * readelf.c (get_aarch64_dynamic_type): Handle DT_AARCH64_VARIANT_PCS.
230 (get_aarch64_symbol_other): New, handles STO_AARCH64_VARIANT_PCS.
231 (get_symbol_other): Call get_aarch64_symbol_other.
232
dd7efa79
PB
2332019-05-24 Alan Modra <amodra@gmail.com>
234
235 * objdump.c (disassemble_bytes): Set WIDE_OUTPUT in flags.
236
27830e0d
JM
2372019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
238
239 * MAINTAINERS: Add myself as the maintainer for BPF.
240
aca4efc7
JM
2412019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
242
243 * readelf.c: Include elf/bpf.h.
244 (guess_is_rela): Hanle EM_BPF.
245 (dump_relocations): Likewise.
246 (is_32bit_abs_reloc): Likewise.
247 * testsuite/binutils-all/nm.exp: Add bpf-*-* to the list of
248 ELF targets.
249
fab7c86e
TC
2502019-05-21 Tamar Christina <tamar.christina@arm.com>
251
252 * dwarf.c (dwarf_regnames_aarch64): Add SVE registers.
253 * testsuite/binutils-all/aarch64/sve-dwarf-registers.d: New test.
254 * testsuite/binutils-all/aarch64/sve-dwarf-registers.s: New test.
255
d8734380
FS
2562019-05-20 Faraz Shahbazker <fshahbazker@wavecomp.com>
257
258 PR 14798
259 * testsuite/binutils-all/readelf.ss-mips: Update reference output.
260 * testsuite/binutils-all/readelf.ss-tmips: Likewise.
261
999b073b
NC
2622019-05-20 Nick Clifton <nickc@redhat.com>
263
264 * po/ca.po: Updated Catalan translation.
265
514bbb0f
AV
2662019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
267
268 * NEWS: Mention Armv8.1-M Mainline and MVE.
269
a7ad558c
AV
2702019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
271
272 * readelf.c (arm_attr_tag_MVE_arch): New array for Tag_MVE_arch values.
273 (arm_attr_public_tag arm_attr_public_tags): Add case for Tag_MVE_arch.
274
37d0d091
JH
2752019-05-14 Jamey Hicks <jamey.hicks@gmail.com>
276
277 PR 19921
278 * objcopy.c: Add new option --verilog-data-width. Use it to set
279 the value of VerilogDataWidth.
280 * doc/binutils.texi: Document the new option.
281 * testsuite/binutils-all/objcopy.exp: Run tests of new option.
282 * testsuite/binutils-all/verilog-1.hex: New file.
283 * testsuite/binutils-all/verilog-2.hex: New file.
284 * testsuite/binutils-all/verilog-4.hex: New file.
285 * testsuite/binutils-all/verilog-8.hex: New file.
286 * NEWS: Mention the new feature.
287
391bf891
AM
2882019-05-10 Alan Modra <amodra@gmail.com>
289
290 * testsuite/binutils-all/objdump.exp (test_objdump_disas_limited),
291 (test_objdump_content_limited): Add text arg, use in place of .text.
292 (bintest_signed.o): Call get_standard_section_names for name of
293 text section.
294
2379f9c4
FS
2952019-05-08 Faraz Shahbazker <fshahbazker@wavecomp.com>
296
297 * objdump.c (sign_extend_address): New function.
298 (dump_bfd): Sign-extend user-specified start/stop addresses
299 for targets that need it.
300 * testsuite/binutils-all/objdump.exp: Add tests for objdump
301 with start and stop addresses in higher address ranges.
302
2ecde2b6
MM
3032019-05-01 Matthew Malcomson <matthew.malcomson@arm.com>
304
305 * testsuite/binutils-all/objdump.exp: Correct executable
306 spelling.
307 * testsuite/binutils-all/compress.exp: Likewise.
308
25a02744
NC
3092019-05-01 Nick Clifton <nickc@redhat.com>
310
311 PR 24507
312 * nm.c: (print_format): New variable.
313 (value_format_32bit, value_format_64bit): Delete.
314 (set_print_radix): Remove code to alter value_format strings.
315 (set_output_format): Record chosen format in print_format.
316 (get_print_format): New function - constructs a printf formatting
317 string according to the requirements of size, radix, and output
318 format.
319 (print_value): Use get_print_format.
320 * testsuite/binutils-all/nm.exp: Add tests of "nm --format=posix"
321 and "nm -t d".
322
8107ddce
AM
3232019-04-30 Alan Modra <amodra@gmail.com>
324
325 * wrstabs.c (stab_start_class_type): Add assert to work around
326 gcc9 warning. Tidy.
327
1b8dd643
NC
3282019-04-24 Nick Clifton <nickc@redhat.com>
329
330 * objcopy.c (strip_main): Do not enable note merging by default if
331 just stripping debug or dwo information.
332 * doc/binutils.texi (strip): Update documentation.
333
624a2451
NC
3342019-04-23 Nick Clifton <nickc@redhat.com>
335
336 * README-how-to-make-a-release: Add note to update the symbolic
337 link from "docs" to "docs-2.x" on the sourceware website.
338
a0fb9615
AM
3392019-04-16 Alan Modra <amodra@gmail.com>
340
341 * testsuite/binutils-all/copy-2.d: Don't run for ns32k-*-*.
342 * testsuite/binutils-all/copy-3.d: Likewise.
343
031254f2
AV
3442019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
345
346 * readelf.c (arm_attr_tag_CPU_arch): Add entry for Armv8.1-M Mainline.
347
462cac58
L
3482019-04-08 H.J. Lu <hongjiu.lu@intel.com>
349
350 * readelf.c (decode_x86_isa): Handle
351 GNU_PROPERTY_X86_ISA_1_AVX512_BF16.
352 * testsuite/binutils-all/i386/pr21231b.d: Updated.
353 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
354
82b53593
L
3552019-04-08 H.J. Lu <hongjiu.lu@intel.com>
356
357 * testsuite/binutils-all/nm.exp: Count i386-moss as ELF.
358
05805feb
TC
3592019-03-26 Tamar Christina <tamar.christina@arm.com>
360
361 * testsuite/binutils-all/aarch64/in-order-all.d: Update.
362 * testsuite/binutils-all/aarch64/in-order.d: Likewise.
363 * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
364 * testsuite/binutils-all/aarch64/out-of-order.d: Likewise.
365 * testsuite/binutils-all/aarch64/out-of-order.s: Likewise.
366 * testsuite/binutils-all/arm/in-order-all.d: Likewise.
367 * testsuite/binutils-all/arm/in-order.d: Likewise.
368 * testsuite/binutils-all/arm/out-of-order-all.d: Likewise.
369 * testsuite/binutils-all/arm/out-of-order.d: Likewise.
370 * testsuite/binutils-all/arm/out-of-order.s: Likewise.
371
5fb812fc
NC
3722019-03-26 Nick Clifton <nickc@redhat.com>
373
374 * MAINTAINERS: Take over Dave Brolley's maintainerships for FR30,
375 FRV and MEP.
376
e8fba7f6
AM
3772019-03-26 Alan Modra <amodra@gmail.com>
378
379 * objdump.c (dump_relocs_in_section): Warning fix.
380
796d6298
TC
3812019-03-25 Tamar Christina <tamar.christina@arm.com>
382
383 * testsuite/binutils-all/arm/in-order-all.d: New test.
384 * testsuite/binutils-all/arm/in-order.d: New test.
385 * testsuite/binutils-all/arm/objdump.exp: Support .d tests.
386 * testsuite/binutils-all/arm/out-of-order-all.d: New test.
387 * testsuite/binutils-all/arm/out-of-order.T: New test.
388 * testsuite/binutils-all/arm/out-of-order.d: New test.
389 * testsuite/binutils-all/arm/out-of-order.s: New test.
390
391
60df3720
TC
3922019-03-25 Tamar Christina <tamar.christina@arm.com>
393
394 * testsuite/binutils-all/aarch64/in-order-all.d: New test.
395 * testsuite/binutils-all/aarch64/out-of-order-all.d: New test.
396 * testsuite/binutils-all/aarch64/out-of-order.d:
397
51457761
TC
3982019-03-25 Tamar Christina <tamar.christina@arm.com>
399
400 * testsuite/binutils-all/aarch64/in-order.d: New test.
401 * testsuite/binutils-all/aarch64/out-of-order.d: Disassemble data as
402 well.
403
53b2f36b
TC
4042019-03-25 Tamar Christina <tamar.christina@arm.com>
405
406 * objdump.c (disassemble_bytes): Pass stop_offset.
407 * testsuite/binutils-all/aarch64/out-of-order.T: New test.
408 * testsuite/binutils-all/aarch64/out-of-order.d: New test.
409 * testsuite/binutils-all/aarch64/out-of-order.s: New test.
410
63455780
NC
4112019-03-19 Nick Clifton <nickc@redhat.com>
412
413 PR 24360
414 * objdump.c (load_specific_debug_section): Check that the amount
415 of memory to be allocated matches the size of the section.
416
1dbade74
SD
4172019-03-13 Sudakshina Das <sudi.das@arm.com>
418
419 * readelf.c (get_aarch64_dynamic_type): Add case for
420 DT_AARCH64_PAC_PLT.
421 (dynamic_section_aarch64_val): Likewise.
422
37c18eed
SD
4232019-03-13 Sudakshina Das <sudi.das@arm.com>
424 Szabolcs Nagy <szabolcs.nagy@arm.com>
425
426 * readelf.c (get_aarch64_dynamic_type): New.
427 (get_dynamic_type): Use above for EM_AARCH64.
428 (dynamic_section_aarch64_val): New.
429 (process_dynamic_section): Use above for EM_AARCH64.
430
cd702818
SD
4312019-03-13 Sudakshina Das <sudi.das@arm.com>
432
433 * readelf.c (decode_aarch64_feature_1_and): New.
434 (print_gnu_property_note): Add case for AArch64 gnu notes.
435
7a6e0d89
AM
4362019-03-12 Alan Modra <amodra@gmail.com>
437
438 * objdump.c (load_specific_debug_section): Don't compare section
439 size against file size.
440 (dump_relocs_in_section): Don't compare reloc size against file size.
441 Print "failed to read relocs" on bfd_get_reloc_upper_bound error.
442
88c9190b
NC
4432019-03-05 Nick Clifton <nickc@redhat.com>
444
445 PR 24295
446 * doc/binutils.texi (ar cmdline): Fix spelling mistake.
447
4933ff73
NC
4482019-03-05 Nick Clifton <nickc@redhat.com>
449
450 * po/sv.po: Updated Swedish translation.
451
093f70cc
MM
4522019-03-05 Matthew Malcomson <matthew.malcomson@arm.com>
453
454 PR 24287
455 * testsuite/lib/binutils-common.exp (run_dump_test): Replace a use
456 of "lmap" with a "foreach" loop.
457
f5f20315
NC
4582019-03-04 Nick Clifton <nickc@redhat.com>
459
460 PR 24281
461 * objcopy.c (copy_archive): Do not copy thin archives.
462
52d6f3ee
MM
4632019-02-27 Matthew Malcomson <matthew.malcomson@arm.com>
464
465 * testsuite/lib/binutils-common.exp: Allow multiple "as" lines.
466
39f0547e
NC
4672019-02-25 Nick Clifton <nickc@redhat.com>
468
469 * objdump.c (sym_ok): New function.
470 (find_symbol_for_address): Use new function.
471 (disassemble_section): Compare sections by name, not pointer.
472 (dump_dwarf): Move code to initialise byte_get pointer and iterate
473 over separate debug files from here to ...
474 (dump_bfd): ... here. Add parameter indicating that a separate
475 debug info file is being dumped. For main file, pull in the
476 symbol tables from all separate debug info files.
477 (display_object): Update call to dump_bfd.
478 * doc/binutils.texi: Document extened behaviour of the
479 --dwarf=follow-links option.
480 * NEWS: Mention this new feature.
481 * testsuite/binutils-all/objdump.WK2: Update expected output.
482 * testsuite/binutils-all/objdump.exp (test_follow_debuglink): Add
483 options and dump file parameters.
484 Add extra test.
485 * testsuite/binutils-all/objdump.WK3: New file.
486 * testsuite/binutils-all/readelf.exp: Change expected output for
487 readelf -wKis test.
488 * testsuite/binutils-all/readelf.wKis: New file.
489
24841daa
NC
4902019-02-22 Nick Clifton <nickc@redhat.com>
491
492 PR 23843
493 * dwarf.h (struct separate_info): New structure for containing
494 information on separate debug info files.
495 * dwarf.c (struct dwo_info): New structure for containing dwo
496 links.
497 (first_dwo_info): Chain of dwo_info structures.
498 (first_separate_file): Chain of separate_info structures.
499 (separate_debug_file, separate_debug_filename): Delete.
500 (fetch_alt_indirect_string): Scan all separate debug info files
501 for the requested string.
502 (add_dwo_info): New function.
503 (add_dwo_name): New function.
504 (add_dwo_dir): New function.
505 (add_dwo_id: New function.
506 (free_dwo_info): New function.
507 (read_and_display_attr_value): Store DWO data using the new
508 functions.
509 (load_debug_section_with_follow): If necessary, scan the list of
510 separate debug info files for the requested section.
511 (add_separate_debug_file): New function.
512 (load_separate_debug_info): Call add_separate_debug_file to store
513 the information on the newly loaded file.
514 (load_dwo_file): Likewise.
515 (load_separate_debif_file): Rename to load_separate_debug_files.
516 Change return type to boolean. If following links then attempt to
517 load all separate debug info files, not just the first one.
518 (free_debug_memory): Release memory in dwo_info and separate_info
519 chains.
520 * objdump.c (dump_dwarf): Iterate over all loaded debg info files.
521 * readelf.c (process_object): Likewise.
522 * doc/debug.options.texi: Update descriptions of links and
523 follow-links options.
524 * testsuite/binutils-all/objdump.WK2: Update expected output.
525 * testsuite/binutils-all/readelf.k2: Likewise.
526 * NEWS: Announce the new feature.
527
5cacf1c8
NC
5282019-02-21 Nick Clifton <nickc@redhat.com>
529
530 PR 24247
531 * unwind-ia64.c: Include sysdep.h.
532 (unw_decode_x1): Check current pointer against end pointer before
533 accessing memory.
534 (unw_decode_x2): Likewise.
535 (unw_decode_x3): Likewise.
536 (unw_decode_x4): Likewise.
537 (unw_decode_r2): Likewise.
538 (unw_decode_p2_p5): Likewise.
539 (unw_decode_p7_p10): Likewise.
540 (unw_decode): Likewise.
541
8d18bf79
NC
5422019-02-20 Nick Clifton <nickc@redhat.com>
543
3ca60c57
NC
544 PR 24246
545 * readelf.c (print_stapsdt_note): Harden against corrupt notes.
546
171375c6
NC
547 PR 24244
548 * unwind-ia64.c (unw_decode_uleb128): Add end parameter, use it to
549 prevent walking off the end of the buffer.
550 (unw_decode_x1): Add end paramter, pass it to unw_decode_uleb128.
551 (unw_decode_x2): Likewise.
552 (unw_decode_x3): Likewise.
553 (unw_decode_x4): Likewise.
554 (unw_decode_r2): Pass the end parameter to unw_decode_uleb128.
555 (unw_decode_r3): Likewise.
556 (unw_decode_p7_p10): Likewise.
557 (unw_decode_b2): Likewise.
558 (unw_decode_b3_x4): Likewise.
559
7fc0c668
NC
560 PR 24243
561 * readelf.c (process_mips_specific): Check for an options section
562 that is too small to even contain a single option.
8d18bf79 563
171375c6
NC
564 PR 24242
565 * readelf.c (print_ia64_vms_note): Harden against corrupt notes.
566
c22b42ce
AM
5672019-02-20 Alan Modra <amodra@gmail.com>
568
569 PR 24132
570 PR 24138
571 * readelf.c (get_data): Avoid possibility of overflow when
572 checking for a read that may extend past end of file.
573 (process_program_headers): Likewise.
574
7d272a55
AM
5752019-02-20 Alan Modra <amodra@gmail.com>
576
577 PR 24233
578 * objdump.c (dump_bfd_private_header): Print warning if
579 bfd_print_private_bfd_data returns false.
580
04d7fa21
NC
5812019-02-12 Nick Clifton <nickc@redhat.com>
582
583 PR 23440
584 * README-how-to-make-a-release: Use git clean to delete spurious
585 files from the local source repository.
586
46cbf38d
AB
5872019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
588
589 * size.c (berkeley_format): Delete.
590 (enum output_format): New enum.
591 (selected_output_format): New variable.
592 (usage): Update to mention GNU format.
593 (main): Update to extract options, and select format as needed.
594 Handle GNU format where needed.
595 (berkeley_sum): Renamed to...
596 (berkeley_or_gnu_sum): ...this, and updated to handle both formats.
597 (berkeley_format): Renamed to...
598 (berkeley_or_gnu_format): ...this, and updated to handle both
599 formats.
600 (print_sizes): Handle GNU format.
601 * doc/binutils.texi (size): Document new GNU format.
602 * testsuite/binutils-all/size.exp: Add test of extended
603 functionality.
604 * NEWS: Mention new functionality.
605
96fd92af
AB
6062019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
607
608 * doc/binutils.texi (size): Update example output for Berkeley
609 format output.
610
2012bf01
NC
6112019-02-07 Nick Clifton <nickc@redhat.com>
612
613 * README-how-to-make-a-release: Add a note about updating the
614 obsolete targets in the bfd/config.bfd file.
615
082cbd3b
NC
6162019-02-04 Nick Clifton <nickc@redhat.com>
617
618 * README-how-to-make-a-release: Add more notes on making a release.
619
18344509
NC
6202019-01-25 Nick Clifton <nickc@redhat.com>
621
622 PR 24131
623 * readelf.c (process_notes_at): Prevent an illegal memory access
624 when the note's namesize is zero.
625 (decode_tic6x_unwind_bytecode): Add code to handle the case where
626 no registers are specified in a frame pop instruction.
627
9ed1348c
NC
6282019-01-25 Nick Clifton <nickc@redhat.com>
629
630 * po/bg.po: Updated Bulgarian translation.
631
d9938630
NC
6322019-01-23 Nick Clifton <nickc@redhat.com>
633
634 * po/fr.po: Updated French translation.
635 * po/pt.po: Updated Portuguese translation.
636
375cd423
NC
6372019-01-21 Nick Clifton <nickc@redhat.com>
638
639 * po/uk.po: Updated Ukranian translation.
640
f48dfe41
NC
6412019-01-19 Nick Clifton <nickc@redhat.com>
642
643 * configure: Regenerate.
644 * binutils/po/binutils.pot.
645
646 * README-how-to-make-a-release: Update description on how to make
647 a branch.
648
f974f26c
NC
6492018-06-24 Nick Clifton <nickc@redhat.com>
650
651 2.32 branch created.
652
baae986a
NC
6532019-01-17 Nick Clifton <nickc@redhat.com>
654
655 * objdump.c (disassemble_section): When disassembling from a
656 symbol only stop at the next symbol if the original symbol was not
657 a function symbol. Otherwise continue disassembling until a new
658 function is reached.
659 * testsuite/binutils-all/objdump.exp: Add tests of extended
660 functionality.
661 * testsuite/binutils-all/disasm.s: New test source file.
662
2dc8dd17
JW
6632019-01-16 Kito Cheng <kito@andestech.com>
664 Nelson Chu <nelson@andestech.com>
665
666 * readelf.c (get_riscv_section_type_name): New function.
667 (get_section_type_name): Add handler for RISC-V.
668 (riscv_attr_tag_t): Declare.
669 (riscv_attr_tag): New.
670 (display_riscv_attribute): New function.
671 (process_attributes): Add handler for RISC-V.
672 * testsuite/binutils-all/strip-3.d: Remove .riscv.attribute
673 section.
674
12add40e
NC
6752019-01-10 Nick Clifton <nickc@redhat.com>
676
677 PR 23963
678 * objdump.c (sanitize_string): New function. Removes control
679 characters from symbol names.
680 (dump_section_header): Use new function.
681 (objdump_print_symname): Likewise.
682 (objdump_print_addr_with_sym): Likewise.
683 (show_line): Likewise.
684 (disassemble_bytes): Likewise.
685 (disassemble_section): Likewise.
686 (load_specific_debug_section): Likewise.
687 (read_section_stabs): Likewise.
688 (print_section_stabs): Likewise.
689 (dump_section): Likewise.
690 (dump_reloc_set): Likewise.
691 (dump_relocs_in_section): Likewise.
692 (dump_bfd): Likewise.
693 (display_any_bfd): Likewise.
694
28e817cc
NC
6952019-01-09 Nick Clifton <nickc@redhat.com>
696
c0b0b1c2 697 PR 24049
28e817cc
NC
698 * readelf.c (process_archive): Use arch.file_name in error
699 messages until the qualified name is available.
700
3107326d
AP
7012019-01-09 Andrew Paprocki <andrew@ishiboo.com>
702
703 * configure: Regenerate.
704
923c6a75
AM
7052019-01-09 Alan Modra <amodra@gmail.com>
706
707 * testsuite/binutils-all/cxxfilt.exp: Pass --no-strip-underscores
708 unconditionally to tests needing the option rather than via a
709 list of targets.
710
236f4ebe
NC
7112019-01-08 Nick Clifton <nickc@redhat.com>
712
713 PR 24044
714 * cxxfilt.c (hp_symbol_characters): Delete.
715 (main): Remove depcreated demangling styles.
716 * stabs.c (parse_stab_argtypes): Remove support for old gnu v2
717 demangling opnames.
718 * testsuite/binutils-all/cxxfilt.exp: Use the
719 --no-strip-underscore option for targets that do prefix their
720 symbols with underscores.
923c6a75 721 Update tests to eliminate those that use gnu v2 encoding.
236f4ebe 722
e3ecd631
TC
7232019-01-08 Tamar Christina <tamar.christina@arm.com>
724
725 PR 24065
726 * testsuite/binutils-all/copy-6.d: New test.
727 * testsuite/binutils-all/objcopy.exp: Use it.
728
171b8e19
AM
7292019-01-08 Alan Modra <amodra@gmail.com>
730
731 * testsuite/lib/binutils-common.exp (run_dump_test): Don't prepend
732 $srcdir/$subdir to source file name if it starts with "./".
733
7342019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
735
f87673e0
YS
736 * readelf.c (get_machine_flags): Add RXv3 output.
737
11fa9f13
NC
7382019-01-04 Nick Clifton <nickc@redhat.com>
739
740 PR 24005
741 * objdump.c (load_specific_debug_section): Check for integer
742 overflow before attempting to allocate contents.
743
cf0ad5bb
NC
7442019-01-04 Nick Clifton <nickc@redhat.com>
745
746 PR 24001
747 * objcopy.c (copy_object): Free dhandle after writing out the
748 debug information.
749 * objdump.c (dump_bfd): Free dhandle after printing out the debug
750 information.
751
11fa9f13 752
82704155
AM
7532019-01-01 Alan Modra <amodra@gmail.com>
754
755 Update year range in copyright notice of all files.
756
d5c04e1b 757For older changes see ChangeLog-2018
3499769a 758\f
d5c04e1b 759Copyright (C) 2019 Free Software Foundation, Inc.
3499769a
AM
760
761Copying and distribution of this file, with or without modification,
762are permitted in any medium without royalty provided the copyright
763notice and this notice are preserved.
764
765Local Variables:
766mode: change-log
767left-margin: 8
768fill-column: 74
769version-control: never
770End:
This page took 0.213078 seconds and 4 git commands to generate.