3 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
7 * readelf.c: Add support for s12z architecture.
8 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
14 * doc/binutils.texi (-M): Document AArch64 options.
19 * doc/binutils.texi (-M): Document AArch64 options.
20 * NEWS: Document notes and warnings.
24 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
25 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
26 and *uclinux* into *linux*.
27 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
28 strip-13 test, exclude arm-vxworks and arm-windiss.
32 * readelf.c (get_machine_name): EM_S12Z - handle new case.
36 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
40 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
45 * objcopy.c (is_strip_section): Strip groups without a valid
51 * objcopy.c (group_signature): Don't accept groups that use a
52 symbol table other than the one we've read.
56 * readelf.c: Very basic support for EM_NFP and its section types.
57 * testsuite/binutils-all/nfp: New directory.
58 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
60 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
61 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
62 * testsuite/binutils-all/nfp/test1.d: New file.
63 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
64 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
65 * NEWS: Mention the new support.
69 * testsuite/lib/binutils-common.exp (match_target): New procedure.
70 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
71 of `istarget' for matching with `target', `not-target', `skip'
72 and `not-skip' options.
76 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
77 32-bit absolute reloc for the HPPA target.
78 * testsuite/binutils-all/note-5.d: New test.
79 * testsuite/binutils-all/note-5.s: Source file for new test.
80 * testsuite/binutils-all/objcopy.exp: Run new test.
84 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
85 * testsuite/binutils-all/elfedit-3.d: Likewise.
86 * testsuite/binutils-all/objcopy.exp: Likewise.
87 * testsuite/binutils-all/strip-3.d: Likewise.
88 * testsuite/lib/binutils-common.exp: Likewise.
93 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
94 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
98 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
100 * testsuite/binutils-all/objcopy.exp: Likewise.
101 * testsuite/lib/binutils-common.exp: Likewise.
106 * dwarf.c (read_and_display_attr_value): Replace assertions with
107 test and warning message.
111 * testsuite/lib/binutils-common.exp: Remove support for assorted
117 * readelf.c (print_symbol): If the width is zero, return straight
121 * dwarf.c (process_cu_tu_index): Test for a potential buffer
122 overrun before copying signature pointer.
126 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
130 * readelf.c (get_machine_name): Correct typo.
134 * configure.ac: Remove arm-epoc-pe support.
135 * dlltool.c: Likewise.
136 * configure: Regenerate.
140 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
145 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
147 * testsuite/binutils-all/copy-3.d: Likewise.
148 * testsuite/binutils-all/objcopy.exp: Likewise.
149 * testsuite/lib/binutils-common.exp: Likewise.
153 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
157 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
161 * testsuite/binutils-all/objdump.exp: Remove we32k support.
165 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
166 * testsuite/binutils-all/objdump.exp: Remove m88k support.
170 * readelf.c: Remove i370 support.
171 * testsuite/binutils-all/objdump.exp: Likewise.
175 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
176 * testsuite/lib/binutils-common.exp: Likewise.
180 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
184 * Makefile.am: Remove IEEE 695 support.
186 * doc/binutils.texi: Likewise.
187 * makefile.vms: Likewise.
188 * objcopy.c: Likewise.
189 * objdump.c: Likewise.
192 * Makefile.in: Regenerate.
193 * po/POTFILES.in: Regenerate.
197 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
198 * testsuite/binutils-all/nm.exp: Likewise.
202 * .gitignore: Remove netware support.
203 * Makefile.am: Likewise.
204 * configure.ac: Likewise.
205 * doc/Makefile.am: Likewise.
206 * doc/binutils.texi: Likewise.
207 * testsuite/binutils-all/nm.exp: Likewise.
210 * nlmheader.y: Delete.
211 * Makefile.in: Regenerate.
212 * configure: Regenerate.
213 * doc/Makefile.in: Regenerate.
214 * po/POTFILES.in: Regenerate.
218 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
222 * readelf.c (get_machine_name): Revert 2018-04-11 change.
227 * readelf.c (process_dynamic_section): Correct dynamic string
228 table size calculation.
232 * ieee.c: Remove i960 support.
233 * od-macho.c: Remove i860 support.
234 * readelf.c: Remove i860 and i960 support.
235 * testsuite/binutils-all/objcopy.exp: Likewise.
236 * testsuite/binutils-all/objdump.exp: Likewise.
237 * testsuite/lib/binutils-common.exp: Likewise.
241 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
242 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
246 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
247 reloc=11 for pru and reloc=50 for nds32.
248 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
252 * testsuite/binutils-all/strip-15.d: New test.
253 * testsuite/binutils-all/strip-15rel.s: New test source.
254 * testsuite/binutils-all/strip-15rela.s: New test source.
255 * testsuite/binutils-all/strip-15mips64.s: New test source.
256 * testsuite/binutils-all/objcopy.exp: Run the new test.
260 * testsuite/binutils-all/strip-14.d: New test.
261 * testsuite/binutils-all/strip-14rel.s: New test source.
262 * testsuite/binutils-all/strip-14rela.s: New test source.
263 * testsuite/binutils-all/strip-14mips64.s: New test source.
264 * testsuite/binutils-all/objcopy.exp: Run the new test.
268 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
269 constants from DWARF 5.
274 * configure: Regenerated.
278 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
279 than `.dc.w' in second relocation.
283 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
284 relocation type 0x8f' error message.
288 * testsuite/binutils-all/strip-13.s: Rename to...
289 * testsuite/binutils-all/strip-13rela.s: ... this.
290 * testsuite/binutils-all/strip-13rel.s: New test source.
291 * testsuite/binutils-all/strip-13mips64.s: New test source.
292 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
293 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
294 `m68hc11-*' to `not-target' list.
295 * testsuite/binutils-all/objcopy.exp: Switch between sources for
300 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
301 241 (0xf1) for the relocation number and RELA addend.
302 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
307 * MAINTAINERS: Update my e-mail address.
311 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
315 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
317 (print_gnu_build_attribute_description): If no file start symbol
318 could be found, look for one two bytes into the file.
319 * testsuite/binutils-all/note-4-64.s: Set the address of the file
320 start symbol to two bytes into the file.
321 * testsuite/binutils-all/note-4-32.s: Likewise.
325 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
326 DF_1_WEAKFILTER and DF_1_NOCOMMON.
330 * po/es.po: Updated Spanish translation.
331 * po/ru.po: Updated Russian translation.
336 * stabs.c (pop_binincl): Fail if the file index is off the end of
342 * stabs.c (parse_number): Add p_end parameter and use it to check
343 the validity of the pp parameter. Add checks to prevent walking
344 off the end of the string buffer.
345 (parse_stab_string): Likewise.
346 (parse_stab_type): Likewise.
347 (parse_stab_type_number): Likewise.
348 (parse_stab_range_type): Likewise.
349 (parse_stab_sun_builtin_type): Likewise.
350 (parse_stab_sun_floating_type): Likewise.
351 (parse_stab_enum_type): Likewise.
352 (parse_stab_struct_type): Likewise.
353 (parse_stab_baseclasses): Likewise.
354 (parse_stab_struct_fields): Likewise.
355 (parse_stab_cpp_abbrev): Likewise.
356 (parse_stab_one_struct_field): Likewise.
357 (parse_stab_members): Likewise.
358 (parse_stab_tilde_field): Likewise.
359 (parse_stab_array_type): Likewise.
361 * parse_stab: Compute the end of the string and then pass it on to
362 individual parser functions.
367 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
372 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
373 * configure: Regenerate.
378 * objdump.c (is_significant_symbol_name): Return TRUE for all
380 (find_symbol_for_address): Replace linear search with binary
381 search on dynamic relocations.
386 * dwarf.c (display_debug_ranges): Check that the offset loaded
387 from the range_entry structure is valid.
391 * configure.ac (ALL_LINGUAS): Add sr. Sort.
392 * configure: Regenerate.
396 * po/pt.po: New Portuguese translation.
397 * configure.ac (ALL_LINGUAS): Add pt.
398 * configure: Regenerate.
403 * objcopy.c (copy_object): Check the error status after marking
404 symbols used in relocations.
405 * testsuite/binutils-all/strip-13.s: New test source file.
406 * testsuite/binutils-all/strip-13.s: New test driver file.
407 * testsuite/binutils-all/objcopy.exp: Run the new test.
411 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
412 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
416 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
417 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
421 * doc/binutils.texi (objcopy): Add missing closing square
422 parenthesis to listing of objcopy's command line options.
426 * strings.c (long_options): Include-all-whitespace does not take
432 * testsuite/binutils-all/group-7.s,
433 * testsuite/binutils-all/group-7a.d,
434 * testsuite/binutils-all/group-7b.d,
435 * testsuite/binutils-all/group-7c.d: New tests.
436 * testsuite/binutils-all/objcopy.exp: Run them.
441 * dwarf.c (load_separate_debug_file): Return early if the user is
442 not interested in debug links.
447 * readelf.c (find_section): Replace assertion with test and return
449 (find_section_by_address): Add test of section header table
451 (find_section_by_type): Likewise.
452 (find_section_in_set): Likewise.
456 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
457 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
458 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
459 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
463 * testsuite/config/default.exp (binutils_run): Document
464 `binutils_run_status'.
465 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
467 (run_dump_test): Add `error', `error_output', `warning' and
468 `warning_output' options. Update documentation accordingly.
472 * dwarf.c (dwarf_regnames_riscv): New register name table.
473 (init_dwarf_regnames_riscv): New function.
474 (init_dwarf_regnames): Add call to initialise RiscV register
476 * dwarf.h (init_dwarf_regnames_riscv): Declare.
477 * objdump.c (dump_dwarf): Add call to initialise RiscV register
483 * objdump.c (load_specific_debug_section): Check for overflow
484 when adding one to section size for a string section terminator.
489 * doc/binutils.texi (nm): Update description to point out that
490 zero-initialized values can also be shown as type B, b, S or s
491 since they can be stored in the BSS section.
495 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
496 "artificially large" end address.
500 * README-how-to-make-a-release: Add note about checking gpg key
501 and the results of gnupload.
505 * README-how-to-make-a-release: Add details on how to actually
510 * README-how-to-make-a-release: Add more details on updating
515 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
520 * MAINTAINERS: Update my company e-mail address.
524 * po/sv.po: Updated Swedish translation.
528 * po/bg.po: Updated Bulgarian translation.
532 * README-how-to-make-a-release: Add reminder to update the
533 branch name in gdbadmin's crontab on sourceware.
537 * README-how-to-make-a-release: Remove trailing spaces.
541 * po/fr.po: Updated French translation.
545 * po/uk.po: Updated Ukranian translation.
549 * README-how-to-make-a-release: Update notes.
550 * po/binutils.pot: Regenerated.
554 * configure: Regenerate.
559 * NEWS: Add marker for 2.30.
563 * README-how-to-make-a-release: Add notes on how to make the
564 branch and prelease snapshot.
565 * BRANCHES: Add binutils-2_29-branch.
569 * MAINTAINERS: Note that it is now the configure.ac file and not
570 the configure.in file that needs to be kept in sync with gcc.
571 Add a note about sending patches for libiberty to gcc.
575 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
580 * objcopy.c (objcopy_internal_note): New structure.
581 (gap_exists): New function.
582 (is_open_note): New function.
583 (is_func_note): New function.
584 (is_64bit): New function.
585 (merge_gnu_build_notes): Handle v3 notes. Do not merge
586 if there are relocations against the notes.
587 * readelf.c (get_note_type): Use short names for build attribute
589 (print_symbol_for_build_attribute): Rename to
590 get_symbol_for_build_attribute. Returns the found symbol rather
592 (print_gnu_build_attribute_description): Maintain address ranges
593 for function notes as well as global notes. Handle v3 notes.
594 (print_gnu_build_attribute_name): Use more space for printing the
596 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
597 Eliminate symbol references in order to remove the need for
599 * testsuite/binutils-all/note-2-64.s: Likewise.
600 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
602 * testsuite/binutils-all/note-3-64.s: Likewise.
603 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
605 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
606 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
607 * testsuite/binutils-all/note-2-32.d: Likewise.
608 * testsuite/binutils-all/note-2-64.d: Likewise.
609 * testsuite/binutils-all/note-3-32.d: Likewise.
610 * testsuite/binutils-all/note-3-64.d: Likewise.
611 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
612 * testsuite/binutils-all/note-4-32.s: New test.
613 * testsuite/binutils-all/note-4-64.d: New test result file.
614 * testsuite/binutils-all/note-4-32.d: New test result file.
618 Update year range in copyright notice of all files.
620 For older changes see ChangeLog-2017
622 Copyright (C) 2018 Free Software Foundation, Inc.
624 Copying and distribution of this file, with or without modification,
625 are permitted in any medium without royalty provided the copyright
626 notice and this notice are preserved.
632 version-control: never