1 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
3 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
5 2018-05-18 John Darrington <john@darrington.wattle.id.au>
7 * readelf.c: Add support for s12z architecture.
8 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
11 2018-05-15 Tamar Christina <tamar.christina@arm.com>
14 * doc/binutils.texi (-M): Document AArch64 options.
16 2018-05-15 Tamar Christina <tamar.christina@arm.com>
19 * doc/binutils.texi (-M): Document AArch64 options.
20 * NEWS: Document notes and warnings.
22 2018-05-15 Alan Modra <amodra@gmail.com>
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.
30 2018-05-10 John Darrington <john@darrington.wattle.id.au>
32 * readelf.c (get_machine_name): EM_S12Z - handle new case.
34 2018-05-09 Alan Modra <amodra@gmail.com>
36 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
38 2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
40 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
42 2018-05-08 Alan Modra <amodra@gmail.com>
45 * objcopy.c (is_strip_section): Strip groups without a valid
48 2018-05-07 Alan Modra <amodra@gmail.com>
51 * objcopy.c (group_signature): Don't accept groups that use a
52 symbol table other than the one we've read.
54 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
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.
67 2018-04-27 Maciej W. Rozycki <macro@mips.com>
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.
74 2018-04-26 Nick Clifton <nickc@redhat.com>
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.
82 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
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.
90 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
91 Mickaël Guêné <mickael.guene@st.com>
93 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
94 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
96 2018-04-25 Alan Modra <amodra@gmail.com>
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.
103 2018-04-18 Nick Clifton <nickc@redhat.com>
106 * dwarf.c (read_and_display_attr_value): Replace assertions with
107 test and warning message.
109 2018-04-18 Alan Modra <amodra@gmail.com>
111 * testsuite/lib/binutils-common.exp: Remove support for assorted
114 2018-04-17 Nick Clifton <nickc@redhat.com>
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.
124 2018-04-17 Alan Modra <amodra@gmail.com>
126 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
128 2018-04-16 Alan Modra <amodra@gmail.com>
130 * readelf.c (get_machine_name): Correct typo.
132 2018-04-16 Alan Modra <amodra@gmail.com>
134 * configure.ac: Remove arm-epoc-pe support.
135 * dlltool.c: Likewise.
136 * configure: Regenerate.
138 2018-04-16 Alan Modra <amodra@gmail.com>
140 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
143 2018-04-16 Alan Modra <amodra@gmail.com>
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.
151 2018-04-16 Alan Modra <amodra@gmail.com>
153 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
155 2018-04-16 Alan Modra <amodra@gmail.com>
157 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
159 2018-04-16 Alan Modra <amodra@gmail.com>
161 * testsuite/binutils-all/objdump.exp: Remove we32k support.
163 2018-04-16 Alan Modra <amodra@gmail.com>
165 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
166 * testsuite/binutils-all/objdump.exp: Remove m88k support.
168 2018-04-16 Alan Modra <amodra@gmail.com>
170 * readelf.c: Remove i370 support.
171 * testsuite/binutils-all/objdump.exp: Likewise.
173 2018-04-16 Alan Modra <amodra@gmail.com>
175 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
176 * testsuite/lib/binutils-common.exp: Likewise.
178 2018-04-16 Alan Modra <amodra@gmail.com>
180 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
182 2018-04-16 Alan Modra <amodra@gmail.com>
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.
195 2018-04-16 Alan Modra <amodra@gmail.com>
197 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
198 * testsuite/binutils-all/nm.exp: Likewise.
200 2018-04-16 Alan Modra <amodra@gmail.com>
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.
216 2018-04-16 Alan Modra <amodra@gmail.com>
218 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
220 2018-04-14 Alan Modra <amodra@gmail.com>
222 * readelf.c (get_machine_name): Revert 2018-04-11 change.
224 2018-04-12 Nick Clifton <nickc@redhat.com>
227 * readelf.c (process_dynamic_section): Correct dynamic string
228 table size calculation.
230 2018-04-11 Alan Modra <amodra@gmail.com>
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.
239 2018-04-11 Maciej W. Rozycki <macro@mips.com>
241 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
242 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
244 2018-04-10 Alan Modra <amodra@gmail.com>
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.
250 2018-04-09 Maciej W. Rozycki <macro@mips.com>
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.
258 2018-04-09 Maciej W. Rozycki <macro@mips.com>
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.
266 2018-04-06 Tom Tromey <tom@tromey.com>
268 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
269 constants from DWARF 5.
271 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
274 * configure: Regenerated.
276 2018-04-05 Maciej W. Rozycki <macro@mips.com>
278 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
279 than `.dc.w' in second relocation.
281 2018-04-05 Maciej W. Rozycki <macro@mips.com>
283 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
284 relocation type 0x8f' error message.
286 2018-04-05 Maciej W. Rozycki <macro@mips.com>
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
298 2018-04-05 Maciej W. Rozycki <macro@mips.com>
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
305 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
307 * MAINTAINERS: Update my e-mail address.
309 2018-04-04 Nick Clifton <nickc@redhat.com>
311 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
313 2018-03-23 Nick Clifton <nickc@redhat.com>
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.
323 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
325 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
326 DF_1_WEAKFILTER and DF_1_NOCOMMON.
328 2018-03-20 Nick Clifton <nickc@redhat.com>
330 * po/es.po: Updated Spanish translation.
331 * po/ru.po: Updated Russian translation.
333 2018-03-13 Nick Clifton <nickc@redhat.com>
336 * stabs.c (pop_binincl): Fail if the file index is off the end of
339 2018-03-13 Nick Clifton <nickc@redhat.com>
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.
364 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
367 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
370 2018-03-07 Alan Modra <amodra@gmail.com>
372 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
373 * configure: Regenerate.
375 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
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.
383 2018-03-01 Nick Clifton <nickc@redhat.com>
386 * dwarf.c (display_debug_ranges): Check that the offset loaded
387 from the range_entry structure is valid.
389 2018-03-01 Alan Modra <amodra@gmail.com>
391 * configure.ac (ALL_LINGUAS): Add sr. Sort.
392 * configure: Regenerate.
394 2018-02-27 Nick Clifton <nickc@redhat.com>
396 * po/pt.po: New Portuguese translation.
397 * configure.ac (ALL_LINGUAS): Add pt.
398 * configure: Regenerate.
400 2018-02-27 Nick Clifton <nickc@redhat.com>
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.
409 2018-02-26 Alan Modra <amodra@gmail.com>
411 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
412 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
414 2018-02-23 Alan Modra <amodra@gmail.com>
416 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
417 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
419 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
421 * doc/binutils.texi (objcopy): Add missing closing square
422 parenthesis to listing of objcopy's command line options.
424 2018-02-19 Matthias Klose <doko@debian.org>
426 * strings.c (long_options): Include-all-whitespace does not take
429 2018-02-13 Alan Modra <amodra@gmail.com>
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.
438 2018-02-08 Nick Clifton <nickc@redhat.com>
441 * dwarf.c (load_separate_debug_file): Return early if the user is
442 not interested in debug links.
444 2018-02-06 Nick Clifton <nickc@redhat.com>
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.
454 2018-02-05 Maciej W. Rozycki <macro@mips.com>
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.
461 2018-02-05 Maciej W. Rozycki <macro@mips.com>
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.
470 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
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
480 2018-02-01 Alan Modra <amodra@gmail.com>
483 * objdump.c (load_specific_debug_section): Check for overflow
484 when adding one to section size for a string section terminator.
486 2018-01-30 Nick Clifton <nickc@redhat.com>
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.
493 2018-01-30 Alan Modra <amodra@gmail.com>
495 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
496 "artificially large" end address.
498 2018-01-28 Nick Clifton <nickc@redhat.com>
500 * README-how-to-make-a-release: Add note about checking gpg key
501 and the results of gnupload.
503 2018-01-27 Nick Clifton <nickc@redhat.com>
505 * README-how-to-make-a-release: Add details on how to actually
508 2018-01-26 Nick Clifton <nickc@redhat.com>
510 * README-how-to-make-a-release: Add more details on updating
513 2018-01-22 Maciej W. Rozycki <macro@mips.com>
515 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
518 2018-01-22 Maciej W. Rozycki <macro@mips.com>
520 * MAINTAINERS: Update my company e-mail address.
522 2018-01-22 Nick Clifton <nickc@redhat.com>
524 * po/sv.po: Updated Swedish translation.
526 2018-01-18 Nick Clifton <nickc@redhat.com>
528 * po/bg.po: Updated Bulgarian translation.
530 2018-01-16 Joel Brobecker <brobecker@adacore.com>
532 * README-how-to-make-a-release: Add reminder to update the
533 branch name in gdbadmin's crontab on sourceware.
535 2018-01-16 Joel Brobecker <brobecker@adacore.com>
537 * README-how-to-make-a-release: Remove trailing spaces.
539 2018-01-16 Nick Clifton <nickc@redhat.com>
541 * po/fr.po: Updated French translation.
543 2018-01-15 Nick Clifton <nickc@redhat.com>
545 * po/uk.po: Updated Ukranian translation.
547 2018-01-13 Nick Clifton <nickc@redhat.com>
549 * README-how-to-make-a-release: Update notes.
550 * po/binutils.pot: Regenerated.
552 2018-01-13 Nick Clifton <nickc@redhat.com>
554 * configure: Regenerate.
556 2018-01-13 Nick Clifton <nickc@redhat.com>
559 * NEWS: Add marker for 2.30.
561 2018-01-12 Nick Clifton <nickc@redhat.com>
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.
567 2018-01-10 Nick Clifton <nickc@redhat.com>
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.
573 2018-01-03 Nick Clifton <nickc@redhat.com>
575 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
578 2018-01-03 Nick Clifton <nickc@redhat.com>
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.
616 2018-01-03 Alan Modra <amodra@gmail.com>
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