1 2018-12-01 Alan Modra <amodra@gmail.com>
4 * readelf.c (slurp_ia64_unwind_table): Don't call elf_ia64_reloc_type
6 (slurp_hppa_unwind_table): Use same range checks and error messages
7 as slurp_ia64_unwind_table.
9 2018-11-29 Nick Clifton <nickc@redhat.com>
12 * objdump.c (dump_relocs_in_section): When checking for an
13 unreasonable amount of relocs in a bfd, allow for the fact that
14 the internal representation of a reloc may be bigger than the
15 external representation.
17 2018-11-27 Mark Wielaard <mark@klomp.org>
20 * readelf.c (dump_sections_as_strings): Remove bogus addralign check.
21 (dump_sections_as_bytes): Likewise.
22 (load_specific_debug_sections): Likewise.
23 * testsuite/binutils-all/dw2-3.rS: Adjust alignment.
24 * testsuite/binutils-all/dw2-3.rt: Likewise.
26 2018-11-20 H.J. Lu <hongjiu.lu@intel.com>
29 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
30 Prune gaps in build notes.
32 2018-11-13 Francois H. Theron <francois.theron@netronome.com>
34 * testsuite/binutils-all/nfp/test1.d: Test for swapped operand crc[].
37 2018-11-09 Hafiz Abid Qadeer <abidh@codesourcery.com>
39 * configure: Regenerate.
41 2018-11-09 Mathias <m4tze@exitno.de>
43 * strings.c (print_strings): Check for multibyte encodings.
44 * binutils-all/strings-1.bin: New file. Test binary for string decoding.
45 * testsuite/binutils-all/strings.exp: New file. Test the strings program.
46 * testsuite/config/default.exp (STRINGS): Define if not provided
48 (STRINGSFLAGS): Likewise.
50 2018-11-07 Masatake Yamato <yamato@redhat.com>
52 * objdump.c (long_options): Have the --disassemble option take an
54 (usage): Add description for the `symbol' argument to the
56 (disasm_sym): New file private variable.
57 (struct objdump_disasm_info): New field `symbol'.
58 (disassemble_section): Introduce `do_print' local variable
59 to control whether objdump displays the result of disassembling
61 (main): Set `symbol' file private variable if the option argument
62 for the --disassemble option is given.
63 * doc/binutils.texi (objdump): Add description for the option
65 * NEWS: Mention the new feature.
66 * testsuite/binutils-all/objdump.exp: Add tests of the -d and
67 --disassemble=<symbol> options.
68 * testsuite/binutils-all/bintest.s: Add more symbols and code.
69 * testsuite/binutils-all/readelf.s: Update expected output.
70 * testsuite/binutils-all/readelf.ss-64: Likewise.
71 * testsuite/binutils-all/readelf.ss-mips: Likewise.
72 * testsuite/binutils-all/readelf.ss-tmips: Likewise.
74 2018-11-07 Nick Clifton <nickc@redhat.com>
76 * po/pt.po: Updated Portuguese translation.
78 2018-11-06 Roman Bolshakov <r.bolshakov@yadro.com>
79 Saagar Jha <saagar@saagarjha.com>
82 * od-macho.c (printf_version): New.
83 (dump_load_command): Use it to print version. Print sdk version. Print
84 version info for watchOS and tvOS. Print LC_NOTE, LC_BUILD_VERSION.
85 (dump_buld_version): New.
86 (bfd_mach_o_platform_name): New
87 (bfd_mach_o_tool_name): New
89 2018-11-07 Yoshinori Sato <ysato@users.sourceforge.jp>
91 * testsuite/lib/binutils-common.exp: Special section name
94 2018-11-06 H.J. Lu <hongjiu.lu@intel.com>
96 * doc/binutils.texi: Document --enable-x86-feature and
97 --disable-x86-feature options for elfedit.
98 * elfedit.c: Include "config.h" and <sys/mman.h>.
99 (enable_x86_features): New.
100 (disable_x86_features): Likewise.
101 (update_gnu_property): Likewise.
102 (elf_x86_feature): Likewise.
103 (process_file): Call update_gnu_property on ET_EXEC or ET_DYN
105 (command_line_switch): Add OPTION_ENABLE_X86_FEATURE and
106 OPTION_DISABLE_X86_FEATURE.
107 (options): Add--enable-x86-feature and --disable-x86-feature.
109 (main): Handle OPTION_ENABLE_X86_FEATURE and
110 OPTION_DISABLE_X86_FEATURE.
112 2018-11-03 H.J. Lu <hongjiu.lu@intel.com>
114 * elfedit.c (update_elf_header): Move EI_MAG? check to ...
115 (get_file_header): Here.
117 2018-11-02 H.J. Lu <hongjiu.lu@intel.com>
119 * configure.ac (AC_FUNC_MMAP): New.
120 * config.in: Regenerated.
121 * configure: Likewise.
123 2018-11-02 Alan Modra <amodra@gmail.com>
125 * readelf.c (process_section_headers): Don't warn on a zero
126 sh_info or sh_link for any reloc section in an executable or
127 shared library. Do warn for .rel.dyn/.rela.dyn in ET_REL.
129 2018-11-01 Thomas Preud'homme <thomas.preudhomme@linaro.org>
131 * testsuite/config/default.exp: Define LD, LDFLAGS and
133 * testsuite/lib/binutils-common.exp (check_shared_lib_support): Moved
135 (run_dump_test): Set ld to $LD.
137 2018-10-18 Nick Clifton <nickc@redhat.com>
139 * doc/binutils.texi (readelf): Document alternatives to the
140 --unwind option if it is not supported for the target
143 2018-10-16 Alan Modra <amodra@gmail.com>
146 * readelf.c (display_raw_attribute): Correct assertion.
148 2018-10-15 Alan Modra <amodra@gmail.com>
151 * addr2line.c (main): Exit with fatal error if bfd_init
152 returns an unexpected value.
153 * ar.c (main): Likewise.
154 * dlltool.c (identify_dll_for_implib): Likewise.
155 * nm.c (main): Likewise.
156 * objcopy.c (main): Likewise.
157 * objdump.c (main): Likewise.
158 * size.c (main): Likewise.
159 * strings.c (main): Likewise.
160 * windmc.c (main): Likewise.
161 * windres.c (main): Likewise.
163 2018-10-11 Jordan Rupprecht <rupprecht@google.com>
164 Nick Clifton <nickc@redhat.com>
166 * objcopy.c (copy_main): Issue a fata error if the
167 --keep-global-symbol(s) and the --globalize-symbol(s) options are
169 * doc/binutils.texi: Document that the two options are
171 * testsuite/binutils-all/copy-5.d: New test.
172 * testsuite/binutils-all/objcopy.exp: Run the new test.
174 2018-10-10 Helge Deller <deller@gmx.de>
175 Alan Modra <amodra@gmail.com>
177 * readelf.c (hppa_process_unwind): Don't use eh_addr_size to
178 calculate number of entries.
179 (slurp_hppa_unwind_table): Don't use eh_addr_size here either.
181 2018-10-10 Alan Modra <amodra@gmail.com>
183 * objdump.c (dump_dwarf): Set s12z eh_addr_size to 4.
185 2018-10-08 Andreas Schwab <schwab@suse.de>
187 * readelf.c (is_32bit_pcrel_reloc): Handle R_RISCV_32_PCREL.
189 2018-10-03 Nick Clifton <nickc@redhat.com>
191 * po/pt.po: Updated Portuguese translation.
192 * po/fr.po: Updated French translation.
194 2018-09-22 Alan Modra <amodra@gmail.com>
196 * readelf.c (apply_relocations): Don't return FALSE for warnings.
198 2018-09-20 Nelson Chu <nelson.chu1990@gmail.com>
200 * testsuite/binutils-all/objcopy.exp: Set the unsupported reloc number
201 from 215 to 255 for NDS32.
203 2018-09-17 H.J. Lu <hongjiu.lu@intel.com>
205 * objcopy.c (strip_specific_buffer): New.
206 (strip_unneeded_buffer): Likewise.
207 (keep_specific_buffer): Likewise.
208 (localize_specific_buffer): Likewise.
209 (globalize_specific_buffer): Likewise.
210 (keepglobal_specific_buffer): Likewise.
211 (weaken_specific_buffer): Likewise.
212 (add_specific_symbols): Add an argument to return pointer to
214 (copy_main): Update add_specific_symbols to update pointers to
215 allocated buffer. Free pointers to allocated buffer before
218 2018-09-17 Alan Modra <amodra@gmail.com>
220 * objcopy.c (handle_remove_section_option): Don't require a dot
221 after .rela and .rel to handle a possible relocation section.
222 * testsuite/binutils-all/remove-relocs-07.s,
223 * testsuite/binutils-all/remove-relocs-07.d,
224 * testsuite/binutils-all/remove-relocs-08.d: New tests.
225 * testsuite/binutils-all/remove-relocs-01.d,
226 * testsuite/binutils-all/remove-relocs-04.d,
227 * testsuite/binutils-all/remove-relocs-05.d,
228 * testsuite/binutils-all/remove-relocs-06.d: Exclude mips64-openbsd.
230 2018-09-17 Alan Modra <amodra@gmail.com>
232 * testsuite/lib/binutils-common.exp (is_som_format): New proc.
233 (run_dump_test): Correct target test for alternate .comm syntax.
234 (get_standard_section_names): Handle som format.
235 * testsuite/lib/utils-lib.exp (default_binutils_assemble_flags):
236 Correct target test for alternate .comm syntax.
238 2018-09-17 Alan Modra <amodra@gmail.com>
240 * testsuite/binutils-all/strip-13mips64.s: Add section flags
242 * testsuite/binutils-all/strip-13rel.s: Likewise.
243 * testsuite/binutils-all/strip-13rela.s: Likewise.
244 * testsuite/binutils-all/strip-14mips64.s: Likewise.
245 * testsuite/binutils-all/strip-14rel.s: Likewise.
246 * testsuite/binutils-all/strip-14rela.s: Likewise.
247 * testsuite/binutils-all/strip-15mips64.s: Likewise.
248 * testsuite/binutils-all/strip-15rel.s: Likewise.
249 * testsuite/binutils-all/strip-15rela.s: Likewise.
251 2018-09-17 Nick Clifton <nickc@redhat.com>
253 * testsuite/binutils-all/compress.exp: Rename second "objcopy
254 zlib-gnu compress debug sections 3" test to "objcopy zlib-gabi
255 compress debug sections 3" and use gabi object files instead
257 * testsuite/binutils-all/objcopy.exp: Add suffix to the names
258 of the "ELF group" tests.
259 * testsuite/binutils-all/readelf.exp (proc readelf_find_size):
260 Add an iteration parameter and include it in the name of the
261 test. Update callers to include an iteration count.
263 2018-09-15 Alan Modra <amodra@gmail.com>
265 * testsuite/binutils-all/add-symbol.d: Add "section_subst: no".
266 * testsuite/binutils-all/elfedit.exp: Don't set tempfile or copyfile.
267 * testsuite/binutils-all/symbols-1.d,
268 * testsuite/binutils-all/symbols-2.d,
269 * testsuite/binutils-all/symbols-3.d,
270 * testsuite/binutils-all/symbols-4.d: Quote '*' and '!'.
271 * testsuite/binutils-all/add-empty-section.d,
272 * testsuite/binutils-all/add-section.d,
273 * testsuite/binutils-all/elfedit.exp,
274 * testsuite/binutils-all/note-1.d,
275 * testsuite/binutils-all/pr23633.d: Add $subdir after $srcdir.
276 * testsuite/config/default.exp (AS, ASFLAGS): Define.
277 * testsuite/config/hppa.sed: Handle all common symbols.
278 * testsuite/lib/binutils-common.exp (run_dump_test): New proc,
279 merged from three other versions.
280 (slurp_options, file_contents, set_file_contents): Likewise.
281 (big_or_little_endian, get_standard_section_names): Likewise.
282 * testsuite/lib/utils-lib.exp (run_dump_test): Delete.
283 (slurp_options, proc file_contents): Delete.
284 (get_standard_section_names): Delete.
286 2018-09-15 Alan Modra <amodra@gmail.com>
288 * testsuite/binutils-all/copy-2.d,
289 * testsuite/binutils-all/copy-3.d,
290 * testsuite/binutils-all/copy-4.d,
291 * testsuite/binutils-all/elfedit-1.d,
292 * testsuite/binutils-all/note-1.d,
293 * testsuite/binutils-all/note-2-64.d,
294 * testsuite/binutils-all/strip-11.d,
295 * testsuite/binutils-all/strip-13.d,
296 * testsuite/binutils-all/strip-14.d,
297 * testsuite/binutils-all/testranges.d,
298 * testsuite/binutils-all/x86-64/pr23494a-x32.d,
299 * testsuite/binutils-all/x86-64/pr23494a.d,
300 * testsuite/binutils-all/x86-64/pr23494b-x32.d,
301 * testsuite/binutils-all/x86-64/pr23494b.d,
302 * testsuite/binutils-all/x86-64/pr23494c-x32.d,
303 * testsuite/binutils-all/x86-64/pr23494c.d,
304 * testsuite/binutils-all/x86-64/pr23494d-x32.d,
305 * testsuite/binutils-all/x86-64/pr23494d.d,
306 * testsuite/binutils-all/x86-64/pr23494e-x32.d,
307 * testsuite/binutils-all/x86-64/pr23494e.d,
308 * testsuite/lib/utils-lib.exp (run_dump_test): Replace not-target
309 and not-skip with notarget and noskip.
311 2018-09-15 Alan Modra <amodra@gmail.com>
313 * testsuite/binutils-all/group-7a.d,
314 * testsuite/binutils-all/group-7b.d,
315 * testsuite/binutils-all/group-7c.d,
316 * testsuite/binutils-all/symbols-1.d,
317 * testsuite/binutils-all/symbols-2.d,
318 * testsuite/binutils-all/symbols-3.d,
319 * testsuite/binutils-all/symbols-4.d: Remove DUMPPROG.
321 2018-09-14 Alan Modra <amodra@gmail.com>
324 * testsuite/binutils-all/pr23633.d: Don't fail when assembler
325 generates sections other than .text.
327 2018-09-13 H.J. Lu <hongjiu.lu@intel.com>
330 * testsuite/binutils-all/objcopy.exp: Run pr23633.
331 * testsuite/binutils-all/pr23633.d: New file.
332 * testsuite/binutils-all/pr23633.list: Likewise.
333 * testsuite/binutils-all/pr23633.s: Likewise.
335 2018-09-13 Nick Clifton <nickc@redhat.com>
338 * objcopy.c (add_specific_symbols): Do not free the buffer at the
341 2018-09-10 Alan Modra <amodra@gmail.com>
344 * objcopy.c (handle_remove_section_option): Consider .rela and
345 .rel sections for stripping directly as well as attached to the
346 associated section they relocate.
347 * doc/binutils.texi (remove-relocations): Specify that this
348 option removes non-dynamic relocation sections.
349 * testsuite/binutils-all/objcopy.exp
350 (objcopy_remove_relocations_from_executable): New test.
352 2018-09-03 Nick Clifton <nickc@redhat.com>
354 * po/ja.po: Updated Japanese translation.
356 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
358 * testsuite/binutils-all/readelf.s-64: Adjusted for
359 .note.gnu.property section.
360 * testsuite/binutils-all/strip-3.d: Also strip
361 .note.gnu.property section.
363 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
365 * testsuite/binutils-all/i386/compressed-1b.d: Pass
366 -mx86-used-note=no to assembler.
367 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
368 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
369 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
370 * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes
371 to assembler and update expected output from "readelf -n".
372 * testsuite/binutils-all/i386/ibt.d: Likewise.
373 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
374 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
375 * testsuite/binutils-all/i386/shstk.d: Likewise.
376 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
377 * testsuite/binutils-all/x86-64/empty.d: Likewise.
378 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
379 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
380 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
381 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
382 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
383 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
384 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
385 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
386 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
387 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
388 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
389 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
390 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
391 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
392 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
393 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
395 2018-08-30 H.J. Lu <hongjiu.lu@intel.com>
397 * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and
398 SHT_PREINIT_ARRAY as relocatable sections.
400 2018-08-30 Chenghua Xu <paul.hua.gm@gmail.com>
402 * MAINTAINERS: Add myself as a MIPS port maintainer.
404 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
406 * NEWS: Mention Loongson 2K1000 proccessor support.
407 * readelf.c (get_machine_flags): Handle gs264e.
409 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
411 * NEWS: Mention Loongson 3A2000/3A3000 proccessor support.
412 * readelf.c (get_machine_flags): Handle gs464e.
414 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
416 * NEWS: Mention Loongson 3A1000 proccessor support.
417 * readelf.c (get_machine_flags): Rename loongson-3a to gs464.
418 (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A.
420 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
422 * readelf.c (print_mips_ases): Add Loongson EXT2 extension.
424 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
426 * readelf.c (print_mips_ases): Add Loongson EXT extension.
428 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
430 * readelf.c (print_mips_ases): Add CAM extension.
432 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
434 * readelf.c (decode_x86_isa): Print <None> if bitmask only
435 contains the GNU_PROPERTY_X86_UINT32_VALID bit.
436 (decode_x86_feature_1): Likewise.
437 (decode_x86_feature_2): Likewise.
438 (print_gnu_property_note): Don't mask out the
439 GNU_PROPERTY_X86_UINT32_VALID bit.
440 * testsuite/binutils-all/i386/pr21231b.d: Updated.
441 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
443 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
445 * readelf.c (decode_x86_compat_isa): Break multi-statement line.
446 (decode_x86_isa): Likewise.
447 (decode_x86_feature_2): Likewise.
449 2018-08-25 H.J. Lu <hongjiu.lu@intel.com>
452 * readelf.c (get_symbol_version_string): Return _("<corrupt>")
453 for corrupt symbol version info.
455 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
457 * readelf.c (decode_x86_compat_isa): New function.
458 (decode_x86_feature_2): Likewise.
459 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
460 (decode_x86_feature): Renamed to ...
461 (decode_x86_feature_1): This. Remove the type argument.
462 (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
463 X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
464 X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
465 X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
466 and X86_FEATURE_1_AND.
467 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
468 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
470 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
471 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
472 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
473 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
474 * testsuite/binutils-all/i386/pr21231b.d: Updated.
475 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
476 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
477 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
478 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
479 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
480 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
481 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
482 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
483 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
485 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
487 * readelf.c (print_gnu_property_note): Check the
488 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
490 2018-08-23 Alan Modra <amodra@gmail.com>
492 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
493 field contains unrecognised or reserved values. Handle
496 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
499 * Makefile.am (development.exp): New target.
500 (EXTRA_DEJAGNU_SITE_CONFIG): New.
501 (DISTCLEANFILES): Add development.exp.
502 * Makefile.in: Regenerated.
503 * testsuite/binutils-all/objcopy.exp (strip_test): Call
504 prune_warnings to prune BFD output.
505 (strip_test_with_saving_a_symbol): Likewise.
506 (objcopy_test_without_global_symbol): Likewise.
507 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
509 (prune_warnings): Likewise.
511 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
513 * README-how-to-make-a-release: Document setting "experimental"
516 2018-08-22 Alan Modra <amodra@gmail.com>
518 * readelf.c (process_file_header): Assign updated values from
519 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
520 during printing of header. Correct e_shstrndx range check.
521 Remove unnecessary casts and use %u rather than %ld for
522 unsigned int header fields. Don't print a random %lx when
523 reporting an unknown EI_VERSION.
525 2018-08-21 Nick Clifton <nickc@redhat.com>
527 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
530 2018-08-21 L. Simon <l.simon@samsung.com>
533 * readelf.c (hppa_process_unwind): Only dump the unwind table if
534 the data was successfully read in.
536 2018-08-18 Alan Modra <amodra@gmail.com>
538 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
539 input file for readelf.out.
541 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
542 from first result of is_elf64 test.
543 (reloc_format): Set using is_rela.
544 (strip-13): Pass RELOC and ELF64 to assembler.
545 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
546 * testsuite/binutils-all/strip-13.d: Run for more targets.
547 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
549 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
550 Don't add _NONE reloc.
551 * testsuite/binutils-all/strip-13rela.s: Likewise.
553 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
556 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
557 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
558 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
560 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
562 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
564 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
565 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
566 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
567 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
568 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
569 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
570 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
572 2018-08-08 H.J. Lu <hongjiu.lu@intel.com>
575 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
576 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
577 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
578 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
579 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
580 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
581 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
582 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
583 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
584 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
586 2018-08-08 Kevin Buettner <kevinb@redhat.com>
588 * dwarf.c (decode_location_expresion): Add case for
589 DW_OP_GNU_variable_value.
591 2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
593 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
595 2018-08-03 Nick Clifton <nickc@redhat.com>
597 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
598 identical function notes.
600 2018-08-01 Nick Clifton <nickc@redhat.com>
602 * README-how-to-make-a-release: Add note about regenerating the
603 info files prior to the release.
605 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
607 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
609 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
611 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
613 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
615 * readelf.c: Include elf/csky.h.
616 (guess_is_rela): Handle EM_CSKY.
617 (dump_relocations): Likewise.
618 (get_machine_name): Likewise.
619 (is_32bit_abs_reloc): Likewise.
621 2018-07-25 Nick Clifton <nickc@redhat.com>
623 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
625 (parse_coff_enum_type): Free names and vals arrays upon early
627 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
628 strings and stabs arrays upon early exit.
629 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
631 (get_64bit_section_headers): Likewise.
632 (get_32bit_elf_symbols): Generate an error if multiple symbol
633 table index sections are associated with the same symbol section.
634 (get_64bit_elf_symbols): Likewise.
635 (process_dynamic_section): Generate an error if there are multiple
636 dynamic symbol table sections, multiple dynamic string tables or
637 multiple dynamic symbol information sections.
639 2018-07-24 Nick Clifton <nickc@redhat.com>
641 * po/sv.po: Updated Swedish translation.
643 2018-07-24 Alan Modra <amodra@gmail.com>
646 * dwarf.c (display_formatted_table): Replace "what" parameter
647 with "is_dir". Expand messages. Fix capitalisation.
648 * testsuite/binutils-all/dw5.W: Update expected output.
650 2018-07-24 Alan Modra <amodra@gmail.com>
653 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
654 to uses_64bit_indices.
655 * elfcomm.c (setup_archive): Update uses of above.
656 * readelf.c (process_archive): Likewise.
657 (get_section_type_name): Rename indicies to indices.
658 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
659 (process_section_groups): Likewise.
661 2018-07-20 Maciej W. Rozycki <macro@mips.com>
663 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
666 2018-07-20 Nick Clifton <nickc@redhat.com>
668 * objcopy.c (add_specific_symbols): Free buffer on exit.
669 (add_redefine_syms_file): Close file handle on exit.
670 (copy_object): Close file handle on early exit.
671 Free buffer on early exit.
672 Free gaps buffers once they are no longer needed.
673 * dwarf.c (display_debug_frames): Free allocated memory on exit.
674 (load_separate_debug_info): Free allocate memory on early exit.
676 2018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
677 Maciej W. Rozycki <macro@mips.com>
679 * readelf.c (print_mips_ases): Add MMI extension.
681 2018-07-19 DJ Delorie <dj@redhat.com>
683 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
685 2018-07-19 Nick Clifton <nickc@redhat.com>
687 * dwarf.c (read_cie): Free allocated memory before returning with
690 2018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
692 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
695 2018-07-16 Nick Clifton <nickc@redhat.com>
697 * README-how-to-make-a-release: Add note to check for new top
698 level files and add them to the src-release.sh script.
700 2018-07-14 Nick Clifton <nickc@redhat.com>
702 * README-how-to-make-a-release: Updated with corrections based on
703 the 2.31 release experience.
705 2018-07-12 Francois H. Theron <francois.theron@netronome.com>
707 * readelf.c (process_section_headers): Don't print section type
708 twice for --section-details.
710 2018-07-10 Alan Modra <amodra@gmail.com>
712 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
715 2018-07-06 Nick Clifton <nickc@redhat.com>
717 * readelf.c (same_section): New function.
718 (print_gnu_build_attribute_description): Do not complain about
719 gaps that cross a section boundary.
721 2018-07-05 Nick Clifton <nickc@redhat.com>
723 * po/bg.po: Updated Bulgarian translation.
725 2018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
727 * NEWS: Use command-line consistently when used in a compount word.
728 * doc/binutils.texi: Likewise and fix trailing whitespace on same
731 2018-06-26 Nick Clifton <nickc@redhat.com>
733 * po/sv.po: Updated Swedish translation.
734 * po/uk.po: Updated Ukranian translation.
736 2018-06-26 Nick Clifton <nickc@redhat.com>
738 * doc/binutils.texi: Fix spelling mistakes.
739 * README--how-to-make-a-release: Likewise.
741 2018-06-25 Tom Tromey <tom@tromey.com>
743 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
746 2018-06-24 Nick Clifton <nickc@redhat.com>
748 * README-how-to-make-a-release: Update with experiences from
750 * po/binutils.pot: Regenerate.
751 * configure: Regenerate.
753 2018-06-24 Nick Clifton <nickc@redhat.com>
756 * NEWS: Add marker for 2.31.
758 2018-06-21 Alan Modra <amodra@gmail.com>
760 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
761 * doc/Makefile.in: Regenerate.
763 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
765 * configure.ac: Remove AC_PREREQ.
766 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
767 info-in-builddir no-texinfo.tex.
768 * Makefile.in: Re-generate.
769 * aclocal.m4: Re-generate.
770 * config.in: Re-generate.
771 * configure: Re-generate.
772 * doc/Makefile.in: Re-generate.
774 2018-06-19 Andreas Schwab <schwab@suse.de>
776 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
777 (is_8bit_abs_reloc): New function.
778 (is_6bit_abs_reloc): New function.
779 (is_6bit_inplace_sub_reloc): New function.
780 (apply_relocations): Use them. Handle 6-bit relocations.
782 2018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
784 * readelf.c (print_mips_ases): Add GINV extension.
786 2018-06-14 H.J. Lu <hongjiu.lu@intel.com>
789 * readelf.c (get_symbol_version_string): Check if the first
790 symbol version is base version.
792 2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
793 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
795 * readelf.c (print_mips_ases): Add CRC.
797 2018-06-13 Nick Clifton <nickc@redhat.com>
799 * doc/binutils.texi (objdump): Add missing closing square
800 parenthesis to listing of objcopy's command line options.
802 2018-06-11 Nick Clifton <nickc@redhat.com>
804 * po/es.po: Updated Spanish translation.
806 2018-06-01 H.J. Lu <hongjiu.lu@intel.com>
808 * configure: Regenerated.
810 2018-05-31 Alan Modra <amodra@gmail.com>
812 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
813 set CC_FOR_TARGET. Run test non-native.
814 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
816 (test_follow_debuglink): Run test non-native.
818 2018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
821 * ar.c (display_offsets): New variable.
822 (usage): Add description of 'O' operator.
823 (decode_option): Handle 'O' operator.
824 (print_descr): Pass display_offsets to print_arelt_descr.
825 * arsup.c: Update call to printy_arelt_descr.
826 * objdump.c: Likewise.
827 * bucomm.c (print_arelt_descr): If offsets parameter is true then
828 display offset of archive element within the archive.
829 * bucomm.h: Update prototype for print_arelt_descr.
830 * doc/binutils.texi: Update description of ar command.
831 * NEWS: Mention the new feature.
832 * testsuite/binutils-all/ar.exp: Add text of new feature.
834 2018-05-28 Alan Modra <amodra@gmail.com>
837 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
838 unsupported rather than fail on compile errors.
839 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
840 Likewise. Save and restore CFLAGS_FOR_TARGET.
842 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
844 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
846 2018-05-18 John Darrington <john@darrington.wattle.id.au>
848 * readelf.c: Add support for s12z architecture.
849 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
852 2018-05-15 Tamar Christina <tamar.christina@arm.com>
855 * doc/binutils.texi (-M): Document AArch64 options.
857 2018-05-15 Tamar Christina <tamar.christina@arm.com>
860 * doc/binutils.texi (-M): Document AArch64 options.
861 * NEWS: Document notes and warnings.
863 2018-05-15 Alan Modra <amodra@gmail.com>
865 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
866 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
867 and *uclinux* into *linux*.
868 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
869 strip-13 test, exclude arm-vxworks and arm-windiss.
871 2018-05-10 John Darrington <john@darrington.wattle.id.au>
873 * readelf.c (get_machine_name): EM_S12Z - handle new case.
875 2018-05-09 Alan Modra <amodra@gmail.com>
877 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
879 2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
881 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
883 2018-05-08 Alan Modra <amodra@gmail.com>
886 * objcopy.c (is_strip_section): Strip groups without a valid
889 2018-05-07 Alan Modra <amodra@gmail.com>
892 * objcopy.c (group_signature): Don't accept groups that use a
893 symbol table other than the one we've read.
895 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
897 * readelf.c: Very basic support for EM_NFP and its section types.
898 * testsuite/binutils-all/nfp: New directory.
899 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
901 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
902 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
903 * testsuite/binutils-all/nfp/test1.d: New file.
904 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
905 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
906 * NEWS: Mention the new support.
908 2018-04-27 Maciej W. Rozycki <macro@mips.com>
910 * testsuite/lib/binutils-common.exp (match_target): New procedure.
911 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
912 of `istarget' for matching with `target', `not-target', `skip'
913 and `not-skip' options.
915 2018-04-26 Nick Clifton <nickc@redhat.com>
917 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
918 32-bit absolute reloc for the HPPA target.
919 * testsuite/binutils-all/note-5.d: New test.
920 * testsuite/binutils-all/note-5.s: Source file for new test.
921 * testsuite/binutils-all/objcopy.exp: Run new test.
923 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
925 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
926 * testsuite/binutils-all/elfedit-3.d: Likewise.
927 * testsuite/binutils-all/objcopy.exp: Likewise.
928 * testsuite/binutils-all/strip-3.d: Likewise.
929 * testsuite/lib/binutils-common.exp: Likewise.
931 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
932 Mickaël Guêné <mickael.guene@st.com>
934 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
935 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
937 2018-04-25 Alan Modra <amodra@gmail.com>
939 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
941 * testsuite/binutils-all/objcopy.exp: Likewise.
942 * testsuite/lib/binutils-common.exp: Likewise.
944 2018-04-18 Nick Clifton <nickc@redhat.com>
947 * dwarf.c (read_and_display_attr_value): Replace assertions with
948 test and warning message.
950 2018-04-18 Alan Modra <amodra@gmail.com>
952 * testsuite/lib/binutils-common.exp: Remove support for assorted
955 2018-04-17 Nick Clifton <nickc@redhat.com>
958 * readelf.c (print_symbol): If the width is zero, return straight
962 * dwarf.c (process_cu_tu_index): Test for a potential buffer
963 overrun before copying signature pointer.
965 2018-04-17 Alan Modra <amodra@gmail.com>
967 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
969 2018-04-16 Alan Modra <amodra@gmail.com>
971 * readelf.c (get_machine_name): Correct typo.
973 2018-04-16 Alan Modra <amodra@gmail.com>
975 * configure.ac: Remove arm-epoc-pe support.
976 * dlltool.c: Likewise.
977 * configure: Regenerate.
979 2018-04-16 Alan Modra <amodra@gmail.com>
981 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
984 2018-04-16 Alan Modra <amodra@gmail.com>
986 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
988 * testsuite/binutils-all/copy-3.d: Likewise.
989 * testsuite/binutils-all/objcopy.exp: Likewise.
990 * testsuite/lib/binutils-common.exp: Likewise.
992 2018-04-16 Alan Modra <amodra@gmail.com>
994 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
996 2018-04-16 Alan Modra <amodra@gmail.com>
998 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
1000 2018-04-16 Alan Modra <amodra@gmail.com>
1002 * testsuite/binutils-all/objdump.exp: Remove we32k support.
1004 2018-04-16 Alan Modra <amodra@gmail.com>
1006 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
1007 * testsuite/binutils-all/objdump.exp: Remove m88k support.
1009 2018-04-16 Alan Modra <amodra@gmail.com>
1011 * readelf.c: Remove i370 support.
1012 * testsuite/binutils-all/objdump.exp: Likewise.
1014 2018-04-16 Alan Modra <amodra@gmail.com>
1016 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
1017 * testsuite/lib/binutils-common.exp: Likewise.
1019 2018-04-16 Alan Modra <amodra@gmail.com>
1021 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
1023 2018-04-16 Alan Modra <amodra@gmail.com>
1025 * Makefile.am: Remove IEEE 695 support.
1026 * budbg.h: Likewise.
1027 * doc/binutils.texi: Likewise.
1028 * makefile.vms: Likewise.
1029 * objcopy.c: Likewise.
1030 * objdump.c: Likewise.
1031 * rddbg.c: Likewise.
1033 * Makefile.in: Regenerate.
1034 * po/POTFILES.in: Regenerate.
1036 2018-04-16 Alan Modra <amodra@gmail.com>
1038 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
1039 * testsuite/binutils-all/nm.exp: Likewise.
1041 2018-04-16 Alan Modra <amodra@gmail.com>
1043 * .gitignore: Remove netware support.
1044 * Makefile.am: Likewise.
1045 * configure.ac: Likewise.
1046 * doc/Makefile.am: Likewise.
1047 * doc/binutils.texi: Likewise.
1048 * testsuite/binutils-all/nm.exp: Likewise.
1049 * nlmconv.c: Delete.
1050 * nlmconv.h: Delete.
1051 * nlmheader.y: Delete.
1052 * Makefile.in: Regenerate.
1053 * configure: Regenerate.
1054 * doc/Makefile.in: Regenerate.
1055 * po/POTFILES.in: Regenerate.
1057 2018-04-16 Alan Modra <amodra@gmail.com>
1059 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
1061 2018-04-14 Alan Modra <amodra@gmail.com>
1063 * readelf.c (get_machine_name): Revert 2018-04-11 change.
1065 2018-04-12 Nick Clifton <nickc@redhat.com>
1068 * readelf.c (process_dynamic_section): Correct dynamic string
1069 table size calculation.
1071 2018-04-11 Alan Modra <amodra@gmail.com>
1073 * ieee.c: Remove i960 support.
1074 * od-macho.c: Remove i860 support.
1075 * readelf.c: Remove i860 and i960 support.
1076 * testsuite/binutils-all/objcopy.exp: Likewise.
1077 * testsuite/binutils-all/objdump.exp: Likewise.
1078 * testsuite/lib/binutils-common.exp: Likewise.
1080 2018-04-11 Maciej W. Rozycki <macro@mips.com>
1082 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
1083 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
1085 2018-04-10 Alan Modra <amodra@gmail.com>
1087 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
1088 reloc=11 for pru and reloc=50 for nds32.
1089 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
1091 2018-04-09 Maciej W. Rozycki <macro@mips.com>
1093 * testsuite/binutils-all/strip-15.d: New test.
1094 * testsuite/binutils-all/strip-15rel.s: New test source.
1095 * testsuite/binutils-all/strip-15rela.s: New test source.
1096 * testsuite/binutils-all/strip-15mips64.s: New test source.
1097 * testsuite/binutils-all/objcopy.exp: Run the new test.
1099 2018-04-09 Maciej W. Rozycki <macro@mips.com>
1101 * testsuite/binutils-all/strip-14.d: New test.
1102 * testsuite/binutils-all/strip-14rel.s: New test source.
1103 * testsuite/binutils-all/strip-14rela.s: New test source.
1104 * testsuite/binutils-all/strip-14mips64.s: New test source.
1105 * testsuite/binutils-all/objcopy.exp: Run the new test.
1107 2018-04-06 Tom Tromey <tom@tromey.com>
1109 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
1110 constants from DWARF 5.
1112 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
1115 * configure: Regenerated.
1117 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1119 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
1120 than `.dc.w' in second relocation.
1122 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1124 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
1125 relocation type 0x8f' error message.
1127 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1129 * testsuite/binutils-all/strip-13.s: Rename to...
1130 * testsuite/binutils-all/strip-13rela.s: ... this.
1131 * testsuite/binutils-all/strip-13rel.s: New test source.
1132 * testsuite/binutils-all/strip-13mips64.s: New test source.
1133 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
1134 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
1135 `m68hc11-*' to `not-target' list.
1136 * testsuite/binutils-all/objcopy.exp: Switch between sources for
1139 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1141 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
1142 241 (0xf1) for the relocation number and RELA addend.
1143 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
1146 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
1148 * MAINTAINERS: Update my e-mail address.
1150 2018-04-04 Nick Clifton <nickc@redhat.com>
1152 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
1154 2018-03-23 Nick Clifton <nickc@redhat.com>
1156 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
1158 (print_gnu_build_attribute_description): If no file start symbol
1159 could be found, look for one two bytes into the file.
1160 * testsuite/binutils-all/note-4-64.s: Set the address of the file
1161 start symbol to two bytes into the file.
1162 * testsuite/binutils-all/note-4-32.s: Likewise.
1164 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
1166 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
1167 DF_1_WEAKFILTER and DF_1_NOCOMMON.
1169 2018-03-20 Nick Clifton <nickc@redhat.com>
1171 * po/es.po: Updated Spanish translation.
1172 * po/ru.po: Updated Russian translation.
1174 2018-03-13 Nick Clifton <nickc@redhat.com>
1177 * stabs.c (pop_binincl): Fail if the file index is off the end of
1180 2018-03-13 Nick Clifton <nickc@redhat.com>
1183 * stabs.c (parse_number): Add p_end parameter and use it to check
1184 the validity of the pp parameter. Add checks to prevent walking
1185 off the end of the string buffer.
1186 (parse_stab_string): Likewise.
1187 (parse_stab_type): Likewise.
1188 (parse_stab_type_number): Likewise.
1189 (parse_stab_range_type): Likewise.
1190 (parse_stab_sun_builtin_type): Likewise.
1191 (parse_stab_sun_floating_type): Likewise.
1192 (parse_stab_enum_type): Likewise.
1193 (parse_stab_struct_type): Likewise.
1194 (parse_stab_baseclasses): Likewise.
1195 (parse_stab_struct_fields): Likewise.
1196 (parse_stab_cpp_abbrev): Likewise.
1197 (parse_stab_one_struct_field): Likewise.
1198 (parse_stab_members): Likewise.
1199 (parse_stab_tilde_field): Likewise.
1200 (parse_stab_array_type): Likewise.
1202 * parse_stab: Compute the end of the string and then pass it on to
1203 individual parser functions.
1205 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
1208 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
1211 2018-03-07 Alan Modra <amodra@gmail.com>
1213 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
1214 * configure: Regenerate.
1216 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
1219 * objdump.c (is_significant_symbol_name): Return TRUE for all
1221 (find_symbol_for_address): Replace linear search with binary
1222 search on dynamic relocations.
1224 2018-03-01 Nick Clifton <nickc@redhat.com>
1227 * dwarf.c (display_debug_ranges): Check that the offset loaded
1228 from the range_entry structure is valid.
1230 2018-03-01 Alan Modra <amodra@gmail.com>
1232 * configure.ac (ALL_LINGUAS): Add sr. Sort.
1233 * configure: Regenerate.
1235 2018-02-27 Nick Clifton <nickc@redhat.com>
1237 * po/pt.po: New Portuguese translation.
1238 * configure.ac (ALL_LINGUAS): Add pt.
1239 * configure: Regenerate.
1241 2018-02-27 Nick Clifton <nickc@redhat.com>
1244 * objcopy.c (copy_object): Check the error status after marking
1245 symbols used in relocations.
1246 * testsuite/binutils-all/strip-13.s: New test source file.
1247 * testsuite/binutils-all/strip-13.s: New test driver file.
1248 * testsuite/binutils-all/objcopy.exp: Run the new test.
1250 2018-02-26 Alan Modra <amodra@gmail.com>
1252 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1253 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1255 2018-02-23 Alan Modra <amodra@gmail.com>
1257 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1258 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1260 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
1262 * doc/binutils.texi (objcopy): Add missing closing square
1263 parenthesis to listing of objcopy's command line options.
1265 2018-02-19 Matthias Klose <doko@debian.org>
1267 * strings.c (long_options): Include-all-whitespace does not take
1270 2018-02-13 Alan Modra <amodra@gmail.com>
1273 * testsuite/binutils-all/group-7.s,
1274 * testsuite/binutils-all/group-7a.d,
1275 * testsuite/binutils-all/group-7b.d,
1276 * testsuite/binutils-all/group-7c.d: New tests.
1277 * testsuite/binutils-all/objcopy.exp: Run them.
1279 2018-02-08 Nick Clifton <nickc@redhat.com>
1282 * dwarf.c (load_separate_debug_file): Return early if the user is
1283 not interested in debug links.
1285 2018-02-06 Nick Clifton <nickc@redhat.com>
1288 * readelf.c (find_section): Replace assertion with test and return
1290 (find_section_by_address): Add test of section header table
1292 (find_section_by_type): Likewise.
1293 (find_section_in_set): Likewise.
1295 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1297 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
1298 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
1299 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
1300 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
1302 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1304 * testsuite/config/default.exp (binutils_run): Document
1305 `binutils_run_status'.
1306 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
1308 (run_dump_test): Add `error', `error_output', `warning' and
1309 `warning_output' options. Update documentation accordingly.
1311 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1313 * dwarf.c (dwarf_regnames_riscv): New register name table.
1314 (init_dwarf_regnames_riscv): New function.
1315 (init_dwarf_regnames): Add call to initialise RiscV register
1317 * dwarf.h (init_dwarf_regnames_riscv): Declare.
1318 * objdump.c (dump_dwarf): Add call to initialise RiscV register
1321 2018-02-01 Alan Modra <amodra@gmail.com>
1324 * objdump.c (load_specific_debug_section): Check for overflow
1325 when adding one to section size for a string section terminator.
1327 2018-01-30 Nick Clifton <nickc@redhat.com>
1330 * doc/binutils.texi (nm): Update description to point out that
1331 zero-initialized values can also be shown as type B, b, S or s
1332 since they can be stored in the BSS section.
1334 2018-01-30 Alan Modra <amodra@gmail.com>
1336 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
1337 "artificially large" end address.
1339 2018-01-28 Nick Clifton <nickc@redhat.com>
1341 * README-how-to-make-a-release: Add note about checking gpg key
1342 and the results of gnupload.
1344 2018-01-27 Nick Clifton <nickc@redhat.com>
1346 * README-how-to-make-a-release: Add details on how to actually
1349 2018-01-26 Nick Clifton <nickc@redhat.com>
1351 * README-how-to-make-a-release: Add more details on updating
1354 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1356 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
1359 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1361 * MAINTAINERS: Update my company e-mail address.
1363 2018-01-22 Nick Clifton <nickc@redhat.com>
1365 * po/sv.po: Updated Swedish translation.
1367 2018-01-18 Nick Clifton <nickc@redhat.com>
1369 * po/bg.po: Updated Bulgarian translation.
1371 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1373 * README-how-to-make-a-release: Add reminder to update the
1374 branch name in gdbadmin's crontab on sourceware.
1376 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1378 * README-how-to-make-a-release: Remove trailing spaces.
1380 2018-01-16 Nick Clifton <nickc@redhat.com>
1382 * po/fr.po: Updated French translation.
1384 2018-01-15 Nick Clifton <nickc@redhat.com>
1386 * po/uk.po: Updated Ukranian translation.
1388 2018-01-13 Nick Clifton <nickc@redhat.com>
1390 * README-how-to-make-a-release: Update notes.
1391 * po/binutils.pot: Regenerated.
1393 2018-01-13 Nick Clifton <nickc@redhat.com>
1395 * configure: Regenerate.
1397 2018-01-13 Nick Clifton <nickc@redhat.com>
1399 2.30 branch created.
1400 * NEWS: Add marker for 2.30.
1402 2018-01-12 Nick Clifton <nickc@redhat.com>
1404 * README-how-to-make-a-release: Add notes on how to make the
1405 branch and prelease snapshot.
1406 * BRANCHES: Add binutils-2_29-branch.
1408 2018-01-10 Nick Clifton <nickc@redhat.com>
1410 * MAINTAINERS: Note that it is now the configure.ac file and not
1411 the configure.in file that needs to be kept in sync with gcc.
1412 Add a note about sending patches for libiberty to gcc.
1414 2018-01-03 Nick Clifton <nickc@redhat.com>
1416 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
1419 2018-01-03 Nick Clifton <nickc@redhat.com>
1421 * objcopy.c (objcopy_internal_note): New structure.
1422 (gap_exists): New function.
1423 (is_open_note): New function.
1424 (is_func_note): New function.
1425 (is_64bit): New function.
1426 (merge_gnu_build_notes): Handle v3 notes. Do not merge
1427 if there are relocations against the notes.
1428 * readelf.c (get_note_type): Use short names for build attribute
1430 (print_symbol_for_build_attribute): Rename to
1431 get_symbol_for_build_attribute. Returns the found symbol rather
1433 (print_gnu_build_attribute_description): Maintain address ranges
1434 for function notes as well as global notes. Handle v3 notes.
1435 (print_gnu_build_attribute_name): Use more space for printing the
1437 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
1438 Eliminate symbol references in order to remove the need for
1440 * testsuite/binutils-all/note-2-64.s: Likewise.
1441 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
1443 * testsuite/binutils-all/note-3-64.s: Likewise.
1444 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
1446 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
1447 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
1448 * testsuite/binutils-all/note-2-32.d: Likewise.
1449 * testsuite/binutils-all/note-2-64.d: Likewise.
1450 * testsuite/binutils-all/note-3-32.d: Likewise.
1451 * testsuite/binutils-all/note-3-64.d: Likewise.
1452 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
1453 * testsuite/binutils-all/note-4-32.s: New test.
1454 * testsuite/binutils-all/note-4-64.d: New test result file.
1455 * testsuite/binutils-all/note-4-32.d: New test result file.
1457 2018-01-03 Alan Modra <amodra@gmail.com>
1459 Update year range in copyright notice of all files.
1461 For older changes see ChangeLog-2017
1463 Copyright (C) 2018 Free Software Foundation, Inc.
1465 Copying and distribution of this file, with or without modification,
1466 are permitted in any medium without royalty provided the copyright
1467 notice and this notice are preserved.
1473 version-control: never