1 2018-05-15 Tamar Christina <tamar.christina@arm.com>
4 * doc/binutils.texi (-M): Document AArch64 options.
5 * NEWS: Document notes and warnings.
7 2018-05-15 Alan Modra <amodra@gmail.com>
9 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
10 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
11 and *uclinux* into *linux*.
12 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
13 strip-13 test, exclude arm-vxworks and arm-windiss.
15 2018-05-10 John Darrington <john@darrington.wattle.id.au>
17 * readelf.c (get_machine_name): EM_S12Z - handle new case.
19 2018-05-09 Alan Modra <amodra@gmail.com>
21 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
23 2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
25 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
27 2018-05-08 Alan Modra <amodra@gmail.com>
30 * objcopy.c (is_strip_section): Strip groups without a valid
33 2018-05-07 Alan Modra <amodra@gmail.com>
36 * objcopy.c (group_signature): Don't accept groups that use a
37 symbol table other than the one we've read.
39 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
41 * readelf.c: Very basic support for EM_NFP and its section types.
42 * testsuite/binutils-all/nfp: New directory.
43 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
45 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
46 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
47 * testsuite/binutils-all/nfp/test1.d: New file.
48 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
49 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
50 * NEWS: Mention the new support.
52 2018-04-27 Maciej W. Rozycki <macro@mips.com>
54 * testsuite/lib/binutils-common.exp (match_target): New procedure.
55 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
56 of `istarget' for matching with `target', `not-target', `skip'
57 and `not-skip' options.
59 2018-04-26 Nick Clifton <nickc@redhat.com>
61 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
62 32-bit absolute reloc for the HPPA target.
63 * testsuite/binutils-all/note-5.d: New test.
64 * testsuite/binutils-all/note-5.s: Source file for new test.
65 * testsuite/binutils-all/objcopy.exp: Run new test.
67 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
69 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
70 * testsuite/binutils-all/elfedit-3.d: Likewise.
71 * testsuite/binutils-all/objcopy.exp: Likewise.
72 * testsuite/binutils-all/strip-3.d: Likewise.
73 * testsuite/lib/binutils-common.exp: Likewise.
75 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
76 Mickaël Guêné <mickael.guene@st.com>
78 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
79 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
81 2018-04-25 Alan Modra <amodra@gmail.com>
83 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
85 * testsuite/binutils-all/objcopy.exp: Likewise.
86 * testsuite/lib/binutils-common.exp: Likewise.
88 2018-04-18 Nick Clifton <nickc@redhat.com>
91 * dwarf.c (read_and_display_attr_value): Replace assertions with
92 test and warning message.
94 2018-04-18 Alan Modra <amodra@gmail.com>
96 * testsuite/lib/binutils-common.exp: Remove support for assorted
99 2018-04-17 Nick Clifton <nickc@redhat.com>
102 * readelf.c (print_symbol): If the width is zero, return straight
106 * dwarf.c (process_cu_tu_index): Test for a potential buffer
107 overrun before copying signature pointer.
109 2018-04-17 Alan Modra <amodra@gmail.com>
111 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
113 2018-04-16 Alan Modra <amodra@gmail.com>
115 * readelf.c (get_machine_name): Correct typo.
117 2018-04-16 Alan Modra <amodra@gmail.com>
119 * configure.ac: Remove arm-epoc-pe support.
120 * dlltool.c: Likewise.
121 * configure: Regenerate.
123 2018-04-16 Alan Modra <amodra@gmail.com>
125 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
128 2018-04-16 Alan Modra <amodra@gmail.com>
130 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
132 * testsuite/binutils-all/copy-3.d: Likewise.
133 * testsuite/binutils-all/objcopy.exp: Likewise.
134 * testsuite/lib/binutils-common.exp: Likewise.
136 2018-04-16 Alan Modra <amodra@gmail.com>
138 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
140 2018-04-16 Alan Modra <amodra@gmail.com>
142 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
144 2018-04-16 Alan Modra <amodra@gmail.com>
146 * testsuite/binutils-all/objdump.exp: Remove we32k support.
148 2018-04-16 Alan Modra <amodra@gmail.com>
150 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
151 * testsuite/binutils-all/objdump.exp: Remove m88k support.
153 2018-04-16 Alan Modra <amodra@gmail.com>
155 * readelf.c: Remove i370 support.
156 * testsuite/binutils-all/objdump.exp: Likewise.
158 2018-04-16 Alan Modra <amodra@gmail.com>
160 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
161 * testsuite/lib/binutils-common.exp: Likewise.
163 2018-04-16 Alan Modra <amodra@gmail.com>
165 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
167 2018-04-16 Alan Modra <amodra@gmail.com>
169 * Makefile.am: Remove IEEE 695 support.
171 * doc/binutils.texi: Likewise.
172 * makefile.vms: Likewise.
173 * objcopy.c: Likewise.
174 * objdump.c: Likewise.
177 * Makefile.in: Regenerate.
178 * po/POTFILES.in: Regenerate.
180 2018-04-16 Alan Modra <amodra@gmail.com>
182 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
183 * testsuite/binutils-all/nm.exp: Likewise.
185 2018-04-16 Alan Modra <amodra@gmail.com>
187 * .gitignore: Remove netware support.
188 * Makefile.am: Likewise.
189 * configure.ac: Likewise.
190 * doc/Makefile.am: Likewise.
191 * doc/binutils.texi: Likewise.
192 * testsuite/binutils-all/nm.exp: Likewise.
195 * nlmheader.y: Delete.
196 * Makefile.in: Regenerate.
197 * configure: Regenerate.
198 * doc/Makefile.in: Regenerate.
199 * po/POTFILES.in: Regenerate.
201 2018-04-16 Alan Modra <amodra@gmail.com>
203 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
205 2018-04-14 Alan Modra <amodra@gmail.com>
207 * readelf.c (get_machine_name): Revert 2018-04-11 change.
209 2018-04-12 Nick Clifton <nickc@redhat.com>
212 * readelf.c (process_dynamic_section): Correct dynamic string
213 table size calculation.
215 2018-04-11 Alan Modra <amodra@gmail.com>
217 * ieee.c: Remove i960 support.
218 * od-macho.c: Remove i860 support.
219 * readelf.c: Remove i860 and i960 support.
220 * testsuite/binutils-all/objcopy.exp: Likewise.
221 * testsuite/binutils-all/objdump.exp: Likewise.
222 * testsuite/lib/binutils-common.exp: Likewise.
224 2018-04-11 Maciej W. Rozycki <macro@mips.com>
226 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
227 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
229 2018-04-10 Alan Modra <amodra@gmail.com>
231 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
232 reloc=11 for pru and reloc=50 for nds32.
233 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
235 2018-04-09 Maciej W. Rozycki <macro@mips.com>
237 * testsuite/binutils-all/strip-15.d: New test.
238 * testsuite/binutils-all/strip-15rel.s: New test source.
239 * testsuite/binutils-all/strip-15rela.s: New test source.
240 * testsuite/binutils-all/strip-15mips64.s: New test source.
241 * testsuite/binutils-all/objcopy.exp: Run the new test.
243 2018-04-09 Maciej W. Rozycki <macro@mips.com>
245 * testsuite/binutils-all/strip-14.d: New test.
246 * testsuite/binutils-all/strip-14rel.s: New test source.
247 * testsuite/binutils-all/strip-14rela.s: New test source.
248 * testsuite/binutils-all/strip-14mips64.s: New test source.
249 * testsuite/binutils-all/objcopy.exp: Run the new test.
251 2018-04-06 Tom Tromey <tom@tromey.com>
253 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
254 constants from DWARF 5.
256 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
259 * configure: Regenerated.
261 2018-04-05 Maciej W. Rozycki <macro@mips.com>
263 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
264 than `.dc.w' in second relocation.
266 2018-04-05 Maciej W. Rozycki <macro@mips.com>
268 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
269 relocation type 0x8f' error message.
271 2018-04-05 Maciej W. Rozycki <macro@mips.com>
273 * testsuite/binutils-all/strip-13.s: Rename to...
274 * testsuite/binutils-all/strip-13rela.s: ... this.
275 * testsuite/binutils-all/strip-13rel.s: New test source.
276 * testsuite/binutils-all/strip-13mips64.s: New test source.
277 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
278 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
279 `m68hc11-*' to `not-target' list.
280 * testsuite/binutils-all/objcopy.exp: Switch between sources for
283 2018-04-05 Maciej W. Rozycki <macro@mips.com>
285 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
286 241 (0xf1) for the relocation number and RELA addend.
287 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
290 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
292 * MAINTAINERS: Update my e-mail address.
294 2018-04-04 Nick Clifton <nickc@redhat.com>
296 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
298 2018-03-23 Nick Clifton <nickc@redhat.com>
300 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
302 (print_gnu_build_attribute_description): If no file start symbol
303 could be found, look for one two bytes into the file.
304 * testsuite/binutils-all/note-4-64.s: Set the address of the file
305 start symbol to two bytes into the file.
306 * testsuite/binutils-all/note-4-32.s: Likewise.
308 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
310 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
311 DF_1_WEAKFILTER and DF_1_NOCOMMON.
313 2018-03-20 Nick Clifton <nickc@redhat.com>
315 * po/es.po: Updated Spanish translation.
316 * po/ru.po: Updated Russian translation.
318 2018-03-13 Nick Clifton <nickc@redhat.com>
321 * stabs.c (pop_binincl): Fail if the file index is off the end of
324 2018-03-13 Nick Clifton <nickc@redhat.com>
327 * stabs.c (parse_number): Add p_end parameter and use it to check
328 the validity of the pp parameter. Add checks to prevent walking
329 off the end of the string buffer.
330 (parse_stab_string): Likewise.
331 (parse_stab_type): Likewise.
332 (parse_stab_type_number): Likewise.
333 (parse_stab_range_type): Likewise.
334 (parse_stab_sun_builtin_type): Likewise.
335 (parse_stab_sun_floating_type): Likewise.
336 (parse_stab_enum_type): Likewise.
337 (parse_stab_struct_type): Likewise.
338 (parse_stab_baseclasses): Likewise.
339 (parse_stab_struct_fields): Likewise.
340 (parse_stab_cpp_abbrev): Likewise.
341 (parse_stab_one_struct_field): Likewise.
342 (parse_stab_members): Likewise.
343 (parse_stab_tilde_field): Likewise.
344 (parse_stab_array_type): Likewise.
346 * parse_stab: Compute the end of the string and then pass it on to
347 individual parser functions.
349 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
352 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
355 2018-03-07 Alan Modra <amodra@gmail.com>
357 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
358 * configure: Regenerate.
360 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
363 * objdump.c (is_significant_symbol_name): Return TRUE for all
365 (find_symbol_for_address): Replace linear search with binary
366 search on dynamic relocations.
368 2018-03-01 Nick Clifton <nickc@redhat.com>
371 * dwarf.c (display_debug_ranges): Check that the offset loaded
372 from the range_entry structure is valid.
374 2018-03-01 Alan Modra <amodra@gmail.com>
376 * configure.ac (ALL_LINGUAS): Add sr. Sort.
377 * configure: Regenerate.
379 2018-02-27 Nick Clifton <nickc@redhat.com>
381 * po/pt.po: New Portuguese translation.
382 * configure.ac (ALL_LINGUAS): Add pt.
383 * configure: Regenerate.
385 2018-02-27 Nick Clifton <nickc@redhat.com>
388 * objcopy.c (copy_object): Check the error status after marking
389 symbols used in relocations.
390 * testsuite/binutils-all/strip-13.s: New test source file.
391 * testsuite/binutils-all/strip-13.s: New test driver file.
392 * testsuite/binutils-all/objcopy.exp: Run the new test.
394 2018-02-26 Alan Modra <amodra@gmail.com>
396 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
397 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
399 2018-02-23 Alan Modra <amodra@gmail.com>
401 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
402 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
404 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
406 * doc/binutils.texi (objcopy): Add missing closing square
407 parenthesis to listing of objcopy's command line options.
409 2018-02-19 Matthias Klose <doko@debian.org>
411 * strings.c (long_options): Include-all-whitespace does not take
414 2018-02-13 Alan Modra <amodra@gmail.com>
417 * testsuite/binutils-all/group-7.s,
418 * testsuite/binutils-all/group-7a.d,
419 * testsuite/binutils-all/group-7b.d,
420 * testsuite/binutils-all/group-7c.d: New tests.
421 * testsuite/binutils-all/objcopy.exp: Run them.
423 2018-02-08 Nick Clifton <nickc@redhat.com>
426 * dwarf.c (load_separate_debug_file): Return early if the user is
427 not interested in debug links.
429 2018-02-06 Nick Clifton <nickc@redhat.com>
432 * readelf.c (find_section): Replace assertion with test and return
434 (find_section_by_address): Add test of section header table
436 (find_section_by_type): Likewise.
437 (find_section_in_set): Likewise.
439 2018-02-05 Maciej W. Rozycki <macro@mips.com>
441 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
442 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
443 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
444 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
446 2018-02-05 Maciej W. Rozycki <macro@mips.com>
448 * testsuite/config/default.exp (binutils_run): Document
449 `binutils_run_status'.
450 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
452 (run_dump_test): Add `error', `error_output', `warning' and
453 `warning_output' options. Update documentation accordingly.
455 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
457 * dwarf.c (dwarf_regnames_riscv): New register name table.
458 (init_dwarf_regnames_riscv): New function.
459 (init_dwarf_regnames): Add call to initialise RiscV register
461 * dwarf.h (init_dwarf_regnames_riscv): Declare.
462 * objdump.c (dump_dwarf): Add call to initialise RiscV register
465 2018-02-01 Alan Modra <amodra@gmail.com>
468 * objdump.c (load_specific_debug_section): Check for overflow
469 when adding one to section size for a string section terminator.
471 2018-01-30 Nick Clifton <nickc@redhat.com>
474 * doc/binutils.texi (nm): Update description to point out that
475 zero-initialized values can also be shown as type B, b, S or s
476 since they can be stored in the BSS section.
478 2018-01-30 Alan Modra <amodra@gmail.com>
480 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
481 "artificially large" end address.
483 2018-01-28 Nick Clifton <nickc@redhat.com>
485 * README-how-to-make-a-release: Add note about checking gpg key
486 and the results of gnupload.
488 2018-01-27 Nick Clifton <nickc@redhat.com>
490 * README-how-to-make-a-release: Add details on how to actually
493 2018-01-26 Nick Clifton <nickc@redhat.com>
495 * README-how-to-make-a-release: Add more details on updating
498 2018-01-22 Maciej W. Rozycki <macro@mips.com>
500 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
503 2018-01-22 Maciej W. Rozycki <macro@mips.com>
505 * MAINTAINERS: Update my company e-mail address.
507 2018-01-22 Nick Clifton <nickc@redhat.com>
509 * po/sv.po: Updated Swedish translation.
511 2018-01-18 Nick Clifton <nickc@redhat.com>
513 * po/bg.po: Updated Bulgarian translation.
515 2018-01-16 Joel Brobecker <brobecker@adacore.com>
517 * README-how-to-make-a-release: Add reminder to update the
518 branch name in gdbadmin's crontab on sourceware.
520 2018-01-16 Joel Brobecker <brobecker@adacore.com>
522 * README-how-to-make-a-release: Remove trailing spaces.
524 2018-01-16 Nick Clifton <nickc@redhat.com>
526 * po/fr.po: Updated French translation.
528 2018-01-15 Nick Clifton <nickc@redhat.com>
530 * po/uk.po: Updated Ukranian translation.
532 2018-01-13 Nick Clifton <nickc@redhat.com>
534 * README-how-to-make-a-release: Update notes.
535 * po/binutils.pot: Regenerated.
537 2018-01-13 Nick Clifton <nickc@redhat.com>
539 * configure: Regenerate.
541 2018-01-13 Nick Clifton <nickc@redhat.com>
544 * NEWS: Add marker for 2.30.
546 2018-01-12 Nick Clifton <nickc@redhat.com>
548 * README-how-to-make-a-release: Add notes on how to make the
549 branch and prelease snapshot.
550 * BRANCHES: Add binutils-2_29-branch.
552 2018-01-10 Nick Clifton <nickc@redhat.com>
554 * MAINTAINERS: Note that it is now the configure.ac file and not
555 the configure.in file that needs to be kept in sync with gcc.
556 Add a note about sending patches for libiberty to gcc.
558 2018-01-03 Nick Clifton <nickc@redhat.com>
560 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
563 2018-01-03 Nick Clifton <nickc@redhat.com>
565 * objcopy.c (objcopy_internal_note): New structure.
566 (gap_exists): New function.
567 (is_open_note): New function.
568 (is_func_note): New function.
569 (is_64bit): New function.
570 (merge_gnu_build_notes): Handle v3 notes. Do not merge
571 if there are relocations against the notes.
572 * readelf.c (get_note_type): Use short names for build attribute
574 (print_symbol_for_build_attribute): Rename to
575 get_symbol_for_build_attribute. Returns the found symbol rather
577 (print_gnu_build_attribute_description): Maintain address ranges
578 for function notes as well as global notes. Handle v3 notes.
579 (print_gnu_build_attribute_name): Use more space for printing the
581 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
582 Eliminate symbol references in order to remove the need for
584 * testsuite/binutils-all/note-2-64.s: Likewise.
585 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
587 * testsuite/binutils-all/note-3-64.s: Likewise.
588 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
590 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
591 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
592 * testsuite/binutils-all/note-2-32.d: Likewise.
593 * testsuite/binutils-all/note-2-64.d: Likewise.
594 * testsuite/binutils-all/note-3-32.d: Likewise.
595 * testsuite/binutils-all/note-3-64.d: Likewise.
596 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
597 * testsuite/binutils-all/note-4-32.s: New test.
598 * testsuite/binutils-all/note-4-64.d: New test result file.
599 * testsuite/binutils-all/note-4-32.d: New test result file.
601 2018-01-03 Alan Modra <amodra@gmail.com>
603 Update year range in copyright notice of all files.
605 For older changes see ChangeLog-2017
607 Copyright (C) 2018 Free Software Foundation, Inc.
609 Copying and distribution of this file, with or without modification,
610 are permitted in any medium without royalty provided the copyright
611 notice and this notice are preserved.
617 version-control: never