1 2018-05-08 Alan Modra <amodra@gmail.com>
4 * objcopy.c (is_strip_section): Strip groups without a valid
7 2018-05-07 Alan Modra <amodra@gmail.com>
10 * objcopy.c (group_signature): Don't accept groups that use a
11 symbol table other than the one we've read.
13 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
15 * readelf.c: Very basic support for EM_NFP and its section types.
16 * testsuite/binutils-all/nfp: New directory.
17 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
19 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
20 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
21 * testsuite/binutils-all/nfp/test1.d: New file.
22 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
23 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
24 * NEWS: Mention the new support.
26 2018-04-27 Maciej W. Rozycki <macro@mips.com>
28 * testsuite/lib/binutils-common.exp (match_target): New procedure.
29 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
30 of `istarget' for matching with `target', `not-target', `skip'
31 and `not-skip' options.
33 2018-04-26 Nick Clifton <nickc@redhat.com>
35 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
36 32-bit absolute reloc for the HPPA target.
37 * testsuite/binutils-all/note-5.d: New test.
38 * testsuite/binutils-all/note-5.s: Source file for new test.
39 * testsuite/binutils-all/objcopy.exp: Run new test.
41 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
43 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
44 * testsuite/binutils-all/elfedit-3.d: Likewise.
45 * testsuite/binutils-all/objcopy.exp: Likewise.
46 * testsuite/binutils-all/strip-3.d: Likewise.
47 * testsuite/lib/binutils-common.exp: Likewise.
49 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
50 Mickaël Guêné <mickael.guene@st.com>
52 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
53 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
55 2018-04-25 Alan Modra <amodra@gmail.com>
57 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
59 * testsuite/binutils-all/objcopy.exp: Likewise.
60 * testsuite/lib/binutils-common.exp: Likewise.
62 2018-04-18 Nick Clifton <nickc@redhat.com>
65 * dwarf.c (read_and_display_attr_value): Replace assertions with
66 test and warning message.
68 2018-04-18 Alan Modra <amodra@gmail.com>
70 * testsuite/lib/binutils-common.exp: Remove support for assorted
73 2018-04-17 Nick Clifton <nickc@redhat.com>
76 * readelf.c (print_symbol): If the width is zero, return straight
80 * dwarf.c (process_cu_tu_index): Test for a potential buffer
81 overrun before copying signature pointer.
83 2018-04-17 Alan Modra <amodra@gmail.com>
85 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
87 2018-04-16 Alan Modra <amodra@gmail.com>
89 * readelf.c (get_machine_name): Correct typo.
91 2018-04-16 Alan Modra <amodra@gmail.com>
93 * configure.ac: Remove arm-epoc-pe support.
94 * dlltool.c: Likewise.
95 * configure: Regenerate.
97 2018-04-16 Alan Modra <amodra@gmail.com>
99 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
102 2018-04-16 Alan Modra <amodra@gmail.com>
104 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
106 * testsuite/binutils-all/copy-3.d: Likewise.
107 * testsuite/binutils-all/objcopy.exp: Likewise.
108 * testsuite/lib/binutils-common.exp: Likewise.
110 2018-04-16 Alan Modra <amodra@gmail.com>
112 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
114 2018-04-16 Alan Modra <amodra@gmail.com>
116 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
118 2018-04-16 Alan Modra <amodra@gmail.com>
120 * testsuite/binutils-all/objdump.exp: Remove we32k support.
122 2018-04-16 Alan Modra <amodra@gmail.com>
124 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
125 * testsuite/binutils-all/objdump.exp: Remove m88k support.
127 2018-04-16 Alan Modra <amodra@gmail.com>
129 * readelf.c: Remove i370 support.
130 * testsuite/binutils-all/objdump.exp: Likewise.
132 2018-04-16 Alan Modra <amodra@gmail.com>
134 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
135 * testsuite/lib/binutils-common.exp: Likewise.
137 2018-04-16 Alan Modra <amodra@gmail.com>
139 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
141 2018-04-16 Alan Modra <amodra@gmail.com>
143 * Makefile.am: Remove IEEE 695 support.
145 * doc/binutils.texi: Likewise.
146 * makefile.vms: Likewise.
147 * objcopy.c: Likewise.
148 * objdump.c: Likewise.
151 * Makefile.in: Regenerate.
152 * po/POTFILES.in: Regenerate.
154 2018-04-16 Alan Modra <amodra@gmail.com>
156 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
157 * testsuite/binutils-all/nm.exp: Likewise.
159 2018-04-16 Alan Modra <amodra@gmail.com>
161 * .gitignore: Remove netware support.
162 * Makefile.am: Likewise.
163 * configure.ac: Likewise.
164 * doc/Makefile.am: Likewise.
165 * doc/binutils.texi: Likewise.
166 * testsuite/binutils-all/nm.exp: Likewise.
169 * nlmheader.y: Delete.
170 * Makefile.in: Regenerate.
171 * configure: Regenerate.
172 * doc/Makefile.in: Regenerate.
173 * po/POTFILES.in: Regenerate.
175 2018-04-16 Alan Modra <amodra@gmail.com>
177 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
179 2018-04-14 Alan Modra <amodra@gmail.com>
181 * readelf.c (get_machine_name): Revert 2018-04-11 change.
183 2018-04-12 Nick Clifton <nickc@redhat.com>
186 * readelf.c (process_dynamic_section): Correct dynamic string
187 table size calculation.
189 2018-04-11 Alan Modra <amodra@gmail.com>
191 * ieee.c: Remove i960 support.
192 * od-macho.c: Remove i860 support.
193 * readelf.c: Remove i860 and i960 support.
194 * testsuite/binutils-all/objcopy.exp: Likewise.
195 * testsuite/binutils-all/objdump.exp: Likewise.
196 * testsuite/lib/binutils-common.exp: Likewise.
198 2018-04-11 Maciej W. Rozycki <macro@mips.com>
200 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
201 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
203 2018-04-10 Alan Modra <amodra@gmail.com>
205 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
206 reloc=11 for pru and reloc=50 for nds32.
207 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
209 2018-04-09 Maciej W. Rozycki <macro@mips.com>
211 * testsuite/binutils-all/strip-15.d: New test.
212 * testsuite/binutils-all/strip-15rel.s: New test source.
213 * testsuite/binutils-all/strip-15rela.s: New test source.
214 * testsuite/binutils-all/strip-15mips64.s: New test source.
215 * testsuite/binutils-all/objcopy.exp: Run the new test.
217 2018-04-09 Maciej W. Rozycki <macro@mips.com>
219 * testsuite/binutils-all/strip-14.d: New test.
220 * testsuite/binutils-all/strip-14rel.s: New test source.
221 * testsuite/binutils-all/strip-14rela.s: New test source.
222 * testsuite/binutils-all/strip-14mips64.s: New test source.
223 * testsuite/binutils-all/objcopy.exp: Run the new test.
225 2018-04-06 Tom Tromey <tom@tromey.com>
227 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
228 constants from DWARF 5.
230 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
233 * configure: Regenerated.
235 2018-04-05 Maciej W. Rozycki <macro@mips.com>
237 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
238 than `.dc.w' in second relocation.
240 2018-04-05 Maciej W. Rozycki <macro@mips.com>
242 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
243 relocation type 0x8f' error message.
245 2018-04-05 Maciej W. Rozycki <macro@mips.com>
247 * testsuite/binutils-all/strip-13.s: Rename to...
248 * testsuite/binutils-all/strip-13rela.s: ... this.
249 * testsuite/binutils-all/strip-13rel.s: New test source.
250 * testsuite/binutils-all/strip-13mips64.s: New test source.
251 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
252 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
253 `m68hc11-*' to `not-target' list.
254 * testsuite/binutils-all/objcopy.exp: Switch between sources for
257 2018-04-05 Maciej W. Rozycki <macro@mips.com>
259 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
260 241 (0xf1) for the relocation number and RELA addend.
261 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
264 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
266 * MAINTAINERS: Update my e-mail address.
268 2018-04-04 Nick Clifton <nickc@redhat.com>
270 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
272 2018-03-23 Nick Clifton <nickc@redhat.com>
274 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
276 (print_gnu_build_attribute_description): If no file start symbol
277 could be found, look for one two bytes into the file.
278 * testsuite/binutils-all/note-4-64.s: Set the address of the file
279 start symbol to two bytes into the file.
280 * testsuite/binutils-all/note-4-32.s: Likewise.
282 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
284 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
285 DF_1_WEAKFILTER and DF_1_NOCOMMON.
287 2018-03-20 Nick Clifton <nickc@redhat.com>
289 * po/es.po: Updated Spanish translation.
290 * po/ru.po: Updated Russian translation.
292 2018-03-13 Nick Clifton <nickc@redhat.com>
295 * stabs.c (pop_binincl): Fail if the file index is off the end of
298 2018-03-13 Nick Clifton <nickc@redhat.com>
301 * stabs.c (parse_number): Add p_end parameter and use it to check
302 the validity of the pp parameter. Add checks to prevent walking
303 off the end of the string buffer.
304 (parse_stab_string): Likewise.
305 (parse_stab_type): Likewise.
306 (parse_stab_type_number): Likewise.
307 (parse_stab_range_type): Likewise.
308 (parse_stab_sun_builtin_type): Likewise.
309 (parse_stab_sun_floating_type): Likewise.
310 (parse_stab_enum_type): Likewise.
311 (parse_stab_struct_type): Likewise.
312 (parse_stab_baseclasses): Likewise.
313 (parse_stab_struct_fields): Likewise.
314 (parse_stab_cpp_abbrev): Likewise.
315 (parse_stab_one_struct_field): Likewise.
316 (parse_stab_members): Likewise.
317 (parse_stab_tilde_field): Likewise.
318 (parse_stab_array_type): Likewise.
320 * parse_stab: Compute the end of the string and then pass it on to
321 individual parser functions.
323 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
326 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
329 2018-03-07 Alan Modra <amodra@gmail.com>
331 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
332 * configure: Regenerate.
334 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
337 * objdump.c (is_significant_symbol_name): Return TRUE for all
339 (find_symbol_for_address): Replace linear search with binary
340 search on dynamic relocations.
342 2018-03-01 Nick Clifton <nickc@redhat.com>
345 * dwarf.c (display_debug_ranges): Check that the offset loaded
346 from the range_entry structure is valid.
348 2018-03-01 Alan Modra <amodra@gmail.com>
350 * configure.ac (ALL_LINGUAS): Add sr. Sort.
351 * configure: Regenerate.
353 2018-02-27 Nick Clifton <nickc@redhat.com>
355 * po/pt.po: New Portuguese translation.
356 * configure.ac (ALL_LINGUAS): Add pt.
357 * configure: Regenerate.
359 2018-02-27 Nick Clifton <nickc@redhat.com>
362 * objcopy.c (copy_object): Check the error status after marking
363 symbols used in relocations.
364 * testsuite/binutils-all/strip-13.s: New test source file.
365 * testsuite/binutils-all/strip-13.s: New test driver file.
366 * testsuite/binutils-all/objcopy.exp: Run the new test.
368 2018-02-26 Alan Modra <amodra@gmail.com>
370 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
371 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
373 2018-02-23 Alan Modra <amodra@gmail.com>
375 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
376 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
378 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
380 * doc/binutils.texi (objcopy): Add missing closing square
381 parenthesis to listing of objcopy's command line options.
383 2018-02-19 Matthias Klose <doko@debian.org>
385 * strings.c (long_options): Include-all-whitespace does not take
388 2018-02-13 Alan Modra <amodra@gmail.com>
391 * testsuite/binutils-all/group-7.s,
392 * testsuite/binutils-all/group-7a.d,
393 * testsuite/binutils-all/group-7b.d,
394 * testsuite/binutils-all/group-7c.d: New tests.
395 * testsuite/binutils-all/objcopy.exp: Run them.
397 2018-02-08 Nick Clifton <nickc@redhat.com>
400 * dwarf.c (load_separate_debug_file): Return early if the user is
401 not interested in debug links.
403 2018-02-06 Nick Clifton <nickc@redhat.com>
406 * readelf.c (find_section): Replace assertion with test and return
408 (find_section_by_address): Add test of section header table
410 (find_section_by_type): Likewise.
411 (find_section_in_set): Likewise.
413 2018-02-05 Maciej W. Rozycki <macro@mips.com>
415 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
416 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
417 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
418 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
420 2018-02-05 Maciej W. Rozycki <macro@mips.com>
422 * testsuite/config/default.exp (binutils_run): Document
423 `binutils_run_status'.
424 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
426 (run_dump_test): Add `error', `error_output', `warning' and
427 `warning_output' options. Update documentation accordingly.
429 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
431 * dwarf.c (dwarf_regnames_riscv): New register name table.
432 (init_dwarf_regnames_riscv): New function.
433 (init_dwarf_regnames): Add call to initialise RiscV register
435 * dwarf.h (init_dwarf_regnames_riscv): Declare.
436 * objdump.c (dump_dwarf): Add call to initialise RiscV register
439 2018-02-01 Alan Modra <amodra@gmail.com>
442 * objdump.c (load_specific_debug_section): Check for overflow
443 when adding one to section size for a string section terminator.
445 2018-01-30 Nick Clifton <nickc@redhat.com>
448 * doc/binutils.texi (nm): Update description to point out that
449 zero-initialized values can also be shown as type B, b, S or s
450 since they can be stored in the BSS section.
452 2018-01-30 Alan Modra <amodra@gmail.com>
454 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
455 "artificially large" end address.
457 2018-01-28 Nick Clifton <nickc@redhat.com>
459 * README-how-to-make-a-release: Add note about checking gpg key
460 and the results of gnupload.
462 2018-01-27 Nick Clifton <nickc@redhat.com>
464 * README-how-to-make-a-release: Add details on how to actually
467 2018-01-26 Nick Clifton <nickc@redhat.com>
469 * README-how-to-make-a-release: Add more details on updating
472 2018-01-22 Maciej W. Rozycki <macro@mips.com>
474 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
477 2018-01-22 Maciej W. Rozycki <macro@mips.com>
479 * MAINTAINERS: Update my company e-mail address.
481 2018-01-22 Nick Clifton <nickc@redhat.com>
483 * po/sv.po: Updated Swedish translation.
485 2018-01-18 Nick Clifton <nickc@redhat.com>
487 * po/bg.po: Updated Bulgarian translation.
489 2018-01-16 Joel Brobecker <brobecker@adacore.com>
491 * README-how-to-make-a-release: Add reminder to update the
492 branch name in gdbadmin's crontab on sourceware.
494 2018-01-16 Joel Brobecker <brobecker@adacore.com>
496 * README-how-to-make-a-release: Remove trailing spaces.
498 2018-01-16 Nick Clifton <nickc@redhat.com>
500 * po/fr.po: Updated French translation.
502 2018-01-15 Nick Clifton <nickc@redhat.com>
504 * po/uk.po: Updated Ukranian translation.
506 2018-01-13 Nick Clifton <nickc@redhat.com>
508 * README-how-to-make-a-release: Update notes.
509 * po/binutils.pot: Regenerated.
511 2018-01-13 Nick Clifton <nickc@redhat.com>
513 * configure: Regenerate.
515 2018-01-13 Nick Clifton <nickc@redhat.com>
518 * NEWS: Add marker for 2.30.
520 2018-01-12 Nick Clifton <nickc@redhat.com>
522 * README-how-to-make-a-release: Add notes on how to make the
523 branch and prelease snapshot.
524 * BRANCHES: Add binutils-2_29-branch.
526 2018-01-10 Nick Clifton <nickc@redhat.com>
528 * MAINTAINERS: Note that it is now the configure.ac file and not
529 the configure.in file that needs to be kept in sync with gcc.
530 Add a note about sending patches for libiberty to gcc.
532 2018-01-03 Nick Clifton <nickc@redhat.com>
534 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
537 2018-01-03 Nick Clifton <nickc@redhat.com>
539 * objcopy.c (objcopy_internal_note): New structure.
540 (gap_exists): New function.
541 (is_open_note): New function.
542 (is_func_note): New function.
543 (is_64bit): New function.
544 (merge_gnu_build_notes): Handle v3 notes. Do not merge
545 if there are relocations against the notes.
546 * readelf.c (get_note_type): Use short names for build attribute
548 (print_symbol_for_build_attribute): Rename to
549 get_symbol_for_build_attribute. Returns the found symbol rather
551 (print_gnu_build_attribute_description): Maintain address ranges
552 for function notes as well as global notes. Handle v3 notes.
553 (print_gnu_build_attribute_name): Use more space for printing the
555 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
556 Eliminate symbol references in order to remove the need for
558 * testsuite/binutils-all/note-2-64.s: Likewise.
559 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
561 * testsuite/binutils-all/note-3-64.s: Likewise.
562 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
564 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
565 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
566 * testsuite/binutils-all/note-2-32.d: Likewise.
567 * testsuite/binutils-all/note-2-64.d: Likewise.
568 * testsuite/binutils-all/note-3-32.d: Likewise.
569 * testsuite/binutils-all/note-3-64.d: Likewise.
570 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
571 * testsuite/binutils-all/note-4-32.s: New test.
572 * testsuite/binutils-all/note-4-64.d: New test result file.
573 * testsuite/binutils-all/note-4-32.d: New test result file.
575 2018-01-03 Alan Modra <amodra@gmail.com>
577 Update year range in copyright notice of all files.
579 For older changes see ChangeLog-2017
581 Copyright (C) 2018 Free Software Foundation, Inc.
583 Copying and distribution of this file, with or without modification,
584 are permitted in any medium without royalty provided the copyright
585 notice and this notice are preserved.
591 version-control: never