1 2018-05-15 Alan Modra <amodra@gmail.com>
3 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
4 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
5 and *uclinux* into *linux*.
6 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
7 strip-13 test, exclude arm-vxworks and arm-windiss.
9 2018-05-10 John Darrington <john@darrington.wattle.id.au>
11 * readelf.c (get_machine_name): EM_S12Z - handle new case.
13 2018-05-09 Alan Modra <amodra@gmail.com>
15 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
17 2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
19 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
21 2018-05-08 Alan Modra <amodra@gmail.com>
24 * objcopy.c (is_strip_section): Strip groups without a valid
27 2018-05-07 Alan Modra <amodra@gmail.com>
30 * objcopy.c (group_signature): Don't accept groups that use a
31 symbol table other than the one we've read.
33 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
35 * readelf.c: Very basic support for EM_NFP and its section types.
36 * testsuite/binutils-all/nfp: New directory.
37 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
39 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
40 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
41 * testsuite/binutils-all/nfp/test1.d: New file.
42 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
43 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
44 * NEWS: Mention the new support.
46 2018-04-27 Maciej W. Rozycki <macro@mips.com>
48 * testsuite/lib/binutils-common.exp (match_target): New procedure.
49 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
50 of `istarget' for matching with `target', `not-target', `skip'
51 and `not-skip' options.
53 2018-04-26 Nick Clifton <nickc@redhat.com>
55 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
56 32-bit absolute reloc for the HPPA target.
57 * testsuite/binutils-all/note-5.d: New test.
58 * testsuite/binutils-all/note-5.s: Source file for new test.
59 * testsuite/binutils-all/objcopy.exp: Run new test.
61 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
63 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
64 * testsuite/binutils-all/elfedit-3.d: Likewise.
65 * testsuite/binutils-all/objcopy.exp: Likewise.
66 * testsuite/binutils-all/strip-3.d: Likewise.
67 * testsuite/lib/binutils-common.exp: Likewise.
69 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
70 Mickaël Guêné <mickael.guene@st.com>
72 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
73 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
75 2018-04-25 Alan Modra <amodra@gmail.com>
77 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
79 * testsuite/binutils-all/objcopy.exp: Likewise.
80 * testsuite/lib/binutils-common.exp: Likewise.
82 2018-04-18 Nick Clifton <nickc@redhat.com>
85 * dwarf.c (read_and_display_attr_value): Replace assertions with
86 test and warning message.
88 2018-04-18 Alan Modra <amodra@gmail.com>
90 * testsuite/lib/binutils-common.exp: Remove support for assorted
93 2018-04-17 Nick Clifton <nickc@redhat.com>
96 * readelf.c (print_symbol): If the width is zero, return straight
100 * dwarf.c (process_cu_tu_index): Test for a potential buffer
101 overrun before copying signature pointer.
103 2018-04-17 Alan Modra <amodra@gmail.com>
105 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
107 2018-04-16 Alan Modra <amodra@gmail.com>
109 * readelf.c (get_machine_name): Correct typo.
111 2018-04-16 Alan Modra <amodra@gmail.com>
113 * configure.ac: Remove arm-epoc-pe support.
114 * dlltool.c: Likewise.
115 * configure: Regenerate.
117 2018-04-16 Alan Modra <amodra@gmail.com>
119 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
122 2018-04-16 Alan Modra <amodra@gmail.com>
124 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
126 * testsuite/binutils-all/copy-3.d: Likewise.
127 * testsuite/binutils-all/objcopy.exp: Likewise.
128 * testsuite/lib/binutils-common.exp: Likewise.
130 2018-04-16 Alan Modra <amodra@gmail.com>
132 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
134 2018-04-16 Alan Modra <amodra@gmail.com>
136 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
138 2018-04-16 Alan Modra <amodra@gmail.com>
140 * testsuite/binutils-all/objdump.exp: Remove we32k support.
142 2018-04-16 Alan Modra <amodra@gmail.com>
144 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
145 * testsuite/binutils-all/objdump.exp: Remove m88k support.
147 2018-04-16 Alan Modra <amodra@gmail.com>
149 * readelf.c: Remove i370 support.
150 * testsuite/binutils-all/objdump.exp: Likewise.
152 2018-04-16 Alan Modra <amodra@gmail.com>
154 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
155 * testsuite/lib/binutils-common.exp: Likewise.
157 2018-04-16 Alan Modra <amodra@gmail.com>
159 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
161 2018-04-16 Alan Modra <amodra@gmail.com>
163 * Makefile.am: Remove IEEE 695 support.
165 * doc/binutils.texi: Likewise.
166 * makefile.vms: Likewise.
167 * objcopy.c: Likewise.
168 * objdump.c: Likewise.
171 * Makefile.in: Regenerate.
172 * po/POTFILES.in: Regenerate.
174 2018-04-16 Alan Modra <amodra@gmail.com>
176 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
177 * testsuite/binutils-all/nm.exp: Likewise.
179 2018-04-16 Alan Modra <amodra@gmail.com>
181 * .gitignore: Remove netware support.
182 * Makefile.am: Likewise.
183 * configure.ac: Likewise.
184 * doc/Makefile.am: Likewise.
185 * doc/binutils.texi: Likewise.
186 * testsuite/binutils-all/nm.exp: Likewise.
189 * nlmheader.y: Delete.
190 * Makefile.in: Regenerate.
191 * configure: Regenerate.
192 * doc/Makefile.in: Regenerate.
193 * po/POTFILES.in: Regenerate.
195 2018-04-16 Alan Modra <amodra@gmail.com>
197 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
199 2018-04-14 Alan Modra <amodra@gmail.com>
201 * readelf.c (get_machine_name): Revert 2018-04-11 change.
203 2018-04-12 Nick Clifton <nickc@redhat.com>
206 * readelf.c (process_dynamic_section): Correct dynamic string
207 table size calculation.
209 2018-04-11 Alan Modra <amodra@gmail.com>
211 * ieee.c: Remove i960 support.
212 * od-macho.c: Remove i860 support.
213 * readelf.c: Remove i860 and i960 support.
214 * testsuite/binutils-all/objcopy.exp: Likewise.
215 * testsuite/binutils-all/objdump.exp: Likewise.
216 * testsuite/lib/binutils-common.exp: Likewise.
218 2018-04-11 Maciej W. Rozycki <macro@mips.com>
220 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
221 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
223 2018-04-10 Alan Modra <amodra@gmail.com>
225 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
226 reloc=11 for pru and reloc=50 for nds32.
227 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
229 2018-04-09 Maciej W. Rozycki <macro@mips.com>
231 * testsuite/binutils-all/strip-15.d: New test.
232 * testsuite/binutils-all/strip-15rel.s: New test source.
233 * testsuite/binutils-all/strip-15rela.s: New test source.
234 * testsuite/binutils-all/strip-15mips64.s: New test source.
235 * testsuite/binutils-all/objcopy.exp: Run the new test.
237 2018-04-09 Maciej W. Rozycki <macro@mips.com>
239 * testsuite/binutils-all/strip-14.d: New test.
240 * testsuite/binutils-all/strip-14rel.s: New test source.
241 * testsuite/binutils-all/strip-14rela.s: New test source.
242 * testsuite/binutils-all/strip-14mips64.s: New test source.
243 * testsuite/binutils-all/objcopy.exp: Run the new test.
245 2018-04-06 Tom Tromey <tom@tromey.com>
247 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
248 constants from DWARF 5.
250 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
253 * configure: Regenerated.
255 2018-04-05 Maciej W. Rozycki <macro@mips.com>
257 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
258 than `.dc.w' in second relocation.
260 2018-04-05 Maciej W. Rozycki <macro@mips.com>
262 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
263 relocation type 0x8f' error message.
265 2018-04-05 Maciej W. Rozycki <macro@mips.com>
267 * testsuite/binutils-all/strip-13.s: Rename to...
268 * testsuite/binutils-all/strip-13rela.s: ... this.
269 * testsuite/binutils-all/strip-13rel.s: New test source.
270 * testsuite/binutils-all/strip-13mips64.s: New test source.
271 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
272 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
273 `m68hc11-*' to `not-target' list.
274 * testsuite/binutils-all/objcopy.exp: Switch between sources for
277 2018-04-05 Maciej W. Rozycki <macro@mips.com>
279 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
280 241 (0xf1) for the relocation number and RELA addend.
281 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
284 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
286 * MAINTAINERS: Update my e-mail address.
288 2018-04-04 Nick Clifton <nickc@redhat.com>
290 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
292 2018-03-23 Nick Clifton <nickc@redhat.com>
294 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
296 (print_gnu_build_attribute_description): If no file start symbol
297 could be found, look for one two bytes into the file.
298 * testsuite/binutils-all/note-4-64.s: Set the address of the file
299 start symbol to two bytes into the file.
300 * testsuite/binutils-all/note-4-32.s: Likewise.
302 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
304 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
305 DF_1_WEAKFILTER and DF_1_NOCOMMON.
307 2018-03-20 Nick Clifton <nickc@redhat.com>
309 * po/es.po: Updated Spanish translation.
310 * po/ru.po: Updated Russian translation.
312 2018-03-13 Nick Clifton <nickc@redhat.com>
315 * stabs.c (pop_binincl): Fail if the file index is off the end of
318 2018-03-13 Nick Clifton <nickc@redhat.com>
321 * stabs.c (parse_number): Add p_end parameter and use it to check
322 the validity of the pp parameter. Add checks to prevent walking
323 off the end of the string buffer.
324 (parse_stab_string): Likewise.
325 (parse_stab_type): Likewise.
326 (parse_stab_type_number): Likewise.
327 (parse_stab_range_type): Likewise.
328 (parse_stab_sun_builtin_type): Likewise.
329 (parse_stab_sun_floating_type): Likewise.
330 (parse_stab_enum_type): Likewise.
331 (parse_stab_struct_type): Likewise.
332 (parse_stab_baseclasses): Likewise.
333 (parse_stab_struct_fields): Likewise.
334 (parse_stab_cpp_abbrev): Likewise.
335 (parse_stab_one_struct_field): Likewise.
336 (parse_stab_members): Likewise.
337 (parse_stab_tilde_field): Likewise.
338 (parse_stab_array_type): Likewise.
340 * parse_stab: Compute the end of the string and then pass it on to
341 individual parser functions.
343 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
346 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
349 2018-03-07 Alan Modra <amodra@gmail.com>
351 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
352 * configure: Regenerate.
354 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
357 * objdump.c (is_significant_symbol_name): Return TRUE for all
359 (find_symbol_for_address): Replace linear search with binary
360 search on dynamic relocations.
362 2018-03-01 Nick Clifton <nickc@redhat.com>
365 * dwarf.c (display_debug_ranges): Check that the offset loaded
366 from the range_entry structure is valid.
368 2018-03-01 Alan Modra <amodra@gmail.com>
370 * configure.ac (ALL_LINGUAS): Add sr. Sort.
371 * configure: Regenerate.
373 2018-02-27 Nick Clifton <nickc@redhat.com>
375 * po/pt.po: New Portuguese translation.
376 * configure.ac (ALL_LINGUAS): Add pt.
377 * configure: Regenerate.
379 2018-02-27 Nick Clifton <nickc@redhat.com>
382 * objcopy.c (copy_object): Check the error status after marking
383 symbols used in relocations.
384 * testsuite/binutils-all/strip-13.s: New test source file.
385 * testsuite/binutils-all/strip-13.s: New test driver file.
386 * testsuite/binutils-all/objcopy.exp: Run the new test.
388 2018-02-26 Alan Modra <amodra@gmail.com>
390 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
391 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
393 2018-02-23 Alan Modra <amodra@gmail.com>
395 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
396 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
398 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
400 * doc/binutils.texi (objcopy): Add missing closing square
401 parenthesis to listing of objcopy's command line options.
403 2018-02-19 Matthias Klose <doko@debian.org>
405 * strings.c (long_options): Include-all-whitespace does not take
408 2018-02-13 Alan Modra <amodra@gmail.com>
411 * testsuite/binutils-all/group-7.s,
412 * testsuite/binutils-all/group-7a.d,
413 * testsuite/binutils-all/group-7b.d,
414 * testsuite/binutils-all/group-7c.d: New tests.
415 * testsuite/binutils-all/objcopy.exp: Run them.
417 2018-02-08 Nick Clifton <nickc@redhat.com>
420 * dwarf.c (load_separate_debug_file): Return early if the user is
421 not interested in debug links.
423 2018-02-06 Nick Clifton <nickc@redhat.com>
426 * readelf.c (find_section): Replace assertion with test and return
428 (find_section_by_address): Add test of section header table
430 (find_section_by_type): Likewise.
431 (find_section_in_set): Likewise.
433 2018-02-05 Maciej W. Rozycki <macro@mips.com>
435 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
436 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
437 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
438 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
440 2018-02-05 Maciej W. Rozycki <macro@mips.com>
442 * testsuite/config/default.exp (binutils_run): Document
443 `binutils_run_status'.
444 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
446 (run_dump_test): Add `error', `error_output', `warning' and
447 `warning_output' options. Update documentation accordingly.
449 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
451 * dwarf.c (dwarf_regnames_riscv): New register name table.
452 (init_dwarf_regnames_riscv): New function.
453 (init_dwarf_regnames): Add call to initialise RiscV register
455 * dwarf.h (init_dwarf_regnames_riscv): Declare.
456 * objdump.c (dump_dwarf): Add call to initialise RiscV register
459 2018-02-01 Alan Modra <amodra@gmail.com>
462 * objdump.c (load_specific_debug_section): Check for overflow
463 when adding one to section size for a string section terminator.
465 2018-01-30 Nick Clifton <nickc@redhat.com>
468 * doc/binutils.texi (nm): Update description to point out that
469 zero-initialized values can also be shown as type B, b, S or s
470 since they can be stored in the BSS section.
472 2018-01-30 Alan Modra <amodra@gmail.com>
474 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
475 "artificially large" end address.
477 2018-01-28 Nick Clifton <nickc@redhat.com>
479 * README-how-to-make-a-release: Add note about checking gpg key
480 and the results of gnupload.
482 2018-01-27 Nick Clifton <nickc@redhat.com>
484 * README-how-to-make-a-release: Add details on how to actually
487 2018-01-26 Nick Clifton <nickc@redhat.com>
489 * README-how-to-make-a-release: Add more details on updating
492 2018-01-22 Maciej W. Rozycki <macro@mips.com>
494 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
497 2018-01-22 Maciej W. Rozycki <macro@mips.com>
499 * MAINTAINERS: Update my company e-mail address.
501 2018-01-22 Nick Clifton <nickc@redhat.com>
503 * po/sv.po: Updated Swedish translation.
505 2018-01-18 Nick Clifton <nickc@redhat.com>
507 * po/bg.po: Updated Bulgarian translation.
509 2018-01-16 Joel Brobecker <brobecker@adacore.com>
511 * README-how-to-make-a-release: Add reminder to update the
512 branch name in gdbadmin's crontab on sourceware.
514 2018-01-16 Joel Brobecker <brobecker@adacore.com>
516 * README-how-to-make-a-release: Remove trailing spaces.
518 2018-01-16 Nick Clifton <nickc@redhat.com>
520 * po/fr.po: Updated French translation.
522 2018-01-15 Nick Clifton <nickc@redhat.com>
524 * po/uk.po: Updated Ukranian translation.
526 2018-01-13 Nick Clifton <nickc@redhat.com>
528 * README-how-to-make-a-release: Update notes.
529 * po/binutils.pot: Regenerated.
531 2018-01-13 Nick Clifton <nickc@redhat.com>
533 * configure: Regenerate.
535 2018-01-13 Nick Clifton <nickc@redhat.com>
538 * NEWS: Add marker for 2.30.
540 2018-01-12 Nick Clifton <nickc@redhat.com>
542 * README-how-to-make-a-release: Add notes on how to make the
543 branch and prelease snapshot.
544 * BRANCHES: Add binutils-2_29-branch.
546 2018-01-10 Nick Clifton <nickc@redhat.com>
548 * MAINTAINERS: Note that it is now the configure.ac file and not
549 the configure.in file that needs to be kept in sync with gcc.
550 Add a note about sending patches for libiberty to gcc.
552 2018-01-03 Nick Clifton <nickc@redhat.com>
554 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
557 2018-01-03 Nick Clifton <nickc@redhat.com>
559 * objcopy.c (objcopy_internal_note): New structure.
560 (gap_exists): New function.
561 (is_open_note): New function.
562 (is_func_note): New function.
563 (is_64bit): New function.
564 (merge_gnu_build_notes): Handle v3 notes. Do not merge
565 if there are relocations against the notes.
566 * readelf.c (get_note_type): Use short names for build attribute
568 (print_symbol_for_build_attribute): Rename to
569 get_symbol_for_build_attribute. Returns the found symbol rather
571 (print_gnu_build_attribute_description): Maintain address ranges
572 for function notes as well as global notes. Handle v3 notes.
573 (print_gnu_build_attribute_name): Use more space for printing the
575 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
576 Eliminate symbol references in order to remove the need for
578 * testsuite/binutils-all/note-2-64.s: Likewise.
579 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
581 * testsuite/binutils-all/note-3-64.s: Likewise.
582 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
584 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
585 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
586 * testsuite/binutils-all/note-2-32.d: Likewise.
587 * testsuite/binutils-all/note-2-64.d: Likewise.
588 * testsuite/binutils-all/note-3-32.d: Likewise.
589 * testsuite/binutils-all/note-3-64.d: Likewise.
590 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
591 * testsuite/binutils-all/note-4-32.s: New test.
592 * testsuite/binutils-all/note-4-64.d: New test result file.
593 * testsuite/binutils-all/note-4-32.d: New test result file.
595 2018-01-03 Alan Modra <amodra@gmail.com>
597 Update year range in copyright notice of all files.
599 For older changes see ChangeLog-2017
601 Copyright (C) 2018 Free Software Foundation, Inc.
603 Copying and distribution of this file, with or without modification,
604 are permitted in any medium without royalty provided the copyright
605 notice and this notice are preserved.
611 version-control: never