1 2018-12-11 Nick Clifton <nickc@redhat.com>
3 * NEWS: Note that recursion limit has increased to 2048.
4 * doc/binutils.texi: Likewise.
6 2018-12-08 Alan Modra <amodra@gmail.com>
8 * strings.c (unget_part_char): New function.
9 (print_strings): Use unget_part_char. Formatting.
10 * testsuite/binutils-all/strings.exp (test_multibyte): Don't
11 use square brackets in fail message. Expect "String1\nString2".
13 2018-12-07 Alan Modra <amodra@gmail.com>
15 * nm.c (display_rel_file): Use xrealloc to increase minisyms
16 for synthetic symbols.
18 2018-12-07 Nick Clifton <nickc@redhat.com>
20 * addr2line.c (demangle_flags): New static variable.
21 (long_options): Add --recurse-limit and --no-recurse-limit.
22 (translate_address): Pass demangle_flags to bfd_demangle.
23 (main): Handle --recurse-limit and --no-recurse-limit options.
24 * cxxfilt.c: (long_options): Add --recurse-limit and
26 (main): Handle new options.
27 * nm.c (demangle_flags): New static variable.
28 (long_options): Add --recurse-limit and --no-recurse-limit.
29 (main): Handle new options.
30 * objdump.c (demangle_flags): New static variable.
31 (usage): Add --recurse-limit and --no-recurse-limit.
32 (long_options): Likewise.
33 (objdump_print_symname): Pass demangle_flags to bfd_demangle.
34 (disassemble_section): Likewise.
35 (dump_dymbols): Likewise.
36 (main): Handle new options.
37 * prdbg.c (demangle_flags): New static variable.
38 (tg_variable): Pass demangle_flags to demangler.
39 (tg_start_function): Likewise.
40 * stabs.c (demangle_flags): New static variable.
41 (stab_demangle_template): Pass demangle_flags to demangler.
42 (stab_demangle_v3_argtypes): Likewise.
43 (stab_demangle_v3_arg): Likewise.
44 * doc/binutuls.texi: Document new command line options.
45 * NEWS: Mention the new feature.
46 * testsuite/config/default.exp (CXXFILT): Define if not already
48 (CXXFILTFLAGS): Likewise.
49 * testsuite/binutils-all/cxxfilt.exp: New file. Runs a few
50 simple tests of the cxxfilt program.
52 2018-12-03 Nick Clifton <nickc@redhat.com>
55 * testsuite/binutils-all/i386/compressed-1a.d: Update expected output.
56 * testsuite/binutils-all/x86-64/compressed-1a.d: Likewise.
58 2018-12-01 Alan Modra <amodra@gmail.com>
61 * readelf.c (slurp_ia64_unwind_table): Bounds check symbol index
63 (slurp_hppa_unwind_table): Likewise.
65 2018-12-01 Alan Modra <amodra@gmail.com>
68 * readelf.c (slurp_ia64_unwind_table): Don't call elf_ia64_reloc_type
70 (slurp_hppa_unwind_table): Use same range checks and error messages
71 as slurp_ia64_unwind_table.
73 2018-11-29 Nick Clifton <nickc@redhat.com>
76 * objdump.c (dump_relocs_in_section): When checking for an
77 unreasonable amount of relocs in a bfd, allow for the fact that
78 the internal representation of a reloc may be bigger than the
79 external representation.
81 2018-11-27 Mark Wielaard <mark@klomp.org>
84 * readelf.c (dump_sections_as_strings): Remove bogus addralign check.
85 (dump_sections_as_bytes): Likewise.
86 (load_specific_debug_sections): Likewise.
87 * testsuite/binutils-all/dw2-3.rS: Adjust alignment.
88 * testsuite/binutils-all/dw2-3.rt: Likewise.
90 2018-11-20 H.J. Lu <hongjiu.lu@intel.com>
93 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
94 Prune gaps in build notes.
96 2018-11-13 Francois H. Theron <francois.theron@netronome.com>
98 * testsuite/binutils-all/nfp/test1.d: Test for swapped operand crc[].
101 2018-11-09 Hafiz Abid Qadeer <abidh@codesourcery.com>
103 * configure: Regenerate.
105 2018-11-09 Mathias <m4tze@exitno.de>
107 * strings.c (print_strings): Check for multibyte encodings.
108 * binutils-all/strings-1.bin: New file. Test binary for string decoding.
109 * testsuite/binutils-all/strings.exp: New file. Test the strings program.
110 * testsuite/config/default.exp (STRINGS): Define if not provided
112 (STRINGSFLAGS): Likewise.
114 2018-11-07 Masatake Yamato <yamato@redhat.com>
116 * objdump.c (long_options): Have the --disassemble option take an
118 (usage): Add description for the `symbol' argument to the
119 --disassemble option.
120 (disasm_sym): New file private variable.
121 (struct objdump_disasm_info): New field `symbol'.
122 (disassemble_section): Introduce `do_print' local variable
123 to control whether objdump displays the result of disassembling
125 (main): Set `symbol' file private variable if the option argument
126 for the --disassemble option is given.
127 * doc/binutils.texi (objdump): Add description for the option
129 * NEWS: Mention the new feature.
130 * testsuite/binutils-all/objdump.exp: Add tests of the -d and
131 --disassemble=<symbol> options.
132 * testsuite/binutils-all/bintest.s: Add more symbols and code.
133 * testsuite/binutils-all/readelf.s: Update expected output.
134 * testsuite/binutils-all/readelf.ss-64: Likewise.
135 * testsuite/binutils-all/readelf.ss-mips: Likewise.
136 * testsuite/binutils-all/readelf.ss-tmips: Likewise.
138 2018-11-07 Nick Clifton <nickc@redhat.com>
140 * po/pt.po: Updated Portuguese translation.
142 2018-11-06 Roman Bolshakov <r.bolshakov@yadro.com>
143 Saagar Jha <saagar@saagarjha.com>
146 * od-macho.c (printf_version): New.
147 (dump_load_command): Use it to print version. Print sdk version. Print
148 version info for watchOS and tvOS. Print LC_NOTE, LC_BUILD_VERSION.
149 (dump_buld_version): New.
150 (bfd_mach_o_platform_name): New
151 (bfd_mach_o_tool_name): New
153 2018-11-07 Yoshinori Sato <ysato@users.sourceforge.jp>
155 * testsuite/lib/binutils-common.exp: Special section name
158 2018-11-06 H.J. Lu <hongjiu.lu@intel.com>
160 * doc/binutils.texi: Document --enable-x86-feature and
161 --disable-x86-feature options for elfedit.
162 * elfedit.c: Include "config.h" and <sys/mman.h>.
163 (enable_x86_features): New.
164 (disable_x86_features): Likewise.
165 (update_gnu_property): Likewise.
166 (elf_x86_feature): Likewise.
167 (process_file): Call update_gnu_property on ET_EXEC or ET_DYN
169 (command_line_switch): Add OPTION_ENABLE_X86_FEATURE and
170 OPTION_DISABLE_X86_FEATURE.
171 (options): Add--enable-x86-feature and --disable-x86-feature.
173 (main): Handle OPTION_ENABLE_X86_FEATURE and
174 OPTION_DISABLE_X86_FEATURE.
176 2018-11-03 H.J. Lu <hongjiu.lu@intel.com>
178 * elfedit.c (update_elf_header): Move EI_MAG? check to ...
179 (get_file_header): Here.
181 2018-11-02 H.J. Lu <hongjiu.lu@intel.com>
183 * configure.ac (AC_FUNC_MMAP): New.
184 * config.in: Regenerated.
185 * configure: Likewise.
187 2018-11-02 Alan Modra <amodra@gmail.com>
189 * readelf.c (process_section_headers): Don't warn on a zero
190 sh_info or sh_link for any reloc section in an executable or
191 shared library. Do warn for .rel.dyn/.rela.dyn in ET_REL.
193 2018-11-01 Thomas Preud'homme <thomas.preudhomme@linaro.org>
195 * testsuite/config/default.exp: Define LD, LDFLAGS and
197 * testsuite/lib/binutils-common.exp (check_shared_lib_support): Moved
199 (run_dump_test): Set ld to $LD.
201 2018-10-18 Nick Clifton <nickc@redhat.com>
203 * doc/binutils.texi (readelf): Document alternatives to the
204 --unwind option if it is not supported for the target
207 2018-10-16 Alan Modra <amodra@gmail.com>
210 * readelf.c (display_raw_attribute): Correct assertion.
212 2018-10-15 Alan Modra <amodra@gmail.com>
215 * addr2line.c (main): Exit with fatal error if bfd_init
216 returns an unexpected value.
217 * ar.c (main): Likewise.
218 * dlltool.c (identify_dll_for_implib): Likewise.
219 * nm.c (main): Likewise.
220 * objcopy.c (main): Likewise.
221 * objdump.c (main): Likewise.
222 * size.c (main): Likewise.
223 * strings.c (main): Likewise.
224 * windmc.c (main): Likewise.
225 * windres.c (main): Likewise.
227 2018-10-11 Jordan Rupprecht <rupprecht@google.com>
228 Nick Clifton <nickc@redhat.com>
230 * objcopy.c (copy_main): Issue a fata error if the
231 --keep-global-symbol(s) and the --globalize-symbol(s) options are
233 * doc/binutils.texi: Document that the two options are
235 * testsuite/binutils-all/copy-5.d: New test.
236 * testsuite/binutils-all/objcopy.exp: Run the new test.
238 2018-10-10 Helge Deller <deller@gmx.de>
239 Alan Modra <amodra@gmail.com>
241 * readelf.c (hppa_process_unwind): Don't use eh_addr_size to
242 calculate number of entries.
243 (slurp_hppa_unwind_table): Don't use eh_addr_size here either.
245 2018-10-10 Alan Modra <amodra@gmail.com>
247 * objdump.c (dump_dwarf): Set s12z eh_addr_size to 4.
249 2018-10-08 Andreas Schwab <schwab@suse.de>
251 * readelf.c (is_32bit_pcrel_reloc): Handle R_RISCV_32_PCREL.
253 2018-10-03 Nick Clifton <nickc@redhat.com>
255 * po/pt.po: Updated Portuguese translation.
256 * po/fr.po: Updated French translation.
258 2018-09-22 Alan Modra <amodra@gmail.com>
260 * readelf.c (apply_relocations): Don't return FALSE for warnings.
262 2018-09-20 Nelson Chu <nelson.chu1990@gmail.com>
264 * testsuite/binutils-all/objcopy.exp: Set the unsupported reloc number
265 from 215 to 255 for NDS32.
267 2018-09-17 H.J. Lu <hongjiu.lu@intel.com>
269 * objcopy.c (strip_specific_buffer): New.
270 (strip_unneeded_buffer): Likewise.
271 (keep_specific_buffer): Likewise.
272 (localize_specific_buffer): Likewise.
273 (globalize_specific_buffer): Likewise.
274 (keepglobal_specific_buffer): Likewise.
275 (weaken_specific_buffer): Likewise.
276 (add_specific_symbols): Add an argument to return pointer to
278 (copy_main): Update add_specific_symbols to update pointers to
279 allocated buffer. Free pointers to allocated buffer before
282 2018-09-17 Alan Modra <amodra@gmail.com>
284 * objcopy.c (handle_remove_section_option): Don't require a dot
285 after .rela and .rel to handle a possible relocation section.
286 * testsuite/binutils-all/remove-relocs-07.s,
287 * testsuite/binutils-all/remove-relocs-07.d,
288 * testsuite/binutils-all/remove-relocs-08.d: New tests.
289 * testsuite/binutils-all/remove-relocs-01.d,
290 * testsuite/binutils-all/remove-relocs-04.d,
291 * testsuite/binutils-all/remove-relocs-05.d,
292 * testsuite/binutils-all/remove-relocs-06.d: Exclude mips64-openbsd.
294 2018-09-17 Alan Modra <amodra@gmail.com>
296 * testsuite/lib/binutils-common.exp (is_som_format): New proc.
297 (run_dump_test): Correct target test for alternate .comm syntax.
298 (get_standard_section_names): Handle som format.
299 * testsuite/lib/utils-lib.exp (default_binutils_assemble_flags):
300 Correct target test for alternate .comm syntax.
302 2018-09-17 Alan Modra <amodra@gmail.com>
304 * testsuite/binutils-all/strip-13mips64.s: Add section flags
306 * testsuite/binutils-all/strip-13rel.s: Likewise.
307 * testsuite/binutils-all/strip-13rela.s: Likewise.
308 * testsuite/binutils-all/strip-14mips64.s: Likewise.
309 * testsuite/binutils-all/strip-14rel.s: Likewise.
310 * testsuite/binutils-all/strip-14rela.s: Likewise.
311 * testsuite/binutils-all/strip-15mips64.s: Likewise.
312 * testsuite/binutils-all/strip-15rel.s: Likewise.
313 * testsuite/binutils-all/strip-15rela.s: Likewise.
315 2018-09-17 Nick Clifton <nickc@redhat.com>
317 * testsuite/binutils-all/compress.exp: Rename second "objcopy
318 zlib-gnu compress debug sections 3" test to "objcopy zlib-gabi
319 compress debug sections 3" and use gabi object files instead
321 * testsuite/binutils-all/objcopy.exp: Add suffix to the names
322 of the "ELF group" tests.
323 * testsuite/binutils-all/readelf.exp (proc readelf_find_size):
324 Add an iteration parameter and include it in the name of the
325 test. Update callers to include an iteration count.
327 2018-09-15 Alan Modra <amodra@gmail.com>
329 * testsuite/binutils-all/add-symbol.d: Add "section_subst: no".
330 * testsuite/binutils-all/elfedit.exp: Don't set tempfile or copyfile.
331 * testsuite/binutils-all/symbols-1.d,
332 * testsuite/binutils-all/symbols-2.d,
333 * testsuite/binutils-all/symbols-3.d,
334 * testsuite/binutils-all/symbols-4.d: Quote '*' and '!'.
335 * testsuite/binutils-all/add-empty-section.d,
336 * testsuite/binutils-all/add-section.d,
337 * testsuite/binutils-all/elfedit.exp,
338 * testsuite/binutils-all/note-1.d,
339 * testsuite/binutils-all/pr23633.d: Add $subdir after $srcdir.
340 * testsuite/config/default.exp (AS, ASFLAGS): Define.
341 * testsuite/config/hppa.sed: Handle all common symbols.
342 * testsuite/lib/binutils-common.exp (run_dump_test): New proc,
343 merged from three other versions.
344 (slurp_options, file_contents, set_file_contents): Likewise.
345 (big_or_little_endian, get_standard_section_names): Likewise.
346 * testsuite/lib/utils-lib.exp (run_dump_test): Delete.
347 (slurp_options, proc file_contents): Delete.
348 (get_standard_section_names): Delete.
350 2018-09-15 Alan Modra <amodra@gmail.com>
352 * testsuite/binutils-all/copy-2.d,
353 * testsuite/binutils-all/copy-3.d,
354 * testsuite/binutils-all/copy-4.d,
355 * testsuite/binutils-all/elfedit-1.d,
356 * testsuite/binutils-all/note-1.d,
357 * testsuite/binutils-all/note-2-64.d,
358 * testsuite/binutils-all/strip-11.d,
359 * testsuite/binutils-all/strip-13.d,
360 * testsuite/binutils-all/strip-14.d,
361 * testsuite/binutils-all/testranges.d,
362 * testsuite/binutils-all/x86-64/pr23494a-x32.d,
363 * testsuite/binutils-all/x86-64/pr23494a.d,
364 * testsuite/binutils-all/x86-64/pr23494b-x32.d,
365 * testsuite/binutils-all/x86-64/pr23494b.d,
366 * testsuite/binutils-all/x86-64/pr23494c-x32.d,
367 * testsuite/binutils-all/x86-64/pr23494c.d,
368 * testsuite/binutils-all/x86-64/pr23494d-x32.d,
369 * testsuite/binutils-all/x86-64/pr23494d.d,
370 * testsuite/binutils-all/x86-64/pr23494e-x32.d,
371 * testsuite/binutils-all/x86-64/pr23494e.d,
372 * testsuite/lib/utils-lib.exp (run_dump_test): Replace not-target
373 and not-skip with notarget and noskip.
375 2018-09-15 Alan Modra <amodra@gmail.com>
377 * testsuite/binutils-all/group-7a.d,
378 * testsuite/binutils-all/group-7b.d,
379 * testsuite/binutils-all/group-7c.d,
380 * testsuite/binutils-all/symbols-1.d,
381 * testsuite/binutils-all/symbols-2.d,
382 * testsuite/binutils-all/symbols-3.d,
383 * testsuite/binutils-all/symbols-4.d: Remove DUMPPROG.
385 2018-09-14 Alan Modra <amodra@gmail.com>
388 * testsuite/binutils-all/pr23633.d: Don't fail when assembler
389 generates sections other than .text.
391 2018-09-13 H.J. Lu <hongjiu.lu@intel.com>
394 * testsuite/binutils-all/objcopy.exp: Run pr23633.
395 * testsuite/binutils-all/pr23633.d: New file.
396 * testsuite/binutils-all/pr23633.list: Likewise.
397 * testsuite/binutils-all/pr23633.s: Likewise.
399 2018-09-13 Nick Clifton <nickc@redhat.com>
402 * objcopy.c (add_specific_symbols): Do not free the buffer at the
405 2018-09-10 Alan Modra <amodra@gmail.com>
408 * objcopy.c (handle_remove_section_option): Consider .rela and
409 .rel sections for stripping directly as well as attached to the
410 associated section they relocate.
411 * doc/binutils.texi (remove-relocations): Specify that this
412 option removes non-dynamic relocation sections.
413 * testsuite/binutils-all/objcopy.exp
414 (objcopy_remove_relocations_from_executable): New test.
416 2018-09-03 Nick Clifton <nickc@redhat.com>
418 * po/ja.po: Updated Japanese translation.
420 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
422 * testsuite/binutils-all/readelf.s-64: Adjusted for
423 .note.gnu.property section.
424 * testsuite/binutils-all/strip-3.d: Also strip
425 .note.gnu.property section.
427 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
429 * testsuite/binutils-all/i386/compressed-1b.d: Pass
430 -mx86-used-note=no to assembler.
431 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
432 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
433 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
434 * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes
435 to assembler and update expected output from "readelf -n".
436 * testsuite/binutils-all/i386/ibt.d: Likewise.
437 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
438 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
439 * testsuite/binutils-all/i386/shstk.d: Likewise.
440 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
441 * testsuite/binutils-all/x86-64/empty.d: Likewise.
442 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
443 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
444 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
445 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
446 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
447 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
448 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
449 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
450 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
451 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
452 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
453 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
454 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
455 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
456 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
457 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
459 2018-08-30 H.J. Lu <hongjiu.lu@intel.com>
461 * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and
462 SHT_PREINIT_ARRAY as relocatable sections.
464 2018-08-30 Chenghua Xu <paul.hua.gm@gmail.com>
466 * MAINTAINERS: Add myself as a MIPS port maintainer.
468 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
470 * NEWS: Mention Loongson 2K1000 proccessor support.
471 * readelf.c (get_machine_flags): Handle gs264e.
473 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
475 * NEWS: Mention Loongson 3A2000/3A3000 proccessor support.
476 * readelf.c (get_machine_flags): Handle gs464e.
478 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
480 * NEWS: Mention Loongson 3A1000 proccessor support.
481 * readelf.c (get_machine_flags): Rename loongson-3a to gs464.
482 (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A.
484 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
486 * readelf.c (print_mips_ases): Add Loongson EXT2 extension.
488 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
490 * readelf.c (print_mips_ases): Add Loongson EXT extension.
492 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
494 * readelf.c (print_mips_ases): Add CAM extension.
496 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
498 * readelf.c (decode_x86_isa): Print <None> if bitmask only
499 contains the GNU_PROPERTY_X86_UINT32_VALID bit.
500 (decode_x86_feature_1): Likewise.
501 (decode_x86_feature_2): Likewise.
502 (print_gnu_property_note): Don't mask out the
503 GNU_PROPERTY_X86_UINT32_VALID bit.
504 * testsuite/binutils-all/i386/pr21231b.d: Updated.
505 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
507 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
509 * readelf.c (decode_x86_compat_isa): Break multi-statement line.
510 (decode_x86_isa): Likewise.
511 (decode_x86_feature_2): Likewise.
513 2018-08-25 H.J. Lu <hongjiu.lu@intel.com>
516 * readelf.c (get_symbol_version_string): Return _("<corrupt>")
517 for corrupt symbol version info.
519 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
521 * readelf.c (decode_x86_compat_isa): New function.
522 (decode_x86_feature_2): Likewise.
523 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
524 (decode_x86_feature): Renamed to ...
525 (decode_x86_feature_1): This. Remove the type argument.
526 (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
527 X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
528 X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
529 X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
530 and X86_FEATURE_1_AND.
531 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
532 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
534 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
535 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
536 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
537 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
538 * testsuite/binutils-all/i386/pr21231b.d: Updated.
539 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
540 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
541 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
542 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
543 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
544 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
545 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
546 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
547 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
549 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
551 * readelf.c (print_gnu_property_note): Check the
552 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
554 2018-08-23 Alan Modra <amodra@gmail.com>
556 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
557 field contains unrecognised or reserved values. Handle
560 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
563 * Makefile.am (development.exp): New target.
564 (EXTRA_DEJAGNU_SITE_CONFIG): New.
565 (DISTCLEANFILES): Add development.exp.
566 * Makefile.in: Regenerated.
567 * testsuite/binutils-all/objcopy.exp (strip_test): Call
568 prune_warnings to prune BFD output.
569 (strip_test_with_saving_a_symbol): Likewise.
570 (objcopy_test_without_global_symbol): Likewise.
571 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
573 (prune_warnings): Likewise.
575 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
577 * README-how-to-make-a-release: Document setting "experimental"
580 2018-08-22 Alan Modra <amodra@gmail.com>
582 * readelf.c (process_file_header): Assign updated values from
583 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
584 during printing of header. Correct e_shstrndx range check.
585 Remove unnecessary casts and use %u rather than %ld for
586 unsigned int header fields. Don't print a random %lx when
587 reporting an unknown EI_VERSION.
589 2018-08-21 Nick Clifton <nickc@redhat.com>
591 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
594 2018-08-21 L. Simon <l.simon@samsung.com>
597 * readelf.c (hppa_process_unwind): Only dump the unwind table if
598 the data was successfully read in.
600 2018-08-18 Alan Modra <amodra@gmail.com>
602 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
603 input file for readelf.out.
605 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
606 from first result of is_elf64 test.
607 (reloc_format): Set using is_rela.
608 (strip-13): Pass RELOC and ELF64 to assembler.
609 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
610 * testsuite/binutils-all/strip-13.d: Run for more targets.
611 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
613 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
614 Don't add _NONE reloc.
615 * testsuite/binutils-all/strip-13rela.s: Likewise.
617 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
620 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
621 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
622 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
624 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
626 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
628 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
629 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
630 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
631 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
632 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
633 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
634 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
636 2018-08-08 H.J. Lu <hongjiu.lu@intel.com>
639 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
640 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
641 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
642 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
643 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
644 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
645 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
646 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
647 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
648 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
650 2018-08-08 Kevin Buettner <kevinb@redhat.com>
652 * dwarf.c (decode_location_expresion): Add case for
653 DW_OP_GNU_variable_value.
655 2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
657 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
659 2018-08-03 Nick Clifton <nickc@redhat.com>
661 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
662 identical function notes.
664 2018-08-01 Nick Clifton <nickc@redhat.com>
666 * README-how-to-make-a-release: Add note about regenerating the
667 info files prior to the release.
669 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
671 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
673 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
675 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
677 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
679 * readelf.c: Include elf/csky.h.
680 (guess_is_rela): Handle EM_CSKY.
681 (dump_relocations): Likewise.
682 (get_machine_name): Likewise.
683 (is_32bit_abs_reloc): Likewise.
685 2018-07-25 Nick Clifton <nickc@redhat.com>
687 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
689 (parse_coff_enum_type): Free names and vals arrays upon early
691 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
692 strings and stabs arrays upon early exit.
693 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
695 (get_64bit_section_headers): Likewise.
696 (get_32bit_elf_symbols): Generate an error if multiple symbol
697 table index sections are associated with the same symbol section.
698 (get_64bit_elf_symbols): Likewise.
699 (process_dynamic_section): Generate an error if there are multiple
700 dynamic symbol table sections, multiple dynamic string tables or
701 multiple dynamic symbol information sections.
703 2018-07-24 Nick Clifton <nickc@redhat.com>
705 * po/sv.po: Updated Swedish translation.
707 2018-07-24 Alan Modra <amodra@gmail.com>
710 * dwarf.c (display_formatted_table): Replace "what" parameter
711 with "is_dir". Expand messages. Fix capitalisation.
712 * testsuite/binutils-all/dw5.W: Update expected output.
714 2018-07-24 Alan Modra <amodra@gmail.com>
717 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
718 to uses_64bit_indices.
719 * elfcomm.c (setup_archive): Update uses of above.
720 * readelf.c (process_archive): Likewise.
721 (get_section_type_name): Rename indicies to indices.
722 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
723 (process_section_groups): Likewise.
725 2018-07-20 Maciej W. Rozycki <macro@mips.com>
727 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
730 2018-07-20 Nick Clifton <nickc@redhat.com>
732 * objcopy.c (add_specific_symbols): Free buffer on exit.
733 (add_redefine_syms_file): Close file handle on exit.
734 (copy_object): Close file handle on early exit.
735 Free buffer on early exit.
736 Free gaps buffers once they are no longer needed.
737 * dwarf.c (display_debug_frames): Free allocated memory on exit.
738 (load_separate_debug_info): Free allocate memory on early exit.
740 2018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
741 Maciej W. Rozycki <macro@mips.com>
743 * readelf.c (print_mips_ases): Add MMI extension.
745 2018-07-19 DJ Delorie <dj@redhat.com>
747 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
749 2018-07-19 Nick Clifton <nickc@redhat.com>
751 * dwarf.c (read_cie): Free allocated memory before returning with
754 2018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
756 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
759 2018-07-16 Nick Clifton <nickc@redhat.com>
761 * README-how-to-make-a-release: Add note to check for new top
762 level files and add them to the src-release.sh script.
764 2018-07-14 Nick Clifton <nickc@redhat.com>
766 * README-how-to-make-a-release: Updated with corrections based on
767 the 2.31 release experience.
769 2018-07-12 Francois H. Theron <francois.theron@netronome.com>
771 * readelf.c (process_section_headers): Don't print section type
772 twice for --section-details.
774 2018-07-10 Alan Modra <amodra@gmail.com>
776 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
779 2018-07-06 Nick Clifton <nickc@redhat.com>
781 * readelf.c (same_section): New function.
782 (print_gnu_build_attribute_description): Do not complain about
783 gaps that cross a section boundary.
785 2018-07-05 Nick Clifton <nickc@redhat.com>
787 * po/bg.po: Updated Bulgarian translation.
789 2018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
791 * NEWS: Use command-line consistently when used in a compount word.
792 * doc/binutils.texi: Likewise and fix trailing whitespace on same
795 2018-06-26 Nick Clifton <nickc@redhat.com>
797 * po/sv.po: Updated Swedish translation.
798 * po/uk.po: Updated Ukranian translation.
800 2018-06-26 Nick Clifton <nickc@redhat.com>
802 * doc/binutils.texi: Fix spelling mistakes.
803 * README--how-to-make-a-release: Likewise.
805 2018-06-25 Tom Tromey <tom@tromey.com>
807 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
810 2018-06-24 Nick Clifton <nickc@redhat.com>
812 * README-how-to-make-a-release: Update with experiences from
814 * po/binutils.pot: Regenerate.
815 * configure: Regenerate.
817 2018-06-24 Nick Clifton <nickc@redhat.com>
820 * NEWS: Add marker for 2.31.
822 2018-06-21 Alan Modra <amodra@gmail.com>
824 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
825 * doc/Makefile.in: Regenerate.
827 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
829 * configure.ac: Remove AC_PREREQ.
830 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
831 info-in-builddir no-texinfo.tex.
832 * Makefile.in: Re-generate.
833 * aclocal.m4: Re-generate.
834 * config.in: Re-generate.
835 * configure: Re-generate.
836 * doc/Makefile.in: Re-generate.
838 2018-06-19 Andreas Schwab <schwab@suse.de>
840 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
841 (is_8bit_abs_reloc): New function.
842 (is_6bit_abs_reloc): New function.
843 (is_6bit_inplace_sub_reloc): New function.
844 (apply_relocations): Use them. Handle 6-bit relocations.
846 2018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
848 * readelf.c (print_mips_ases): Add GINV extension.
850 2018-06-14 H.J. Lu <hongjiu.lu@intel.com>
853 * readelf.c (get_symbol_version_string): Check if the first
854 symbol version is base version.
856 2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
857 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
859 * readelf.c (print_mips_ases): Add CRC.
861 2018-06-13 Nick Clifton <nickc@redhat.com>
863 * doc/binutils.texi (objdump): Add missing closing square
864 parenthesis to listing of objcopy's command line options.
866 2018-06-11 Nick Clifton <nickc@redhat.com>
868 * po/es.po: Updated Spanish translation.
870 2018-06-01 H.J. Lu <hongjiu.lu@intel.com>
872 * configure: Regenerated.
874 2018-05-31 Alan Modra <amodra@gmail.com>
876 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
877 set CC_FOR_TARGET. Run test non-native.
878 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
880 (test_follow_debuglink): Run test non-native.
882 2018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
885 * ar.c (display_offsets): New variable.
886 (usage): Add description of 'O' operator.
887 (decode_option): Handle 'O' operator.
888 (print_descr): Pass display_offsets to print_arelt_descr.
889 * arsup.c: Update call to printy_arelt_descr.
890 * objdump.c: Likewise.
891 * bucomm.c (print_arelt_descr): If offsets parameter is true then
892 display offset of archive element within the archive.
893 * bucomm.h: Update prototype for print_arelt_descr.
894 * doc/binutils.texi: Update description of ar command.
895 * NEWS: Mention the new feature.
896 * testsuite/binutils-all/ar.exp: Add text of new feature.
898 2018-05-28 Alan Modra <amodra@gmail.com>
901 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
902 unsupported rather than fail on compile errors.
903 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
904 Likewise. Save and restore CFLAGS_FOR_TARGET.
906 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
908 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
910 2018-05-18 John Darrington <john@darrington.wattle.id.au>
912 * readelf.c: Add support for s12z architecture.
913 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
916 2018-05-15 Tamar Christina <tamar.christina@arm.com>
919 * doc/binutils.texi (-M): Document AArch64 options.
921 2018-05-15 Tamar Christina <tamar.christina@arm.com>
924 * doc/binutils.texi (-M): Document AArch64 options.
925 * NEWS: Document notes and warnings.
927 2018-05-15 Alan Modra <amodra@gmail.com>
929 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
930 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
931 and *uclinux* into *linux*.
932 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
933 strip-13 test, exclude arm-vxworks and arm-windiss.
935 2018-05-10 John Darrington <john@darrington.wattle.id.au>
937 * readelf.c (get_machine_name): EM_S12Z - handle new case.
939 2018-05-09 Alan Modra <amodra@gmail.com>
941 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
943 2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
945 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
947 2018-05-08 Alan Modra <amodra@gmail.com>
950 * objcopy.c (is_strip_section): Strip groups without a valid
953 2018-05-07 Alan Modra <amodra@gmail.com>
956 * objcopy.c (group_signature): Don't accept groups that use a
957 symbol table other than the one we've read.
959 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
961 * readelf.c: Very basic support for EM_NFP and its section types.
962 * testsuite/binutils-all/nfp: New directory.
963 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
965 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
966 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
967 * testsuite/binutils-all/nfp/test1.d: New file.
968 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
969 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
970 * NEWS: Mention the new support.
972 2018-04-27 Maciej W. Rozycki <macro@mips.com>
974 * testsuite/lib/binutils-common.exp (match_target): New procedure.
975 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
976 of `istarget' for matching with `target', `not-target', `skip'
977 and `not-skip' options.
979 2018-04-26 Nick Clifton <nickc@redhat.com>
981 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
982 32-bit absolute reloc for the HPPA target.
983 * testsuite/binutils-all/note-5.d: New test.
984 * testsuite/binutils-all/note-5.s: Source file for new test.
985 * testsuite/binutils-all/objcopy.exp: Run new test.
987 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
989 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
990 * testsuite/binutils-all/elfedit-3.d: Likewise.
991 * testsuite/binutils-all/objcopy.exp: Likewise.
992 * testsuite/binutils-all/strip-3.d: Likewise.
993 * testsuite/lib/binutils-common.exp: Likewise.
995 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
996 Mickaël Guêné <mickael.guene@st.com>
998 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
999 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
1001 2018-04-25 Alan Modra <amodra@gmail.com>
1003 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
1005 * testsuite/binutils-all/objcopy.exp: Likewise.
1006 * testsuite/lib/binutils-common.exp: Likewise.
1008 2018-04-18 Nick Clifton <nickc@redhat.com>
1011 * dwarf.c (read_and_display_attr_value): Replace assertions with
1012 test and warning message.
1014 2018-04-18 Alan Modra <amodra@gmail.com>
1016 * testsuite/lib/binutils-common.exp: Remove support for assorted
1019 2018-04-17 Nick Clifton <nickc@redhat.com>
1022 * readelf.c (print_symbol): If the width is zero, return straight
1026 * dwarf.c (process_cu_tu_index): Test for a potential buffer
1027 overrun before copying signature pointer.
1029 2018-04-17 Alan Modra <amodra@gmail.com>
1031 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
1033 2018-04-16 Alan Modra <amodra@gmail.com>
1035 * readelf.c (get_machine_name): Correct typo.
1037 2018-04-16 Alan Modra <amodra@gmail.com>
1039 * configure.ac: Remove arm-epoc-pe support.
1040 * dlltool.c: Likewise.
1041 * configure: Regenerate.
1043 2018-04-16 Alan Modra <amodra@gmail.com>
1045 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
1048 2018-04-16 Alan Modra <amodra@gmail.com>
1050 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
1052 * testsuite/binutils-all/copy-3.d: Likewise.
1053 * testsuite/binutils-all/objcopy.exp: Likewise.
1054 * testsuite/lib/binutils-common.exp: Likewise.
1056 2018-04-16 Alan Modra <amodra@gmail.com>
1058 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
1060 2018-04-16 Alan Modra <amodra@gmail.com>
1062 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
1064 2018-04-16 Alan Modra <amodra@gmail.com>
1066 * testsuite/binutils-all/objdump.exp: Remove we32k support.
1068 2018-04-16 Alan Modra <amodra@gmail.com>
1070 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
1071 * testsuite/binutils-all/objdump.exp: Remove m88k support.
1073 2018-04-16 Alan Modra <amodra@gmail.com>
1075 * readelf.c: Remove i370 support.
1076 * testsuite/binutils-all/objdump.exp: Likewise.
1078 2018-04-16 Alan Modra <amodra@gmail.com>
1080 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
1081 * testsuite/lib/binutils-common.exp: Likewise.
1083 2018-04-16 Alan Modra <amodra@gmail.com>
1085 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
1087 2018-04-16 Alan Modra <amodra@gmail.com>
1089 * Makefile.am: Remove IEEE 695 support.
1090 * budbg.h: Likewise.
1091 * doc/binutils.texi: Likewise.
1092 * makefile.vms: Likewise.
1093 * objcopy.c: Likewise.
1094 * objdump.c: Likewise.
1095 * rddbg.c: Likewise.
1097 * Makefile.in: Regenerate.
1098 * po/POTFILES.in: Regenerate.
1100 2018-04-16 Alan Modra <amodra@gmail.com>
1102 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
1103 * testsuite/binutils-all/nm.exp: Likewise.
1105 2018-04-16 Alan Modra <amodra@gmail.com>
1107 * .gitignore: Remove netware support.
1108 * Makefile.am: Likewise.
1109 * configure.ac: Likewise.
1110 * doc/Makefile.am: Likewise.
1111 * doc/binutils.texi: Likewise.
1112 * testsuite/binutils-all/nm.exp: Likewise.
1113 * nlmconv.c: Delete.
1114 * nlmconv.h: Delete.
1115 * nlmheader.y: Delete.
1116 * Makefile.in: Regenerate.
1117 * configure: Regenerate.
1118 * doc/Makefile.in: Regenerate.
1119 * po/POTFILES.in: Regenerate.
1121 2018-04-16 Alan Modra <amodra@gmail.com>
1123 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
1125 2018-04-14 Alan Modra <amodra@gmail.com>
1127 * readelf.c (get_machine_name): Revert 2018-04-11 change.
1129 2018-04-12 Nick Clifton <nickc@redhat.com>
1132 * readelf.c (process_dynamic_section): Correct dynamic string
1133 table size calculation.
1135 2018-04-11 Alan Modra <amodra@gmail.com>
1137 * ieee.c: Remove i960 support.
1138 * od-macho.c: Remove i860 support.
1139 * readelf.c: Remove i860 and i960 support.
1140 * testsuite/binutils-all/objcopy.exp: Likewise.
1141 * testsuite/binutils-all/objdump.exp: Likewise.
1142 * testsuite/lib/binutils-common.exp: Likewise.
1144 2018-04-11 Maciej W. Rozycki <macro@mips.com>
1146 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
1147 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
1149 2018-04-10 Alan Modra <amodra@gmail.com>
1151 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
1152 reloc=11 for pru and reloc=50 for nds32.
1153 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
1155 2018-04-09 Maciej W. Rozycki <macro@mips.com>
1157 * testsuite/binutils-all/strip-15.d: New test.
1158 * testsuite/binutils-all/strip-15rel.s: New test source.
1159 * testsuite/binutils-all/strip-15rela.s: New test source.
1160 * testsuite/binutils-all/strip-15mips64.s: New test source.
1161 * testsuite/binutils-all/objcopy.exp: Run the new test.
1163 2018-04-09 Maciej W. Rozycki <macro@mips.com>
1165 * testsuite/binutils-all/strip-14.d: New test.
1166 * testsuite/binutils-all/strip-14rel.s: New test source.
1167 * testsuite/binutils-all/strip-14rela.s: New test source.
1168 * testsuite/binutils-all/strip-14mips64.s: New test source.
1169 * testsuite/binutils-all/objcopy.exp: Run the new test.
1171 2018-04-06 Tom Tromey <tom@tromey.com>
1173 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
1174 constants from DWARF 5.
1176 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
1179 * configure: Regenerated.
1181 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1183 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
1184 than `.dc.w' in second relocation.
1186 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1188 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
1189 relocation type 0x8f' error message.
1191 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1193 * testsuite/binutils-all/strip-13.s: Rename to...
1194 * testsuite/binutils-all/strip-13rela.s: ... this.
1195 * testsuite/binutils-all/strip-13rel.s: New test source.
1196 * testsuite/binutils-all/strip-13mips64.s: New test source.
1197 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
1198 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
1199 `m68hc11-*' to `not-target' list.
1200 * testsuite/binutils-all/objcopy.exp: Switch between sources for
1203 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1205 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
1206 241 (0xf1) for the relocation number and RELA addend.
1207 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
1210 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
1212 * MAINTAINERS: Update my e-mail address.
1214 2018-04-04 Nick Clifton <nickc@redhat.com>
1216 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
1218 2018-03-23 Nick Clifton <nickc@redhat.com>
1220 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
1222 (print_gnu_build_attribute_description): If no file start symbol
1223 could be found, look for one two bytes into the file.
1224 * testsuite/binutils-all/note-4-64.s: Set the address of the file
1225 start symbol to two bytes into the file.
1226 * testsuite/binutils-all/note-4-32.s: Likewise.
1228 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
1230 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
1231 DF_1_WEAKFILTER and DF_1_NOCOMMON.
1233 2018-03-20 Nick Clifton <nickc@redhat.com>
1235 * po/es.po: Updated Spanish translation.
1236 * po/ru.po: Updated Russian translation.
1238 2018-03-13 Nick Clifton <nickc@redhat.com>
1241 * stabs.c (pop_binincl): Fail if the file index is off the end of
1244 2018-03-13 Nick Clifton <nickc@redhat.com>
1247 * stabs.c (parse_number): Add p_end parameter and use it to check
1248 the validity of the pp parameter. Add checks to prevent walking
1249 off the end of the string buffer.
1250 (parse_stab_string): Likewise.
1251 (parse_stab_type): Likewise.
1252 (parse_stab_type_number): Likewise.
1253 (parse_stab_range_type): Likewise.
1254 (parse_stab_sun_builtin_type): Likewise.
1255 (parse_stab_sun_floating_type): Likewise.
1256 (parse_stab_enum_type): Likewise.
1257 (parse_stab_struct_type): Likewise.
1258 (parse_stab_baseclasses): Likewise.
1259 (parse_stab_struct_fields): Likewise.
1260 (parse_stab_cpp_abbrev): Likewise.
1261 (parse_stab_one_struct_field): Likewise.
1262 (parse_stab_members): Likewise.
1263 (parse_stab_tilde_field): Likewise.
1264 (parse_stab_array_type): Likewise.
1266 * parse_stab: Compute the end of the string and then pass it on to
1267 individual parser functions.
1269 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
1272 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
1275 2018-03-07 Alan Modra <amodra@gmail.com>
1277 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
1278 * configure: Regenerate.
1280 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
1283 * objdump.c (is_significant_symbol_name): Return TRUE for all
1285 (find_symbol_for_address): Replace linear search with binary
1286 search on dynamic relocations.
1288 2018-03-01 Nick Clifton <nickc@redhat.com>
1291 * dwarf.c (display_debug_ranges): Check that the offset loaded
1292 from the range_entry structure is valid.
1294 2018-03-01 Alan Modra <amodra@gmail.com>
1296 * configure.ac (ALL_LINGUAS): Add sr. Sort.
1297 * configure: Regenerate.
1299 2018-02-27 Nick Clifton <nickc@redhat.com>
1301 * po/pt.po: New Portuguese translation.
1302 * configure.ac (ALL_LINGUAS): Add pt.
1303 * configure: Regenerate.
1305 2018-02-27 Nick Clifton <nickc@redhat.com>
1308 * objcopy.c (copy_object): Check the error status after marking
1309 symbols used in relocations.
1310 * testsuite/binutils-all/strip-13.s: New test source file.
1311 * testsuite/binutils-all/strip-13.s: New test driver file.
1312 * testsuite/binutils-all/objcopy.exp: Run the new test.
1314 2018-02-26 Alan Modra <amodra@gmail.com>
1316 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1317 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1319 2018-02-23 Alan Modra <amodra@gmail.com>
1321 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1322 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1324 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
1326 * doc/binutils.texi (objcopy): Add missing closing square
1327 parenthesis to listing of objcopy's command line options.
1329 2018-02-19 Matthias Klose <doko@debian.org>
1331 * strings.c (long_options): Include-all-whitespace does not take
1334 2018-02-13 Alan Modra <amodra@gmail.com>
1337 * testsuite/binutils-all/group-7.s,
1338 * testsuite/binutils-all/group-7a.d,
1339 * testsuite/binutils-all/group-7b.d,
1340 * testsuite/binutils-all/group-7c.d: New tests.
1341 * testsuite/binutils-all/objcopy.exp: Run them.
1343 2018-02-08 Nick Clifton <nickc@redhat.com>
1346 * dwarf.c (load_separate_debug_file): Return early if the user is
1347 not interested in debug links.
1349 2018-02-06 Nick Clifton <nickc@redhat.com>
1352 * readelf.c (find_section): Replace assertion with test and return
1354 (find_section_by_address): Add test of section header table
1356 (find_section_by_type): Likewise.
1357 (find_section_in_set): Likewise.
1359 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1361 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
1362 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
1363 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
1364 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
1366 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1368 * testsuite/config/default.exp (binutils_run): Document
1369 `binutils_run_status'.
1370 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
1372 (run_dump_test): Add `error', `error_output', `warning' and
1373 `warning_output' options. Update documentation accordingly.
1375 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1377 * dwarf.c (dwarf_regnames_riscv): New register name table.
1378 (init_dwarf_regnames_riscv): New function.
1379 (init_dwarf_regnames): Add call to initialise RiscV register
1381 * dwarf.h (init_dwarf_regnames_riscv): Declare.
1382 * objdump.c (dump_dwarf): Add call to initialise RiscV register
1385 2018-02-01 Alan Modra <amodra@gmail.com>
1388 * objdump.c (load_specific_debug_section): Check for overflow
1389 when adding one to section size for a string section terminator.
1391 2018-01-30 Nick Clifton <nickc@redhat.com>
1394 * doc/binutils.texi (nm): Update description to point out that
1395 zero-initialized values can also be shown as type B, b, S or s
1396 since they can be stored in the BSS section.
1398 2018-01-30 Alan Modra <amodra@gmail.com>
1400 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
1401 "artificially large" end address.
1403 2018-01-28 Nick Clifton <nickc@redhat.com>
1405 * README-how-to-make-a-release: Add note about checking gpg key
1406 and the results of gnupload.
1408 2018-01-27 Nick Clifton <nickc@redhat.com>
1410 * README-how-to-make-a-release: Add details on how to actually
1413 2018-01-26 Nick Clifton <nickc@redhat.com>
1415 * README-how-to-make-a-release: Add more details on updating
1418 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1420 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
1423 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1425 * MAINTAINERS: Update my company e-mail address.
1427 2018-01-22 Nick Clifton <nickc@redhat.com>
1429 * po/sv.po: Updated Swedish translation.
1431 2018-01-18 Nick Clifton <nickc@redhat.com>
1433 * po/bg.po: Updated Bulgarian translation.
1435 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1437 * README-how-to-make-a-release: Add reminder to update the
1438 branch name in gdbadmin's crontab on sourceware.
1440 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1442 * README-how-to-make-a-release: Remove trailing spaces.
1444 2018-01-16 Nick Clifton <nickc@redhat.com>
1446 * po/fr.po: Updated French translation.
1448 2018-01-15 Nick Clifton <nickc@redhat.com>
1450 * po/uk.po: Updated Ukranian translation.
1452 2018-01-13 Nick Clifton <nickc@redhat.com>
1454 * README-how-to-make-a-release: Update notes.
1455 * po/binutils.pot: Regenerated.
1457 2018-01-13 Nick Clifton <nickc@redhat.com>
1459 * configure: Regenerate.
1461 2018-01-13 Nick Clifton <nickc@redhat.com>
1463 2.30 branch created.
1464 * NEWS: Add marker for 2.30.
1466 2018-01-12 Nick Clifton <nickc@redhat.com>
1468 * README-how-to-make-a-release: Add notes on how to make the
1469 branch and prelease snapshot.
1470 * BRANCHES: Add binutils-2_29-branch.
1472 2018-01-10 Nick Clifton <nickc@redhat.com>
1474 * MAINTAINERS: Note that it is now the configure.ac file and not
1475 the configure.in file that needs to be kept in sync with gcc.
1476 Add a note about sending patches for libiberty to gcc.
1478 2018-01-03 Nick Clifton <nickc@redhat.com>
1480 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
1483 2018-01-03 Nick Clifton <nickc@redhat.com>
1485 * objcopy.c (objcopy_internal_note): New structure.
1486 (gap_exists): New function.
1487 (is_open_note): New function.
1488 (is_func_note): New function.
1489 (is_64bit): New function.
1490 (merge_gnu_build_notes): Handle v3 notes. Do not merge
1491 if there are relocations against the notes.
1492 * readelf.c (get_note_type): Use short names for build attribute
1494 (print_symbol_for_build_attribute): Rename to
1495 get_symbol_for_build_attribute. Returns the found symbol rather
1497 (print_gnu_build_attribute_description): Maintain address ranges
1498 for function notes as well as global notes. Handle v3 notes.
1499 (print_gnu_build_attribute_name): Use more space for printing the
1501 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
1502 Eliminate symbol references in order to remove the need for
1504 * testsuite/binutils-all/note-2-64.s: Likewise.
1505 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
1507 * testsuite/binutils-all/note-3-64.s: Likewise.
1508 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
1510 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
1511 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
1512 * testsuite/binutils-all/note-2-32.d: Likewise.
1513 * testsuite/binutils-all/note-2-64.d: Likewise.
1514 * testsuite/binutils-all/note-3-32.d: Likewise.
1515 * testsuite/binutils-all/note-3-64.d: Likewise.
1516 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
1517 * testsuite/binutils-all/note-4-32.s: New test.
1518 * testsuite/binutils-all/note-4-64.d: New test result file.
1519 * testsuite/binutils-all/note-4-32.d: New test result file.
1521 2018-01-03 Alan Modra <amodra@gmail.com>
1523 Update year range in copyright notice of all files.
1525 For older changes see ChangeLog-2017
1527 Copyright (C) 2018 Free Software Foundation, Inc.
1529 Copying and distribution of this file, with or without modification,
1530 are permitted in any medium without royalty provided the copyright
1531 notice and this notice are preserved.
1537 version-control: never