1 2018-05-28 Alan Modra <amodra@gmail.com>
4 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
5 unsupported rather than fail on compile errors.
6 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
7 Likewise. Save and restore CFLAGS_FOR_TARGET.
9 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
11 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
13 2018-05-18 John Darrington <john@darrington.wattle.id.au>
15 * readelf.c: Add support for s12z architecture.
16 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
19 2018-05-15 Tamar Christina <tamar.christina@arm.com>
22 * doc/binutils.texi (-M): Document AArch64 options.
24 2018-05-15 Tamar Christina <tamar.christina@arm.com>
27 * doc/binutils.texi (-M): Document AArch64 options.
28 * NEWS: Document notes and warnings.
30 2018-05-15 Alan Modra <amodra@gmail.com>
32 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
33 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
34 and *uclinux* into *linux*.
35 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
36 strip-13 test, exclude arm-vxworks and arm-windiss.
38 2018-05-10 John Darrington <john@darrington.wattle.id.au>
40 * readelf.c (get_machine_name): EM_S12Z - handle new case.
42 2018-05-09 Alan Modra <amodra@gmail.com>
44 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
46 2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
48 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
50 2018-05-08 Alan Modra <amodra@gmail.com>
53 * objcopy.c (is_strip_section): Strip groups without a valid
56 2018-05-07 Alan Modra <amodra@gmail.com>
59 * objcopy.c (group_signature): Don't accept groups that use a
60 symbol table other than the one we've read.
62 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
64 * readelf.c: Very basic support for EM_NFP and its section types.
65 * testsuite/binutils-all/nfp: New directory.
66 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
68 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
69 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
70 * testsuite/binutils-all/nfp/test1.d: New file.
71 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
72 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
73 * NEWS: Mention the new support.
75 2018-04-27 Maciej W. Rozycki <macro@mips.com>
77 * testsuite/lib/binutils-common.exp (match_target): New procedure.
78 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
79 of `istarget' for matching with `target', `not-target', `skip'
80 and `not-skip' options.
82 2018-04-26 Nick Clifton <nickc@redhat.com>
84 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
85 32-bit absolute reloc for the HPPA target.
86 * testsuite/binutils-all/note-5.d: New test.
87 * testsuite/binutils-all/note-5.s: Source file for new test.
88 * testsuite/binutils-all/objcopy.exp: Run new test.
90 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
92 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
93 * testsuite/binutils-all/elfedit-3.d: Likewise.
94 * testsuite/binutils-all/objcopy.exp: Likewise.
95 * testsuite/binutils-all/strip-3.d: Likewise.
96 * testsuite/lib/binutils-common.exp: Likewise.
98 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
99 Mickaël Guêné <mickael.guene@st.com>
101 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
102 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
104 2018-04-25 Alan Modra <amodra@gmail.com>
106 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
108 * testsuite/binutils-all/objcopy.exp: Likewise.
109 * testsuite/lib/binutils-common.exp: Likewise.
111 2018-04-18 Nick Clifton <nickc@redhat.com>
114 * dwarf.c (read_and_display_attr_value): Replace assertions with
115 test and warning message.
117 2018-04-18 Alan Modra <amodra@gmail.com>
119 * testsuite/lib/binutils-common.exp: Remove support for assorted
122 2018-04-17 Nick Clifton <nickc@redhat.com>
125 * readelf.c (print_symbol): If the width is zero, return straight
129 * dwarf.c (process_cu_tu_index): Test for a potential buffer
130 overrun before copying signature pointer.
132 2018-04-17 Alan Modra <amodra@gmail.com>
134 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
136 2018-04-16 Alan Modra <amodra@gmail.com>
138 * readelf.c (get_machine_name): Correct typo.
140 2018-04-16 Alan Modra <amodra@gmail.com>
142 * configure.ac: Remove arm-epoc-pe support.
143 * dlltool.c: Likewise.
144 * configure: Regenerate.
146 2018-04-16 Alan Modra <amodra@gmail.com>
148 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
151 2018-04-16 Alan Modra <amodra@gmail.com>
153 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
155 * testsuite/binutils-all/copy-3.d: Likewise.
156 * testsuite/binutils-all/objcopy.exp: Likewise.
157 * testsuite/lib/binutils-common.exp: Likewise.
159 2018-04-16 Alan Modra <amodra@gmail.com>
161 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
163 2018-04-16 Alan Modra <amodra@gmail.com>
165 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
167 2018-04-16 Alan Modra <amodra@gmail.com>
169 * testsuite/binutils-all/objdump.exp: Remove we32k support.
171 2018-04-16 Alan Modra <amodra@gmail.com>
173 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
174 * testsuite/binutils-all/objdump.exp: Remove m88k support.
176 2018-04-16 Alan Modra <amodra@gmail.com>
178 * readelf.c: Remove i370 support.
179 * testsuite/binutils-all/objdump.exp: Likewise.
181 2018-04-16 Alan Modra <amodra@gmail.com>
183 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
184 * testsuite/lib/binutils-common.exp: Likewise.
186 2018-04-16 Alan Modra <amodra@gmail.com>
188 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
190 2018-04-16 Alan Modra <amodra@gmail.com>
192 * Makefile.am: Remove IEEE 695 support.
194 * doc/binutils.texi: Likewise.
195 * makefile.vms: Likewise.
196 * objcopy.c: Likewise.
197 * objdump.c: Likewise.
200 * Makefile.in: Regenerate.
201 * po/POTFILES.in: Regenerate.
203 2018-04-16 Alan Modra <amodra@gmail.com>
205 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
206 * testsuite/binutils-all/nm.exp: Likewise.
208 2018-04-16 Alan Modra <amodra@gmail.com>
210 * .gitignore: Remove netware support.
211 * Makefile.am: Likewise.
212 * configure.ac: Likewise.
213 * doc/Makefile.am: Likewise.
214 * doc/binutils.texi: Likewise.
215 * testsuite/binutils-all/nm.exp: Likewise.
218 * nlmheader.y: Delete.
219 * Makefile.in: Regenerate.
220 * configure: Regenerate.
221 * doc/Makefile.in: Regenerate.
222 * po/POTFILES.in: Regenerate.
224 2018-04-16 Alan Modra <amodra@gmail.com>
226 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
228 2018-04-14 Alan Modra <amodra@gmail.com>
230 * readelf.c (get_machine_name): Revert 2018-04-11 change.
232 2018-04-12 Nick Clifton <nickc@redhat.com>
235 * readelf.c (process_dynamic_section): Correct dynamic string
236 table size calculation.
238 2018-04-11 Alan Modra <amodra@gmail.com>
240 * ieee.c: Remove i960 support.
241 * od-macho.c: Remove i860 support.
242 * readelf.c: Remove i860 and i960 support.
243 * testsuite/binutils-all/objcopy.exp: Likewise.
244 * testsuite/binutils-all/objdump.exp: Likewise.
245 * testsuite/lib/binutils-common.exp: Likewise.
247 2018-04-11 Maciej W. Rozycki <macro@mips.com>
249 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
250 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
252 2018-04-10 Alan Modra <amodra@gmail.com>
254 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
255 reloc=11 for pru and reloc=50 for nds32.
256 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
258 2018-04-09 Maciej W. Rozycki <macro@mips.com>
260 * testsuite/binutils-all/strip-15.d: New test.
261 * testsuite/binutils-all/strip-15rel.s: New test source.
262 * testsuite/binutils-all/strip-15rela.s: New test source.
263 * testsuite/binutils-all/strip-15mips64.s: New test source.
264 * testsuite/binutils-all/objcopy.exp: Run the new test.
266 2018-04-09 Maciej W. Rozycki <macro@mips.com>
268 * testsuite/binutils-all/strip-14.d: New test.
269 * testsuite/binutils-all/strip-14rel.s: New test source.
270 * testsuite/binutils-all/strip-14rela.s: New test source.
271 * testsuite/binutils-all/strip-14mips64.s: New test source.
272 * testsuite/binutils-all/objcopy.exp: Run the new test.
274 2018-04-06 Tom Tromey <tom@tromey.com>
276 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
277 constants from DWARF 5.
279 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
282 * configure: Regenerated.
284 2018-04-05 Maciej W. Rozycki <macro@mips.com>
286 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
287 than `.dc.w' in second relocation.
289 2018-04-05 Maciej W. Rozycki <macro@mips.com>
291 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
292 relocation type 0x8f' error message.
294 2018-04-05 Maciej W. Rozycki <macro@mips.com>
296 * testsuite/binutils-all/strip-13.s: Rename to...
297 * testsuite/binutils-all/strip-13rela.s: ... this.
298 * testsuite/binutils-all/strip-13rel.s: New test source.
299 * testsuite/binutils-all/strip-13mips64.s: New test source.
300 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
301 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
302 `m68hc11-*' to `not-target' list.
303 * testsuite/binutils-all/objcopy.exp: Switch between sources for
306 2018-04-05 Maciej W. Rozycki <macro@mips.com>
308 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
309 241 (0xf1) for the relocation number and RELA addend.
310 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
313 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
315 * MAINTAINERS: Update my e-mail address.
317 2018-04-04 Nick Clifton <nickc@redhat.com>
319 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
321 2018-03-23 Nick Clifton <nickc@redhat.com>
323 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
325 (print_gnu_build_attribute_description): If no file start symbol
326 could be found, look for one two bytes into the file.
327 * testsuite/binutils-all/note-4-64.s: Set the address of the file
328 start symbol to two bytes into the file.
329 * testsuite/binutils-all/note-4-32.s: Likewise.
331 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
333 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
334 DF_1_WEAKFILTER and DF_1_NOCOMMON.
336 2018-03-20 Nick Clifton <nickc@redhat.com>
338 * po/es.po: Updated Spanish translation.
339 * po/ru.po: Updated Russian translation.
341 2018-03-13 Nick Clifton <nickc@redhat.com>
344 * stabs.c (pop_binincl): Fail if the file index is off the end of
347 2018-03-13 Nick Clifton <nickc@redhat.com>
350 * stabs.c (parse_number): Add p_end parameter and use it to check
351 the validity of the pp parameter. Add checks to prevent walking
352 off the end of the string buffer.
353 (parse_stab_string): Likewise.
354 (parse_stab_type): Likewise.
355 (parse_stab_type_number): Likewise.
356 (parse_stab_range_type): Likewise.
357 (parse_stab_sun_builtin_type): Likewise.
358 (parse_stab_sun_floating_type): Likewise.
359 (parse_stab_enum_type): Likewise.
360 (parse_stab_struct_type): Likewise.
361 (parse_stab_baseclasses): Likewise.
362 (parse_stab_struct_fields): Likewise.
363 (parse_stab_cpp_abbrev): Likewise.
364 (parse_stab_one_struct_field): Likewise.
365 (parse_stab_members): Likewise.
366 (parse_stab_tilde_field): Likewise.
367 (parse_stab_array_type): Likewise.
369 * parse_stab: Compute the end of the string and then pass it on to
370 individual parser functions.
372 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
375 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
378 2018-03-07 Alan Modra <amodra@gmail.com>
380 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
381 * configure: Regenerate.
383 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
386 * objdump.c (is_significant_symbol_name): Return TRUE for all
388 (find_symbol_for_address): Replace linear search with binary
389 search on dynamic relocations.
391 2018-03-01 Nick Clifton <nickc@redhat.com>
394 * dwarf.c (display_debug_ranges): Check that the offset loaded
395 from the range_entry structure is valid.
397 2018-03-01 Alan Modra <amodra@gmail.com>
399 * configure.ac (ALL_LINGUAS): Add sr. Sort.
400 * configure: Regenerate.
402 2018-02-27 Nick Clifton <nickc@redhat.com>
404 * po/pt.po: New Portuguese translation.
405 * configure.ac (ALL_LINGUAS): Add pt.
406 * configure: Regenerate.
408 2018-02-27 Nick Clifton <nickc@redhat.com>
411 * objcopy.c (copy_object): Check the error status after marking
412 symbols used in relocations.
413 * testsuite/binutils-all/strip-13.s: New test source file.
414 * testsuite/binutils-all/strip-13.s: New test driver file.
415 * testsuite/binutils-all/objcopy.exp: Run the new test.
417 2018-02-26 Alan Modra <amodra@gmail.com>
419 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
420 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
422 2018-02-23 Alan Modra <amodra@gmail.com>
424 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
425 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
427 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
429 * doc/binutils.texi (objcopy): Add missing closing square
430 parenthesis to listing of objcopy's command line options.
432 2018-02-19 Matthias Klose <doko@debian.org>
434 * strings.c (long_options): Include-all-whitespace does not take
437 2018-02-13 Alan Modra <amodra@gmail.com>
440 * testsuite/binutils-all/group-7.s,
441 * testsuite/binutils-all/group-7a.d,
442 * testsuite/binutils-all/group-7b.d,
443 * testsuite/binutils-all/group-7c.d: New tests.
444 * testsuite/binutils-all/objcopy.exp: Run them.
446 2018-02-08 Nick Clifton <nickc@redhat.com>
449 * dwarf.c (load_separate_debug_file): Return early if the user is
450 not interested in debug links.
452 2018-02-06 Nick Clifton <nickc@redhat.com>
455 * readelf.c (find_section): Replace assertion with test and return
457 (find_section_by_address): Add test of section header table
459 (find_section_by_type): Likewise.
460 (find_section_in_set): Likewise.
462 2018-02-05 Maciej W. Rozycki <macro@mips.com>
464 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
465 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
466 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
467 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
469 2018-02-05 Maciej W. Rozycki <macro@mips.com>
471 * testsuite/config/default.exp (binutils_run): Document
472 `binutils_run_status'.
473 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
475 (run_dump_test): Add `error', `error_output', `warning' and
476 `warning_output' options. Update documentation accordingly.
478 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
480 * dwarf.c (dwarf_regnames_riscv): New register name table.
481 (init_dwarf_regnames_riscv): New function.
482 (init_dwarf_regnames): Add call to initialise RiscV register
484 * dwarf.h (init_dwarf_regnames_riscv): Declare.
485 * objdump.c (dump_dwarf): Add call to initialise RiscV register
488 2018-02-01 Alan Modra <amodra@gmail.com>
491 * objdump.c (load_specific_debug_section): Check for overflow
492 when adding one to section size for a string section terminator.
494 2018-01-30 Nick Clifton <nickc@redhat.com>
497 * doc/binutils.texi (nm): Update description to point out that
498 zero-initialized values can also be shown as type B, b, S or s
499 since they can be stored in the BSS section.
501 2018-01-30 Alan Modra <amodra@gmail.com>
503 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
504 "artificially large" end address.
506 2018-01-28 Nick Clifton <nickc@redhat.com>
508 * README-how-to-make-a-release: Add note about checking gpg key
509 and the results of gnupload.
511 2018-01-27 Nick Clifton <nickc@redhat.com>
513 * README-how-to-make-a-release: Add details on how to actually
516 2018-01-26 Nick Clifton <nickc@redhat.com>
518 * README-how-to-make-a-release: Add more details on updating
521 2018-01-22 Maciej W. Rozycki <macro@mips.com>
523 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
526 2018-01-22 Maciej W. Rozycki <macro@mips.com>
528 * MAINTAINERS: Update my company e-mail address.
530 2018-01-22 Nick Clifton <nickc@redhat.com>
532 * po/sv.po: Updated Swedish translation.
534 2018-01-18 Nick Clifton <nickc@redhat.com>
536 * po/bg.po: Updated Bulgarian translation.
538 2018-01-16 Joel Brobecker <brobecker@adacore.com>
540 * README-how-to-make-a-release: Add reminder to update the
541 branch name in gdbadmin's crontab on sourceware.
543 2018-01-16 Joel Brobecker <brobecker@adacore.com>
545 * README-how-to-make-a-release: Remove trailing spaces.
547 2018-01-16 Nick Clifton <nickc@redhat.com>
549 * po/fr.po: Updated French translation.
551 2018-01-15 Nick Clifton <nickc@redhat.com>
553 * po/uk.po: Updated Ukranian translation.
555 2018-01-13 Nick Clifton <nickc@redhat.com>
557 * README-how-to-make-a-release: Update notes.
558 * po/binutils.pot: Regenerated.
560 2018-01-13 Nick Clifton <nickc@redhat.com>
562 * configure: Regenerate.
564 2018-01-13 Nick Clifton <nickc@redhat.com>
567 * NEWS: Add marker for 2.30.
569 2018-01-12 Nick Clifton <nickc@redhat.com>
571 * README-how-to-make-a-release: Add notes on how to make the
572 branch and prelease snapshot.
573 * BRANCHES: Add binutils-2_29-branch.
575 2018-01-10 Nick Clifton <nickc@redhat.com>
577 * MAINTAINERS: Note that it is now the configure.ac file and not
578 the configure.in file that needs to be kept in sync with gcc.
579 Add a note about sending patches for libiberty to gcc.
581 2018-01-03 Nick Clifton <nickc@redhat.com>
583 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
586 2018-01-03 Nick Clifton <nickc@redhat.com>
588 * objcopy.c (objcopy_internal_note): New structure.
589 (gap_exists): New function.
590 (is_open_note): New function.
591 (is_func_note): New function.
592 (is_64bit): New function.
593 (merge_gnu_build_notes): Handle v3 notes. Do not merge
594 if there are relocations against the notes.
595 * readelf.c (get_note_type): Use short names for build attribute
597 (print_symbol_for_build_attribute): Rename to
598 get_symbol_for_build_attribute. Returns the found symbol rather
600 (print_gnu_build_attribute_description): Maintain address ranges
601 for function notes as well as global notes. Handle v3 notes.
602 (print_gnu_build_attribute_name): Use more space for printing the
604 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
605 Eliminate symbol references in order to remove the need for
607 * testsuite/binutils-all/note-2-64.s: Likewise.
608 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
610 * testsuite/binutils-all/note-3-64.s: Likewise.
611 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
613 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
614 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
615 * testsuite/binutils-all/note-2-32.d: Likewise.
616 * testsuite/binutils-all/note-2-64.d: Likewise.
617 * testsuite/binutils-all/note-3-32.d: Likewise.
618 * testsuite/binutils-all/note-3-64.d: Likewise.
619 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
620 * testsuite/binutils-all/note-4-32.s: New test.
621 * testsuite/binutils-all/note-4-64.d: New test result file.
622 * testsuite/binutils-all/note-4-32.d: New test result file.
624 2018-01-03 Alan Modra <amodra@gmail.com>
626 Update year range in copyright notice of all files.
628 For older changes see ChangeLog-2017
630 Copyright (C) 2018 Free Software Foundation, Inc.
632 Copying and distribution of this file, with or without modification,
633 are permitted in any medium without royalty provided the copyright
634 notice and this notice are preserved.
640 version-control: never