1 2018-05-07 Alan Modra <amodra@gmail.com>
4 * objcopy.c (group_signature): Don't accept groups that use a
5 symbol table other than the one we've read.
7 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
9 * readelf.c: Very basic support for EM_NFP and its section types.
10 * testsuite/binutils-all/nfp: New directory.
11 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
13 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
14 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
15 * testsuite/binutils-all/nfp/test1.d: New file.
16 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
17 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
18 * NEWS: Mention the new support.
20 2018-04-27 Maciej W. Rozycki <macro@mips.com>
22 * testsuite/lib/binutils-common.exp (match_target): New procedure.
23 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
24 of `istarget' for matching with `target', `not-target', `skip'
25 and `not-skip' options.
27 2018-04-26 Nick Clifton <nickc@redhat.com>
29 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
30 32-bit absolute reloc for the HPPA target.
31 * testsuite/binutils-all/note-5.d: New test.
32 * testsuite/binutils-all/note-5.s: Source file for new test.
33 * testsuite/binutils-all/objcopy.exp: Run new test.
35 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
37 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
38 * testsuite/binutils-all/elfedit-3.d: Likewise.
39 * testsuite/binutils-all/objcopy.exp: Likewise.
40 * testsuite/binutils-all/strip-3.d: Likewise.
41 * testsuite/lib/binutils-common.exp: Likewise.
43 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
44 Mickaël Guêné <mickael.guene@st.com>
46 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
47 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
49 2018-04-25 Alan Modra <amodra@gmail.com>
51 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
53 * testsuite/binutils-all/objcopy.exp: Likewise.
54 * testsuite/lib/binutils-common.exp: Likewise.
56 2018-04-18 Nick Clifton <nickc@redhat.com>
59 * dwarf.c (read_and_display_attr_value): Replace assertions with
60 test and warning message.
62 2018-04-18 Alan Modra <amodra@gmail.com>
64 * testsuite/lib/binutils-common.exp: Remove support for assorted
67 2018-04-17 Nick Clifton <nickc@redhat.com>
70 * readelf.c (print_symbol): If the width is zero, return straight
74 * dwarf.c (process_cu_tu_index): Test for a potential buffer
75 overrun before copying signature pointer.
77 2018-04-17 Alan Modra <amodra@gmail.com>
79 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
81 2018-04-16 Alan Modra <amodra@gmail.com>
83 * readelf.c (get_machine_name): Correct typo.
85 2018-04-16 Alan Modra <amodra@gmail.com>
87 * configure.ac: Remove arm-epoc-pe support.
88 * dlltool.c: Likewise.
89 * configure: Regenerate.
91 2018-04-16 Alan Modra <amodra@gmail.com>
93 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
96 2018-04-16 Alan Modra <amodra@gmail.com>
98 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
100 * testsuite/binutils-all/copy-3.d: Likewise.
101 * testsuite/binutils-all/objcopy.exp: Likewise.
102 * testsuite/lib/binutils-common.exp: Likewise.
104 2018-04-16 Alan Modra <amodra@gmail.com>
106 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
108 2018-04-16 Alan Modra <amodra@gmail.com>
110 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
112 2018-04-16 Alan Modra <amodra@gmail.com>
114 * testsuite/binutils-all/objdump.exp: Remove we32k support.
116 2018-04-16 Alan Modra <amodra@gmail.com>
118 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
119 * testsuite/binutils-all/objdump.exp: Remove m88k support.
121 2018-04-16 Alan Modra <amodra@gmail.com>
123 * readelf.c: Remove i370 support.
124 * testsuite/binutils-all/objdump.exp: Likewise.
126 2018-04-16 Alan Modra <amodra@gmail.com>
128 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
129 * testsuite/lib/binutils-common.exp: Likewise.
131 2018-04-16 Alan Modra <amodra@gmail.com>
133 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
135 2018-04-16 Alan Modra <amodra@gmail.com>
137 * Makefile.am: Remove IEEE 695 support.
139 * doc/binutils.texi: Likewise.
140 * makefile.vms: Likewise.
141 * objcopy.c: Likewise.
142 * objdump.c: Likewise.
145 * Makefile.in: Regenerate.
146 * po/POTFILES.in: Regenerate.
148 2018-04-16 Alan Modra <amodra@gmail.com>
150 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
151 * testsuite/binutils-all/nm.exp: Likewise.
153 2018-04-16 Alan Modra <amodra@gmail.com>
155 * .gitignore: Remove netware support.
156 * Makefile.am: Likewise.
157 * configure.ac: Likewise.
158 * doc/Makefile.am: Likewise.
159 * doc/binutils.texi: Likewise.
160 * testsuite/binutils-all/nm.exp: Likewise.
163 * nlmheader.y: Delete.
164 * Makefile.in: Regenerate.
165 * configure: Regenerate.
166 * doc/Makefile.in: Regenerate.
167 * po/POTFILES.in: Regenerate.
169 2018-04-16 Alan Modra <amodra@gmail.com>
171 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
173 2018-04-14 Alan Modra <amodra@gmail.com>
175 * readelf.c (get_machine_name): Revert 2018-04-11 change.
177 2018-04-12 Nick Clifton <nickc@redhat.com>
180 * readelf.c (process_dynamic_section): Correct dynamic string
181 table size calculation.
183 2018-04-11 Alan Modra <amodra@gmail.com>
185 * ieee.c: Remove i960 support.
186 * od-macho.c: Remove i860 support.
187 * readelf.c: Remove i860 and i960 support.
188 * testsuite/binutils-all/objcopy.exp: Likewise.
189 * testsuite/binutils-all/objdump.exp: Likewise.
190 * testsuite/lib/binutils-common.exp: Likewise.
192 2018-04-11 Maciej W. Rozycki <macro@mips.com>
194 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
195 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
197 2018-04-10 Alan Modra <amodra@gmail.com>
199 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
200 reloc=11 for pru and reloc=50 for nds32.
201 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
203 2018-04-09 Maciej W. Rozycki <macro@mips.com>
205 * testsuite/binutils-all/strip-15.d: New test.
206 * testsuite/binutils-all/strip-15rel.s: New test source.
207 * testsuite/binutils-all/strip-15rela.s: New test source.
208 * testsuite/binutils-all/strip-15mips64.s: New test source.
209 * testsuite/binutils-all/objcopy.exp: Run the new test.
211 2018-04-09 Maciej W. Rozycki <macro@mips.com>
213 * testsuite/binutils-all/strip-14.d: New test.
214 * testsuite/binutils-all/strip-14rel.s: New test source.
215 * testsuite/binutils-all/strip-14rela.s: New test source.
216 * testsuite/binutils-all/strip-14mips64.s: New test source.
217 * testsuite/binutils-all/objcopy.exp: Run the new test.
219 2018-04-06 Tom Tromey <tom@tromey.com>
221 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
222 constants from DWARF 5.
224 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
227 * configure: Regenerated.
229 2018-04-05 Maciej W. Rozycki <macro@mips.com>
231 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
232 than `.dc.w' in second relocation.
234 2018-04-05 Maciej W. Rozycki <macro@mips.com>
236 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
237 relocation type 0x8f' error message.
239 2018-04-05 Maciej W. Rozycki <macro@mips.com>
241 * testsuite/binutils-all/strip-13.s: Rename to...
242 * testsuite/binutils-all/strip-13rela.s: ... this.
243 * testsuite/binutils-all/strip-13rel.s: New test source.
244 * testsuite/binutils-all/strip-13mips64.s: New test source.
245 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
246 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
247 `m68hc11-*' to `not-target' list.
248 * testsuite/binutils-all/objcopy.exp: Switch between sources for
251 2018-04-05 Maciej W. Rozycki <macro@mips.com>
253 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
254 241 (0xf1) for the relocation number and RELA addend.
255 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
258 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
260 * MAINTAINERS: Update my e-mail address.
262 2018-04-04 Nick Clifton <nickc@redhat.com>
264 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
266 2018-03-23 Nick Clifton <nickc@redhat.com>
268 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
270 (print_gnu_build_attribute_description): If no file start symbol
271 could be found, look for one two bytes into the file.
272 * testsuite/binutils-all/note-4-64.s: Set the address of the file
273 start symbol to two bytes into the file.
274 * testsuite/binutils-all/note-4-32.s: Likewise.
276 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
278 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
279 DF_1_WEAKFILTER and DF_1_NOCOMMON.
281 2018-03-20 Nick Clifton <nickc@redhat.com>
283 * po/es.po: Updated Spanish translation.
284 * po/ru.po: Updated Russian translation.
286 2018-03-13 Nick Clifton <nickc@redhat.com>
289 * stabs.c (pop_binincl): Fail if the file index is off the end of
292 2018-03-13 Nick Clifton <nickc@redhat.com>
295 * stabs.c (parse_number): Add p_end parameter and use it to check
296 the validity of the pp parameter. Add checks to prevent walking
297 off the end of the string buffer.
298 (parse_stab_string): Likewise.
299 (parse_stab_type): Likewise.
300 (parse_stab_type_number): Likewise.
301 (parse_stab_range_type): Likewise.
302 (parse_stab_sun_builtin_type): Likewise.
303 (parse_stab_sun_floating_type): Likewise.
304 (parse_stab_enum_type): Likewise.
305 (parse_stab_struct_type): Likewise.
306 (parse_stab_baseclasses): Likewise.
307 (parse_stab_struct_fields): Likewise.
308 (parse_stab_cpp_abbrev): Likewise.
309 (parse_stab_one_struct_field): Likewise.
310 (parse_stab_members): Likewise.
311 (parse_stab_tilde_field): Likewise.
312 (parse_stab_array_type): Likewise.
314 * parse_stab: Compute the end of the string and then pass it on to
315 individual parser functions.
317 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
320 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
323 2018-03-07 Alan Modra <amodra@gmail.com>
325 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
326 * configure: Regenerate.
328 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
331 * objdump.c (is_significant_symbol_name): Return TRUE for all
333 (find_symbol_for_address): Replace linear search with binary
334 search on dynamic relocations.
336 2018-03-01 Nick Clifton <nickc@redhat.com>
339 * dwarf.c (display_debug_ranges): Check that the offset loaded
340 from the range_entry structure is valid.
342 2018-03-01 Alan Modra <amodra@gmail.com>
344 * configure.ac (ALL_LINGUAS): Add sr. Sort.
345 * configure: Regenerate.
347 2018-02-27 Nick Clifton <nickc@redhat.com>
349 * po/pt.po: New Portuguese translation.
350 * configure.ac (ALL_LINGUAS): Add pt.
351 * configure: Regenerate.
353 2018-02-27 Nick Clifton <nickc@redhat.com>
356 * objcopy.c (copy_object): Check the error status after marking
357 symbols used in relocations.
358 * testsuite/binutils-all/strip-13.s: New test source file.
359 * testsuite/binutils-all/strip-13.s: New test driver file.
360 * testsuite/binutils-all/objcopy.exp: Run the new test.
362 2018-02-26 Alan Modra <amodra@gmail.com>
364 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
365 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
367 2018-02-23 Alan Modra <amodra@gmail.com>
369 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
370 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
372 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
374 * doc/binutils.texi (objcopy): Add missing closing square
375 parenthesis to listing of objcopy's command line options.
377 2018-02-19 Matthias Klose <doko@debian.org>
379 * strings.c (long_options): Include-all-whitespace does not take
382 2018-02-13 Alan Modra <amodra@gmail.com>
385 * testsuite/binutils-all/group-7.s,
386 * testsuite/binutils-all/group-7a.d,
387 * testsuite/binutils-all/group-7b.d,
388 * testsuite/binutils-all/group-7c.d: New tests.
389 * testsuite/binutils-all/objcopy.exp: Run them.
391 2018-02-08 Nick Clifton <nickc@redhat.com>
394 * dwarf.c (load_separate_debug_file): Return early if the user is
395 not interested in debug links.
397 2018-02-06 Nick Clifton <nickc@redhat.com>
400 * readelf.c (find_section): Replace assertion with test and return
402 (find_section_by_address): Add test of section header table
404 (find_section_by_type): Likewise.
405 (find_section_in_set): Likewise.
407 2018-02-05 Maciej W. Rozycki <macro@mips.com>
409 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
410 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
411 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
412 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
414 2018-02-05 Maciej W. Rozycki <macro@mips.com>
416 * testsuite/config/default.exp (binutils_run): Document
417 `binutils_run_status'.
418 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
420 (run_dump_test): Add `error', `error_output', `warning' and
421 `warning_output' options. Update documentation accordingly.
423 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
425 * dwarf.c (dwarf_regnames_riscv): New register name table.
426 (init_dwarf_regnames_riscv): New function.
427 (init_dwarf_regnames): Add call to initialise RiscV register
429 * dwarf.h (init_dwarf_regnames_riscv): Declare.
430 * objdump.c (dump_dwarf): Add call to initialise RiscV register
433 2018-02-01 Alan Modra <amodra@gmail.com>
436 * objdump.c (load_specific_debug_section): Check for overflow
437 when adding one to section size for a string section terminator.
439 2018-01-30 Nick Clifton <nickc@redhat.com>
442 * doc/binutils.texi (nm): Update description to point out that
443 zero-initialized values can also be shown as type B, b, S or s
444 since they can be stored in the BSS section.
446 2018-01-30 Alan Modra <amodra@gmail.com>
448 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
449 "artificially large" end address.
451 2018-01-28 Nick Clifton <nickc@redhat.com>
453 * README-how-to-make-a-release: Add note about checking gpg key
454 and the results of gnupload.
456 2018-01-27 Nick Clifton <nickc@redhat.com>
458 * README-how-to-make-a-release: Add details on how to actually
461 2018-01-26 Nick Clifton <nickc@redhat.com>
463 * README-how-to-make-a-release: Add more details on updating
466 2018-01-22 Maciej W. Rozycki <macro@mips.com>
468 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
471 2018-01-22 Maciej W. Rozycki <macro@mips.com>
473 * MAINTAINERS: Update my company e-mail address.
475 2018-01-22 Nick Clifton <nickc@redhat.com>
477 * po/sv.po: Updated Swedish translation.
479 2018-01-18 Nick Clifton <nickc@redhat.com>
481 * po/bg.po: Updated Bulgarian translation.
483 2018-01-16 Joel Brobecker <brobecker@adacore.com>
485 * README-how-to-make-a-release: Add reminder to update the
486 branch name in gdbadmin's crontab on sourceware.
488 2018-01-16 Joel Brobecker <brobecker@adacore.com>
490 * README-how-to-make-a-release: Remove trailing spaces.
492 2018-01-16 Nick Clifton <nickc@redhat.com>
494 * po/fr.po: Updated French translation.
496 2018-01-15 Nick Clifton <nickc@redhat.com>
498 * po/uk.po: Updated Ukranian translation.
500 2018-01-13 Nick Clifton <nickc@redhat.com>
502 * README-how-to-make-a-release: Update notes.
503 * po/binutils.pot: Regenerated.
505 2018-01-13 Nick Clifton <nickc@redhat.com>
507 * configure: Regenerate.
509 2018-01-13 Nick Clifton <nickc@redhat.com>
512 * NEWS: Add marker for 2.30.
514 2018-01-12 Nick Clifton <nickc@redhat.com>
516 * README-how-to-make-a-release: Add notes on how to make the
517 branch and prelease snapshot.
518 * BRANCHES: Add binutils-2_29-branch.
520 2018-01-10 Nick Clifton <nickc@redhat.com>
522 * MAINTAINERS: Note that it is now the configure.ac file and not
523 the configure.in file that needs to be kept in sync with gcc.
524 Add a note about sending patches for libiberty to gcc.
526 2018-01-03 Nick Clifton <nickc@redhat.com>
528 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
531 2018-01-03 Nick Clifton <nickc@redhat.com>
533 * objcopy.c (objcopy_internal_note): New structure.
534 (gap_exists): New function.
535 (is_open_note): New function.
536 (is_func_note): New function.
537 (is_64bit): New function.
538 (merge_gnu_build_notes): Handle v3 notes. Do not merge
539 if there are relocations against the notes.
540 * readelf.c (get_note_type): Use short names for build attribute
542 (print_symbol_for_build_attribute): Rename to
543 get_symbol_for_build_attribute. Returns the found symbol rather
545 (print_gnu_build_attribute_description): Maintain address ranges
546 for function notes as well as global notes. Handle v3 notes.
547 (print_gnu_build_attribute_name): Use more space for printing the
549 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
550 Eliminate symbol references in order to remove the need for
552 * testsuite/binutils-all/note-2-64.s: Likewise.
553 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
555 * testsuite/binutils-all/note-3-64.s: Likewise.
556 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
558 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
559 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
560 * testsuite/binutils-all/note-2-32.d: Likewise.
561 * testsuite/binutils-all/note-2-64.d: Likewise.
562 * testsuite/binutils-all/note-3-32.d: Likewise.
563 * testsuite/binutils-all/note-3-64.d: Likewise.
564 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
565 * testsuite/binutils-all/note-4-32.s: New test.
566 * testsuite/binutils-all/note-4-64.d: New test result file.
567 * testsuite/binutils-all/note-4-32.d: New test result file.
569 2018-01-03 Alan Modra <amodra@gmail.com>
571 Update year range in copyright notice of all files.
573 For older changes see ChangeLog-2017
575 Copyright (C) 2018 Free Software Foundation, Inc.
577 Copying and distribution of this file, with or without modification,
578 are permitted in any medium without royalty provided the copyright
579 notice and this notice are preserved.
585 version-control: never