1 2016-12-23 Maciej W. Rozycki <macro@imgtec.com>
3 * testsuite/binutils-all/mips/mips16-extend-insn.d: Update for
6 2016-12-23 Maciej W. Rozycki <macro@imgtec.com>
8 * testsuite/binutils-all/mips/mips16-extend-insn.d: New test.
9 * testsuite/binutils-all/mips/mips16-extend-insn.s: New test
11 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
13 2016-12-23 Tristan Gingold <gingold@adacore.com>
15 * configure: Regenerate.
17 2016-12-23 Tristan Gingold <gingold@adacore.com>
19 * NEWS: Add marker for 2.28.
21 2016-12-23 Tristan Gingold <gingold@adacore.com>
23 * po/binutils.pot: Regenerate.
25 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
27 * testsuite/binutils-all/mips/mips16-undecoded.s: Use `.module'
28 rather than `.set' to set the ISA level.
30 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
32 * testsuite/binutils-all/mips/mips16-extend-noinsn.d: Adjust
33 test for separate EXTEND prefix disassembly.
35 2016-12-20 Andrew Waterman <andrew@sifive.com>
37 * readelf.c (get_machine_flags): Use
38 EF_RISCV_FLOAT_ABI_{SOFT,SINGLE,DOBULE,QUAD) instead of
39 EF_RISCV_{SOFT,HARD}_FLOAT.
41 2016-12-14 Maciej W. Rozycki <macro@imgtec.com>
43 * testsuite/binutils-all/mips/mips-ase-1.d: New test.
44 * testsuite/binutils-all/mips/mips-ase-2.d: New test.
45 * testsuite/binutils-all/mips/mips-ase-3.d: New test.
46 * testsuite/binutils-all/mips/mips-ase-1.s: New test source.
47 * testsuite/binutils-all/mips/mips-ase-2.s: New test source.
48 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
50 2016-12-13 Jiong Wang <jiong.wang@arm.com>
52 * readelf.c (is_32bit_abs_reloc): Recognize R_AARCH64_P32_ABS32.
54 2016-12-13 Nick Clifton <nickc@redhat.com>
56 * MAINTAINERS (Past Maintainers): New section. Move Mark
59 2016-12-09 Maciej W. Rozycki <macro@imgtec.com>
61 * testsuite/binutils-all/mips/mips16-extend-noinsn.d: New test.
62 * testsuite/binutils-all/mips/mips16-extend-noinsn.s: New test
64 * testsuite/binutils-all/mips/mips.exp: Run the new test.
66 2016-12-08 Maciej W. Rozycki <macro@imgtec.com>
68 * testsuite/binutils-all/mips/mips16-pcrel.d: New test.
69 * testsuite/binutils-all/mips/mips16-pcrel.s: New test source.
70 * testsuite/binutils-all/mips/mips.exp: Run the new test.
72 2016-12-08 Étienne Buira <etienne.buira@gmail.com>
74 * readelf.c (process_program_headers): Always use hex prefix when
75 displaying the segment alignment.
77 2016-12-06 Nick Clifton <nickc@redhat.com>
80 * objcopy.c (mark_symbols_used_in_relocations): Check for a null
81 symbol pointer pointer before attempting to mark the symbol as
84 2016-12-05 Jose E. Marchesi <jose.marchesi@oracle.com>
86 * MAINTAINERS: Add myself as maintainer for the SPARC targets.
88 2016-12-05 Nick Clifton <nickc@redhat.com>
91 * objcopy.c (mark_symbols_used_in_relocations): Check for a null
92 symbol pointer before attempting to mark the symbol as kept.
94 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
96 * nm.c (sort_symbols_by_size): Don't read symbol size if symbol
99 2016-11-30 Nick Clifton <nickc@redhat.com>
102 * readelf.c (process_program_headers): Do not warn about out of
103 order PT_LOAD segments.
105 2016-11-29 Claudiu Zissulescu <claziss@synopsys.com>
107 * testsuite/binutils-all/arc/objdump.exp (Warning test): Update
110 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
112 * dwarf.c: Fix spelling in comments.
113 * dwarf.h: Fix spelling in comments.
114 * objcopy.c: Fix spelling in comments.
115 * od-macho.c: Fix spelling in comments.
116 * rclex.c: Fix spelling in comments.
117 * readelf.c: Fix spelling in comments.
118 * stabs.c: Fix spelling in comments.
120 2016-11-23 Nick Clifton <nickc@redhat.com>
123 * readelf.c (process_program_headers): Check PT_LOAD and PT_PHDR
124 segments for validity.
126 2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
128 * configure: Regenerate.
130 2016-11-22 Alan Modra <amodra@gmail.com>
133 * NEWS: Mention PowerPC VLE relocation error.
135 2016-11-16 Mark Wielaard <mark@klomp.org>
137 * cxxfilt.c (main): Recognize rust_demangling.
139 2016-11-14 Rudy <jacky.chouchou@yandex.ru>
142 * dlltool.c (struct export): Remove hint field.
143 (make_one_lib_file): Store the ordinal value for IDATA6 not the
145 (gen_lib_file): Delete reference to hint field.
146 (mangle_defs): Delete computation of hint field.
148 2016-11-11 Nick Clifton <nickc@redhat.com>
151 * nm.c (with_symbol_versions): New local variable.
152 (long_options): Add --with-symbol-versions.
153 (usage): Mention --with-symbol-versions.
154 (print_symbol): If with_symbol_versions is set then display the
155 version information associated with the symbol.
156 * NEWS: Mention the new feature.
157 * doc/binutils.texi (nm): Document the new option.
158 (objdump): Describe how symbol version information is displayed
159 for dynamic symbol dumps.
160 (readelf): Describe how symbol version information is displayed.
161 * testsuite/binutils-all/nm.exp: Add a test of the new feature.
163 2016-11-08 Nick Clifton <nickc@redhat.com>
166 * readelf.c (process_section_headers): Fix off-by-one error when
167 checking for invalid sh_link and sh_info fields.
169 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
171 * objcopy.c (copy_section): Add extra calls to free for error
174 2016-11-04 Tom Tromey <tom@tromey.com>
176 * dwarf-mode.el (dwarf-browse): Set default-directory. Bump
179 2016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
181 * MAINTAINERS: Add myself and Andrew Waterman as maintainers for
184 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
185 Andrew Waterman <andrew@sifive.com>
187 Add support for RISC-V architecture.
188 * readelf.c (guess_is_rela): Add EM_RISCV.
189 (get_machine_name): Likewise.
190 (dump_relocations): Add support for riscv relocations.
191 (get_machine_flags): Add support for riscv flags.
192 (is_32bit_abs_reloc): Add R_RISCV_32.
193 (is_64bit_abs_reloc): Add R_RISCV_64.
194 (is_none_reloc): Add R_RISCV_NONE.
195 * testsuite/binutils-all/objdump.exp (cpus_expected): Add riscv.
196 Expect the debug_ranges test to fail.
198 2016-10-17 Nick Clifton <nickc@redhat.com>
200 * readelf.c (apply_relocations): Fail if the symbol table section
201 linked to by the reloc section does not have either the SHT_SYMTAB
203 (print_gnu_note): Decode the contents of NT_GNU_HWCAP notes.
204 Print the contents of unknown note types.
205 (process_note): Add the file and section to the parameter list.
206 Use print_symbol to display the note name.
207 Display the contents of unknown note types.
208 (process_corefile_note_segment): Rename to process_notes_at.
209 Add section parameter. Apply relocations to the notes when
210 loading from a section. Display section name when processing
212 * testsuite/binutils-all/readelf.n: Update expected output.
214 2016-10-17 Nick Clifton <nickc@redhat.com>
216 * readelf.c (get_dynamic_type): Add DT_SYMTAB_SHNDX.
217 (get_machine_type): Add EM_CLOUDSHIELD, EM_COREA_1ST,
218 EM_COREA_2ND, EM_OPEN8, EM_VIDEOCORE5, EM_56800EX, EM_BA1, EM_BA2,
219 EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_KMX16, EM_KMX8,
220 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA,
221 EM_Z80, EM_AMDGPU, EM_RISCV.
222 (get_osabi_name): Add ELFOSABI_CLOUDABI and ELFOSABI_OPENVS.
223 (get_group_flags): Update to handle flags in the
224 GRP_MASKOS and GRP_MASKPROC ranges.
226 2016-10-14 Luis Machado <lgustavo@codesourcery.com>
228 * testsuite/lib/utils-lib.exp (run_dump_test): Call remote_download
229 to copy file to remote host.
231 2016-10-11 Nick Clifton <nickc@redhat.com>
233 * objdump.c (is_significant_symbol_name): New function.
234 (remove_useless_symbols): Do not remove significanr symbols.
235 (find_symbol_for_address): If an exact match for the specified
236 address has not been found, try scanning the dynamic relocs to see
237 if one of these matches the address. If so, use the symbol
238 associated with the reloc.
239 (objdump_print_addr_with_symbol): Do not print offsets to symbols
241 (disassemble_section): Only use dynamic relocs if the user
243 (disassemble_data): Always load dynamic relocs if they are
246 2016-10-06 Alan Modra <amodra@gmail.com>
248 * dlltool.c: Spell fall through comments consistently.
249 * objcopy.c: Likewise.
250 * readelf.c: Likewise.
251 * dwarf.c: Add missing fall through comments.
252 * elfcomm.c: Likewise.
253 * sysinfo.y: Likewise.
254 * readelf.c: Likewise. Also remove extraneous comments.
256 2016-10-06 Alan Modra <amodra@gmail.com>
258 * cxxfilt.c (usage): Add ATTRIBUTE_NORETURN.
259 * elfedit.c (usage): Likewise.
260 * nm.c (usage): Likewise.
261 * objcopy.c (copy_usage, strip_usage): Likewise.
262 * srconv.c (show_usage): Likewise.
263 * strings.c (usage): Likewise.
264 * sysdump.c (show_usage): Likewise.
265 * srconv.c: Remove unneeded forward function declarations.
266 * strings.c: Likewise.
267 * sysdump.c: Likewise.
269 2016-10-06 Alan Modra <amodra@gmail.com>
271 * coffdump.c (dump_coff_where): Add missing break.
272 * stabs.c (stab_xcoff_builtin_type): Likewise.
274 2016-09-29 Alan Modra <amodra@gmail.com>
276 * readelf.c (process_arch_specific): Call process_power_specific
279 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
281 * Makefile.am: Replace AM_CLFAGS with AM_CFLAGS_FOR_BUILD
282 when building with CC_FOR_BUILD compiler.
283 * Makefile.in: Regenerate.
284 * configure: Likewise.
285 * doc/Makefile.in: Likewise.
287 2016-09-26 Alan Modra <amodra@gmail.com>
289 * readelf.c (display_power_gnu_attribute): Catch truncated section
290 for all powerpc attributes. Display long double ABI. Don't
291 capitalize words, except for names. Show known bits of tag values
292 when some unknown bits are present. Whitespace fixes.
294 2016-09-26 Alan Modra <amodra@gmail.com>
296 * nm.c (get_elf_symbol_type): Don't use sprintf with translated
297 strings, use asprintf instead.
298 (get_coff_symbol_type): Likewise.
300 2016-09-19 Alan Modra <amodra@gmail.com>
302 * nm.c (print_symbol): Remove is_synthetic param. Test sym->flags
304 (print_size_symbols, print_symbols): Adjust to suit, deleting
305 now unused synth_count param and fromsynth var.
306 (display_rel_file): Adjust, localizing synth_count.
308 2016-09-14 Ed Maste <emaste@freebsd.org>
310 * readelf.c (process_mips_specific): Fix typo in error message.
312 2016-09-06 Nick Clifton <nickc@redhat.com>
314 * readelf.c (request_dump_bynumber): Only call memcpy if
315 dump_sects is not NULL.
317 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
319 * readelf.c (load_specific_debug_section): Check the external
320 compression header size.
322 2016-08-19 Nick Clifton <nickc@redhat.com>
324 * testsuite/binutils-all/readelf.s: Adjust expected ordering of
326 * testsuite/binutils-all/readelf.s-64: Likewise.
328 2016-08-12 Nick Clifton <nickc@redhat.com>
330 * readelf.c (process_symbol_table): Generate a warning if a local
331 symbol is found at and offste greater than or equal to the sh_info
332 field of it's section header.
334 2016-08-08 Nick Clifton <nickc@redhat.com>
337 * dwarf.c (display_debug_lines_decoded): Add checks for running
338 off the end of the section when populating the directory table and
340 (frame_display_row): Set max_regs equal to ncols.
341 * readelf.c (load_specific_debug_section): If the section is
342 compressed, but it is not big enough to hold a compression
343 header then warn and return 0.
346 * dwarf.c (display_debug_lines_decoded): Check directory and file
347 indicies before using them to access directory and file tables.
349 2016-08-02 Nick Clifton <nickc@redhat.com>
352 * resbin.c (bin_to_res_version): Cast variables to correct type
353 for printing in error message.
355 2016-07-28 Nick Clifton <nickc@redhat.com>
358 * rescoff.c (read_coff_res_dir): Fix detection of buffer overrun.
359 * resbin.c (bin_to_res_version): Allow for the padded length of a
360 version block to be longer than the recorded length. Skip padding
363 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
365 * configure: Regenerated.
367 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
369 * doc/binutils.texi (objdump): Add ARC disassembler options.
370 * testsuite/binutils-all/arc/dsp.s: New file.
371 * testsuite/binutils-all/arc/objdump.exp: Likewise.
372 * NEWS: Mention the new feature.
374 2016-07-20 Nick Clifton <nickc@redhat.com>
376 * doc/binutils.texi (objcopy): Note that the localize symbol
377 options do not affect unique symbols.
379 2016-07-16 Alan Modra <amodra@gmail.com>
381 * ar.c: Include plugin-api.h.
384 2016-07-16 Alan Modra <amodra@gmail.com>
386 * bucomm.c: Don't include libbfd.h.
387 (endian_string, display_target_list): Delete forward declaration.
388 (display_info_table, display_target_tables): Likewise.
389 (LONGEST_ARCH): Delete.
390 (struct display_target): New.
391 (do_display_target): New function.
392 (display_target_list, display_info): Rewrite functions.
393 (display_info_table): Delete.
394 (do_info_size, do_info_header, do_info_row): New functions.
396 2016-07-16 Alan Modra <amodra@gmail.com>
398 * elfcomm.h (HOST_WIDEST_INT): Move to..
400 * od-macho.c: Don't include libbfd.h. Do include dwarf.h
401 (dump_dyld_info_rebase): Use read_leb128 rather than
402 read_unsigned_leb128.
403 (dump_dyld_info_bind, dump_dyld_info_export_1): Likewise.
404 (dump_segment_split_info): Likewise.
405 (dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums.
406 (dump_load_command): Likewise.
408 2016-07-16 Alan Modra <amodra@gmail.com>
410 * ar.c: Don't include libbfd.h.
411 * objcopy.c: Likewise.
412 * bucomm.c (bfd_get_archive_filename): Use xmalloc rather than
415 2016-07-15 Alan Modra <amodra@gmail.com>
417 * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
419 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
421 * doc/binutils.texi (objcopy): Document 'remove-relocations'.
423 * objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define.
424 (enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'.
425 (struct option strip_options): Add 'remove-relocations'.
426 (struct option copy_options): Likewise.
427 (copy_usage): Likewise.
428 (strip_usage): Likewise.
429 (handle_remove_relocations_option): New function.
430 (discard_relocations): New function.
431 (handle_remove_section_option): New function.
432 (copy_relocations_in_section): Use discard_relocations.
433 (strip_main): Use handle_remove_section_option for
434 'remove-section', and handle 'remove-relocations' option.
435 (copy_main): Likewise.
436 * testsuite/binutils-all/objcopy.exp: Run new tests.
437 * testsuite/binutils-all/remove-relocs-01.d: New file.
438 * testsuite/binutils-all/remove-relocs-01.s: New file.
439 * testsuite/binutils-all/remove-relocs-02.d: New file.
440 * testsuite/binutils-all/remove-relocs-03.d: New file.
441 * testsuite/binutils-all/remove-relocs-04.d: New file.
442 * testsuite/binutils-all/remove-relocs-05.d: New file.
443 * testsuite/binutils-all/remove-relocs-06.d: New file.
444 * NEWS: Mention new option.
446 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
448 * objcopy.c (find_section_list): Handle section patterns starting
449 with '!' being a non-matching pattern.
450 * doc/binutils.texi (objcopy): Give example of using '!' with
451 --remove-section and --only-section.
452 (strip): Give example of using '!' with --remove-section.
453 * testsuite/binutils-all/data-sections.s: New file.
454 * testsuite/binutils-all/only-section-01.d: New file.
455 * testsuite/binutils-all/remove-section-01.d: New file.
456 * testsuite/binutils-all/objcopy.exp: Run new tests.
457 * NEWS: Mention new feature.
459 2016-07-09 Alan Modra <amodra@gmail.com>
462 * objdump.c (compare_symbols): For ELF, sort same value/type
463 symbols according to size.
465 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
467 * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
469 * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
470 ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
471 (process_section_headers): Rename noread to purecode.
473 * section.c (SEC_ELF_NOREAD): Rename to ...
474 (SEC_ELF_PURECODE): ... this.
476 2016-07-01 Nick Clifton <nickc@redhat.com>
478 * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
479 extremely large decimal value.
480 (pr_range_type): Likewise.
481 (pr_array_type): Likewise.
482 (pr_struct_field): Likewise.
483 (pr_class_baseclass): Likewise.
484 (pr_class_method_variant): Likewise.
485 (pr_tag_type): Likewise.
486 (pr_int_constant): Likewise.
487 (pr_typed_constant): Likewise.
488 (pr_variable): Likewise.
489 (pr_function_parameter): Likewise.
490 (pr_start_block): Likewise.
491 (pr_lineno): Likewise.
492 (pr_end_block): Likewise.
493 (tg_enum_type): Likewise.
494 (tg_int_constant): Likewise.
495 (tg_typed_constant): Likewise.
496 (tg_start_block): Likewise.
498 2016-07-01 Nick Clifton <nickc@redhat.com>
500 * testsuite/binutils-all/objcopy.exp
501 (objcopy_test_without_global_symbol): Expect this test to fail on
502 the AArch64 and ARM targets, since they preserve their mapping
505 2016-07-01 Tristan Gingold <gingold@adacore.com>
507 * NEWS: Add marker for 2.27.
509 2016-07-30 Tristan Gingold <gingold@adacore.com>
511 * doc/binutils.texi (objdump): Fix mis-placement.
513 2016-06-28 Nick Clifton <nickc@redhat.com>
515 * testsuite/binutils-all/ar.exp: Relax previous restriction on
516 Alpha targets. Allow ELF based Alpha targets.
518 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
520 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
521 the `unique_symbol' test.
523 2016-06-28 Alan Modra <amodra@gmail.com>
526 * objdump.c (objdump_print_symname): Don't attempt to retrieve
527 version info from synthetic symbols.
529 2016-06-24 Alan Modra <amodra@gmail.com>
531 * objcopy.c (find_section_rename): Forward declare. Remove
532 ibfd and sec_ptr param. Add old_name param. Allow for NULL
533 returned_flags. Move read of section name and flags to..
534 (setup_section): ..here. Update find_section_rename call.
535 (filter_symbols): Rename section symbols for renamed sections.
536 (copy_object): Call filter_symbols when renamed sections.
537 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
538 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
540 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
542 (localize-hidden-1): xfail if is_bad_symtab.
543 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
546 2016-06-24 Alan Modra <amodra@gmail.com>
548 * objdump.c (struct print_file_list): Add "max_printed".
549 (try_print_file_open): Init new field.
550 (show_line): Don't show 5 context lines when redisplaying source.
552 2016-06-22 Nick Clifton <nickc@redhat.com>
554 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
555 Skip bfdtest1 tests for tic30 target.
556 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
558 * testsuite/binutils-all/compress.exp: Expect some tests to fail
560 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
561 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
563 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
565 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
566 if the bintest.o file was created. Use the
567 get_standard_section_names proc to get the name of the data
569 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
571 * testsuite/binutils-all/readelf.exp: Use
572 get_standard_section_names proc to get the name of the data
574 * testsuite/binutils-all/readelf.r: Allow for non standard text
576 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
577 * testsuite/binutils-all/size.exp: Allow for non standard section
579 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
580 to fail on mips targets.
581 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
582 get_standard_section_names proc.
583 (run_dump_test): Likewise.
584 (proc get_standard_section_names): New proc.
586 2016-06-22 Nick Clifton <nickc@redhat.com>
588 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
589 (process_mips_specific): Likewise.
590 (process_gnu_liblist): Likewise.
592 2016-06-21 Graham Markall <graham.markall@embecosm.com>
594 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
597 2016-06-15 Nick Clifton <nickc@redhat.com>
599 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
602 2016-06-14 John Baldwin <jhb@FreeBSD.org>
604 * objcopy.c (do_elf_stt_common): Use correct type.
606 2016-06-14 Alan Modra <amodra@gmail.com>
608 * ar.c: Expand uses of bfd_my_archive.
611 2016-06-14 Alan Modra <amodra@gmail.com>
614 * bucomm.c (bfd_get_archive_filename): Return file name within thin
617 2016-06-02 Nick Clifton <nickc@redhat.com>
620 * objcopy.c (group_signature): Fail if the input symbol table has
621 not been loaded, or if the sh_info field of the group header is 0.
623 * dwarf.c (display_debug_frames): Do not display any
624 interpretation if the block consists solely of DW__CFA_NOPs.
626 2016-05-31 Alan Modra <amodra@gmail.com>
628 * objcopy.c: Formatting, whitespace throughout.
629 (copy_main): Init newsym->othersym.
630 (parse_symflags): Make len a size_t. Adjust uses.
632 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
635 * NEWS: Mention --enable-64-bit-archive.
637 2016-05-18 Nick Clifton <nickc@redhat.com>
640 * objcopy.c (copy_relocations_in_section): Also check for the
641 symbol pointed to by sym_ptr_ptr being NULL.
643 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
645 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
646 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
648 * testsuite/binutils-all/mips/mips.exp: Run the new test.
650 2016-05-18 Nick Clifton <nickc@redhat.com>
652 * po/sv.po: Updated Swedish translation.
654 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
656 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
657 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
658 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
659 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
660 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
661 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
662 `d_val' rather than `d_ptr' member of the dynamic entry.
664 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
666 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
668 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
669 with the `strip-10' test.
671 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
673 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
676 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
678 * readelf.c (print_mips_ases): Add DSPR3.
680 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
682 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
683 (arm_attr_public_tags): Define DSP_extension attribute.
685 2016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
687 * doc/binutils.texi (nm): Update description of --size-sort.
689 2016-05-09 Nick Clifton <nickc@redhat.com>
692 * readelf.c (get_32bit_section_headers): Warn if an out of range
693 sh_link or sh_info field is encountered.
694 (get_64bit_section_headers): Likewise.
696 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
698 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
700 2016-05-03 Nick Clifton <nickc@redhat.com>
702 * po/sv.po: Updated Swedish translation.
704 2016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
706 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
707 PC relocation for AVR target.
708 (is_none_reloc): Return true if reloc is any of AVR diff
711 2016-04-29 Nick Clifton <nickc@redhat.com>
714 * readelf.c (get_solaris_segment_type): New function.
715 (get_segment_type): Call it.
717 2016-04-28 Nick Clifton <nickc@redhat.com>
719 * po/zh_CN.po: Updated Chinese (simplified) translation.
721 2016-04-28 Nick Clifton <nickc@redhat.com>
724 * testsuite/binutils-all/aarch64/illegal.s: New test.
725 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
727 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
729 * resres.c: Likewise.
731 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
733 * Makefile.in: Regenerated with automake 1.11.6.
734 * aclocal.m4: Likewise.
735 * doc/Makefile.in: Likewise.
737 2016-04-14 Nick Clifton <nickc@redhat.com>
740 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
741 string sections possibly having the SHF_STRINGS flag bit set.
742 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
743 * testsuite/binutils-all/readelf.s: Likewise.
744 * testsuite/binutils-all/readelf.s-64: Likewise.
745 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
746 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
748 2016-04-13 Nick Clifton <nickc@redhat.com>
751 * readelf.c (get_solaris_section_type): New function: Returns the
752 name of Solaris specific section types.
753 (get_solaris_dynamic_type): New function: Return the name of
754 Solaris specific dynamic types.
755 (get_dynamic_type): Use get_solaris_dynamic_type.
756 (get_section_type_name): Use get_solaris_section_type.
757 (get_solaris_symbol_visibility): New function: Returns Solaris
758 specific symbol visibilities.
759 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
760 (process_symbol_table): Likewise.
762 2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
764 * dwarf.h (init_dwarf_regnames_s390): Declare.
765 * dwarf.c (dwarf_regnames_s390): New.
766 (init_dwarf_regnames_s390): New.
767 (init_dwarf_regnames): Call it.
768 * objdump.c (dump_dwarf): Likewise.
770 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
772 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
773 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
775 * testsuite/binutils-all/mips/mips.exp: Run the new test.
777 2016-04-04 Nick Clifton <nickc@redhat.com>
780 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
781 version number if the version is zero.
783 2016-03-29 Alan Modra <amodra@gmail.com>
785 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
786 (get_dynamic_data): Likewise.
788 2016-03-22 Nick Clifton <nickc@redhat.com>
791 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
792 with run time size check.
794 * configure: Regenerate.
796 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
798 * readelf.c (decode_ARC_machine_flags): Handle nps400.
800 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
802 * readelf.c (get_machine_flags): Move arc processing into...
803 (decode_ARC_machine_flags): ... new function. Remove use of
804 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
805 "unknown arc". Merged ABI printing between two machine types.
807 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
809 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
810 to the architecture list.
812 2016-03-21 Nick Clifton <nickc@redhat.com>
814 * dlltool.c: Replace use of alloca with call to xmalloc.
815 * dllwrap.c: Likewise.
816 * nlmconv.c: Likewise.
817 * objdump.c: Likewise.
819 * winduni.c: Likewise.
820 * configure: Regenerate.
822 2016-03-07 Nick Clifton <nickc@redhat.com>
825 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
827 * testsuite/binutils-all/empty: New, empty, file.
829 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
831 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
833 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
836 * NEWS: Mention --elf-stt-common= for objcopy.
837 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
838 * objcopy.c (do_elf_stt_common): New.
839 (command_line_switch): Add OPTION_ELF_STT_COMMON.
840 (copy_options): Add --elf-stt-common=.
841 (copy_usage): Add --elf-stt-common=.
842 (copy_object): Also check do_elf_stt_common for ELF targets.
843 (copy_file): Handle do_elf_stt_common.
844 (copy_main): Handle OPTION_ELF_STT_COMMON.
845 * readelf.c (apply_relocations): Support STT_COMMON.
846 * testsuite/binutils-all/common-1.s: New file.
847 * testsuite/binutils-all/common-1a.d: Likewise.
848 * testsuite/binutils-all/common-1b.d: Likewise.
849 * testsuite/binutils-all/common-1c.d: Likewise.
850 * testsuite/binutils-all/common-1d.d: Likewise.
851 * testsuite/binutils-all/common-1e.d: Likewise.
852 * testsuite/binutils-all/common-1f.d: Likewise.
853 * testsuite/binutils-all/common-2.s: Likewise.
854 * testsuite/binutils-all/common-2a.d: Likewise.
855 * testsuite/binutils-all/common-2b.d: Likewise.
856 * testsuite/binutils-all/common-2c.d: Likewise.
857 * testsuite/binutils-all/common-2d.d: Likewise.
858 * testsuite/binutils-all/common-2e.d: Likewise.
859 * testsuite/binutils-all/common-2f.d: Likewise.
860 * testsuite/binutils-all/objcopy.exp
861 (objcopy_test_elf_common_symbols): New proc.
862 Run objcopy_test_elf_common_symbols for ELF targets
864 2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
867 * readelf.c (get_section_type_name): Add a missing break.
869 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
871 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
873 2016-02-15 Nick Clifton <nickc@redhat.com>
875 * readelf.c (get_section_type_name): Add hex prefix to offsets
876 printed for LOPROC and LOOS values. Ensure that a result is
877 always returned for the V850 target, even when an unrecognised
878 processor specific value is encountered.
879 (process_section_headers): Display key values in the order in
880 which they appear to the user. Add the "C (compressed)" value to
883 2016-02-12 H.J. Lu <hongjiu.lu@intel.com>
885 * doc/binutils.texi: Fix a typo.
887 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
889 * testsuite/binutils-all/objdump.exp: Update expected default
890 architecture value for ARC binaries.
892 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
895 * testsuite/binutils-all/objcopy.exp
896 (objcopy_test_without_global_symbol): New proc.
897 Run objcopy_test_without_global_symbol.
898 * testsuite/binutils-all/pr19547.c: New file.
900 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
903 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
905 * Makefile.in: Regenerated.
906 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
908 Run test_gnu_debuglink for native ELF build.
910 2016-01-20 Nick Clifton <nickc@redhat.com>
913 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
914 do not support inserting leading underscores.
916 2016-01-20 Mickael Guene <mickael.guene@st.com>
918 * readelf.c (get_elf_section_flags): Display y letter for section
919 with SHF_ARM_NOREAD section flag in readelf section output.
920 (process_section_headers): Add y letter in readelf section output
921 key mapping for ARM architecture.
922 * objdump.c (dump_section_header): Display NOREAD attributes as
924 * doc/binutils.texi (objdump): Note that it is correct for
925 sections to have both the READONLY and NOREAD attributes.
927 2016-01-19 John Baldwin <jhb@FreeBSD.org>
929 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
931 2016-01-19 John Baldwin <jhb@FreeBSD.org>
933 * readelf.c (get_freebsd_elfcore_note_type): New
934 (process_note): Add support for FreeBSD core notes.
936 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
937 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
939 * readelf.c (get_machine_flags): Add support for newer ARC ELF
942 2016-01-18 Alan Modra <amodra@gmail.com>
944 * configure: Regenerate.
946 2016-01-17 Alan Modra <amodra@gmail.com>
948 * configure: Regenerate.
950 2016-01-17 Alan Modra <amodra@gmail.com>
952 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
953 for m68hc11/12 and xgate triples.
955 2016-01-17 Alan Modra <amodra@gmail.com>
957 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
959 2016-01-01 Alan Modra <amodra@gmail.com>
961 Update year range in copyright notice of all files.
963 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
965 Copyright (C) 2016 Free Software Foundation, Inc.
967 Copying and distribution of this file, with or without modification,
968 are permitted in any medium without royalty provided the copyright
969 notice and this notice are preserved.
975 version-control: never