1 2016-12-13 Jiong Wang <jiong.wang@arm.com>
3 * readelf.c (is_32bit_abs_reloc): Recognize R_AARCH64_P32_ABS32.
5 2016-12-13 Nick Clifton <nickc@redhat.com>
7 * MAINTAINERS (Past Maintainers): New section. Move Mark
10 2016-12-09 Maciej W. Rozycki <macro@imgtec.com>
12 * testsuite/binutils-all/mips/mips16-extend-noinsn.d: New test.
13 * testsuite/binutils-all/mips/mips16-extend-noinsn.s: New test
15 * testsuite/binutils-all/mips/mips.exp: Run the new test.
17 2016-12-08 Maciej W. Rozycki <macro@imgtec.com>
19 * testsuite/binutils-all/mips/mips16-pcrel.d: New test.
20 * testsuite/binutils-all/mips/mips16-pcrel.s: New test source.
21 * testsuite/binutils-all/mips/mips.exp: Run the new test.
23 2016-12-08 Étienne Buira <etienne.buira@gmail.com>
25 * readelf.c (process_program_headers): Always use hex prefix when
26 displaying the segment alignment.
28 2016-12-06 Nick Clifton <nickc@redhat.com>
31 * objcopy.c (mark_symbols_used_in_relocations): Check for a null
32 symbol pointer pointer before attempting to mark the symbol as
35 2016-12-05 Jose E. Marchesi <jose.marchesi@oracle.com>
37 * MAINTAINERS: Add myself as maintainer for the SPARC targets.
39 2016-12-05 Nick Clifton <nickc@redhat.com>
42 * objcopy.c (mark_symbols_used_in_relocations): Check for a null
43 symbol pointer before attempting to mark the symbol as kept.
45 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
47 * nm.c (sort_symbols_by_size): Don't read symbol size if symbol
50 2016-11-30 Nick Clifton <nickc@redhat.com>
53 * readelf.c (process_program_headers): Do not warn about out of
54 order PT_LOAD segments.
56 2016-11-29 Claudiu Zissulescu <claziss@synopsys.com>
58 * testsuite/binutils-all/arc/objdump.exp (Warning test): Update
61 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
63 * dwarf.c: Fix spelling in comments.
64 * dwarf.h: Fix spelling in comments.
65 * objcopy.c: Fix spelling in comments.
66 * od-macho.c: Fix spelling in comments.
67 * rclex.c: Fix spelling in comments.
68 * readelf.c: Fix spelling in comments.
69 * stabs.c: Fix spelling in comments.
71 2016-11-23 Nick Clifton <nickc@redhat.com>
74 * readelf.c (process_program_headers): Check PT_LOAD and PT_PHDR
75 segments for validity.
77 2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
79 * configure: Regenerate.
81 2016-11-22 Alan Modra <amodra@gmail.com>
84 * NEWS: Mention PowerPC VLE relocation error.
86 2016-11-16 Mark Wielaard <mark@klomp.org>
88 * cxxfilt.c (main): Recognize rust_demangling.
90 2016-11-14 Rudy <jacky.chouchou@yandex.ru>
93 * dlltool.c (struct export): Remove hint field.
94 (make_one_lib_file): Store the ordinal value for IDATA6 not the
96 (gen_lib_file): Delete reference to hint field.
97 (mangle_defs): Delete computation of hint field.
99 2016-11-11 Nick Clifton <nickc@redhat.com>
102 * nm.c (with_symbol_versions): New local variable.
103 (long_options): Add --with-symbol-versions.
104 (usage): Mention --with-symbol-versions.
105 (print_symbol): If with_symbol_versions is set then display the
106 version information associated with the symbol.
107 * NEWS: Mention the new feature.
108 * doc/binutils.texi (nm): Document the new option.
109 (objdump): Describe how symbol version information is displayed
110 for dynamic symbol dumps.
111 (readelf): Describe how symbol version information is displayed.
112 * testsuite/binutils-all/nm.exp: Add a test of the new feature.
114 2016-11-08 Nick Clifton <nickc@redhat.com>
117 * readelf.c (process_section_headers): Fix off-by-one error when
118 checking for invalid sh_link and sh_info fields.
120 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
122 * objcopy.c (copy_section): Add extra calls to free for error
125 2016-11-04 Tom Tromey <tom@tromey.com>
127 * dwarf-mode.el (dwarf-browse): Set default-directory. Bump
130 2016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
132 * MAINTAINERS: Add myself and Andrew Waterman as maintainers for
135 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
136 Andrew Waterman <andrew@sifive.com>
138 Add support for RISC-V architecture.
139 * readelf.c (guess_is_rela): Add EM_RISCV.
140 (get_machine_name): Likewise.
141 (dump_relocations): Add support for riscv relocations.
142 (get_machine_flags): Add support for riscv flags.
143 (is_32bit_abs_reloc): Add R_RISCV_32.
144 (is_64bit_abs_reloc): Add R_RISCV_64.
145 (is_none_reloc): Add R_RISCV_NONE.
146 * testsuite/binutils-all/objdump.exp (cpus_expected): Add riscv.
147 Expect the debug_ranges test to fail.
149 2016-10-17 Nick Clifton <nickc@redhat.com>
151 * readelf.c (apply_relocations): Fail if the symbol table section
152 linked to by the reloc section does not have either the SHT_SYMTAB
154 (print_gnu_note): Decode the contents of NT_GNU_HWCAP notes.
155 Print the contents of unknown note types.
156 (process_note): Add the file and section to the parameter list.
157 Use print_symbol to display the note name.
158 Display the contents of unknown note types.
159 (process_corefile_note_segment): Rename to process_notes_at.
160 Add section parameter. Apply relocations to the notes when
161 loading from a section. Display section name when processing
163 * testsuite/binutils-all/readelf.n: Update expected output.
165 2016-10-17 Nick Clifton <nickc@redhat.com>
167 * readelf.c (get_dynamic_type): Add DT_SYMTAB_SHNDX.
168 (get_machine_type): Add EM_CLOUDSHIELD, EM_COREA_1ST,
169 EM_COREA_2ND, EM_OPEN8, EM_VIDEOCORE5, EM_56800EX, EM_BA1, EM_BA2,
170 EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_KMX16, EM_KMX8,
171 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA,
172 EM_Z80, EM_AMDGPU, EM_RISCV.
173 (get_osabi_name): Add ELFOSABI_CLOUDABI and ELFOSABI_OPENVS.
174 (get_group_flags): Update to handle flags in the
175 GRP_MASKOS and GRP_MASKPROC ranges.
177 2016-10-14 Luis Machado <lgustavo@codesourcery.com>
179 * testsuite/lib/utils-lib.exp (run_dump_test): Call remote_download
180 to copy file to remote host.
182 2016-10-11 Nick Clifton <nickc@redhat.com>
184 * objdump.c (is_significant_symbol_name): New function.
185 (remove_useless_symbols): Do not remove significanr symbols.
186 (find_symbol_for_address): If an exact match for the specified
187 address has not been found, try scanning the dynamic relocs to see
188 if one of these matches the address. If so, use the symbol
189 associated with the reloc.
190 (objdump_print_addr_with_symbol): Do not print offsets to symbols
192 (disassemble_section): Only use dynamic relocs if the user
194 (disassemble_data): Always load dynamic relocs if they are
197 2016-10-06 Alan Modra <amodra@gmail.com>
199 * dlltool.c: Spell fall through comments consistently.
200 * objcopy.c: Likewise.
201 * readelf.c: Likewise.
202 * dwarf.c: Add missing fall through comments.
203 * elfcomm.c: Likewise.
204 * sysinfo.y: Likewise.
205 * readelf.c: Likewise. Also remove extraneous comments.
207 2016-10-06 Alan Modra <amodra@gmail.com>
209 * cxxfilt.c (usage): Add ATTRIBUTE_NORETURN.
210 * elfedit.c (usage): Likewise.
211 * nm.c (usage): Likewise.
212 * objcopy.c (copy_usage, strip_usage): Likewise.
213 * srconv.c (show_usage): Likewise.
214 * strings.c (usage): Likewise.
215 * sysdump.c (show_usage): Likewise.
216 * srconv.c: Remove unneeded forward function declarations.
217 * strings.c: Likewise.
218 * sysdump.c: Likewise.
220 2016-10-06 Alan Modra <amodra@gmail.com>
222 * coffdump.c (dump_coff_where): Add missing break.
223 * stabs.c (stab_xcoff_builtin_type): Likewise.
225 2016-09-29 Alan Modra <amodra@gmail.com>
227 * readelf.c (process_arch_specific): Call process_power_specific
230 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
232 * Makefile.am: Replace AM_CLFAGS with AM_CFLAGS_FOR_BUILD
233 when building with CC_FOR_BUILD compiler.
234 * Makefile.in: Regenerate.
235 * configure: Likewise.
236 * doc/Makefile.in: Likewise.
238 2016-09-26 Alan Modra <amodra@gmail.com>
240 * readelf.c (display_power_gnu_attribute): Catch truncated section
241 for all powerpc attributes. Display long double ABI. Don't
242 capitalize words, except for names. Show known bits of tag values
243 when some unknown bits are present. Whitespace fixes.
245 2016-09-26 Alan Modra <amodra@gmail.com>
247 * nm.c (get_elf_symbol_type): Don't use sprintf with translated
248 strings, use asprintf instead.
249 (get_coff_symbol_type): Likewise.
251 2016-09-19 Alan Modra <amodra@gmail.com>
253 * nm.c (print_symbol): Remove is_synthetic param. Test sym->flags
255 (print_size_symbols, print_symbols): Adjust to suit, deleting
256 now unused synth_count param and fromsynth var.
257 (display_rel_file): Adjust, localizing synth_count.
259 2016-09-14 Ed Maste <emaste@freebsd.org>
261 * readelf.c (process_mips_specific): Fix typo in error message.
263 2016-09-06 Nick Clifton <nickc@redhat.com>
265 * readelf.c (request_dump_bynumber): Only call memcpy if
266 dump_sects is not NULL.
268 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
270 * readelf.c (load_specific_debug_section): Check the external
271 compression header size.
273 2016-08-19 Nick Clifton <nickc@redhat.com>
275 * testsuite/binutils-all/readelf.s: Adjust expected ordering of
277 * testsuite/binutils-all/readelf.s-64: Likewise.
279 2016-08-12 Nick Clifton <nickc@redhat.com>
281 * readelf.c (process_symbol_table): Generate a warning if a local
282 symbol is found at and offste greater than or equal to the sh_info
283 field of it's section header.
285 2016-08-08 Nick Clifton <nickc@redhat.com>
288 * dwarf.c (display_debug_lines_decoded): Add checks for running
289 off the end of the section when populating the directory table and
291 (frame_display_row): Set max_regs equal to ncols.
292 * readelf.c (load_specific_debug_section): If the section is
293 compressed, but it is not big enough to hold a compression
294 header then warn and return 0.
297 * dwarf.c (display_debug_lines_decoded): Check directory and file
298 indicies before using them to access directory and file tables.
300 2016-08-02 Nick Clifton <nickc@redhat.com>
303 * resbin.c (bin_to_res_version): Cast variables to correct type
304 for printing in error message.
306 2016-07-28 Nick Clifton <nickc@redhat.com>
309 * rescoff.c (read_coff_res_dir): Fix detection of buffer overrun.
310 * resbin.c (bin_to_res_version): Allow for the padded length of a
311 version block to be longer than the recorded length. Skip padding
314 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
316 * configure: Regenerated.
318 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
320 * doc/binutils.texi (objdump): Add ARC disassembler options.
321 * testsuite/binutils-all/arc/dsp.s: New file.
322 * testsuite/binutils-all/arc/objdump.exp: Likewise.
323 * NEWS: Mention the new feature.
325 2016-07-20 Nick Clifton <nickc@redhat.com>
327 * doc/binutils.texi (objcopy): Note that the localize symbol
328 options do not affect unique symbols.
330 2016-07-16 Alan Modra <amodra@gmail.com>
332 * ar.c: Include plugin-api.h.
335 2016-07-16 Alan Modra <amodra@gmail.com>
337 * bucomm.c: Don't include libbfd.h.
338 (endian_string, display_target_list): Delete forward declaration.
339 (display_info_table, display_target_tables): Likewise.
340 (LONGEST_ARCH): Delete.
341 (struct display_target): New.
342 (do_display_target): New function.
343 (display_target_list, display_info): Rewrite functions.
344 (display_info_table): Delete.
345 (do_info_size, do_info_header, do_info_row): New functions.
347 2016-07-16 Alan Modra <amodra@gmail.com>
349 * elfcomm.h (HOST_WIDEST_INT): Move to..
351 * od-macho.c: Don't include libbfd.h. Do include dwarf.h
352 (dump_dyld_info_rebase): Use read_leb128 rather than
353 read_unsigned_leb128.
354 (dump_dyld_info_bind, dump_dyld_info_export_1): Likewise.
355 (dump_segment_split_info): Likewise.
356 (dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums.
357 (dump_load_command): Likewise.
359 2016-07-16 Alan Modra <amodra@gmail.com>
361 * ar.c: Don't include libbfd.h.
362 * objcopy.c: Likewise.
363 * bucomm.c (bfd_get_archive_filename): Use xmalloc rather than
366 2016-07-15 Alan Modra <amodra@gmail.com>
368 * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
370 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
372 * doc/binutils.texi (objcopy): Document 'remove-relocations'.
374 * objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define.
375 (enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'.
376 (struct option strip_options): Add 'remove-relocations'.
377 (struct option copy_options): Likewise.
378 (copy_usage): Likewise.
379 (strip_usage): Likewise.
380 (handle_remove_relocations_option): New function.
381 (discard_relocations): New function.
382 (handle_remove_section_option): New function.
383 (copy_relocations_in_section): Use discard_relocations.
384 (strip_main): Use handle_remove_section_option for
385 'remove-section', and handle 'remove-relocations' option.
386 (copy_main): Likewise.
387 * testsuite/binutils-all/objcopy.exp: Run new tests.
388 * testsuite/binutils-all/remove-relocs-01.d: New file.
389 * testsuite/binutils-all/remove-relocs-01.s: New file.
390 * testsuite/binutils-all/remove-relocs-02.d: New file.
391 * testsuite/binutils-all/remove-relocs-03.d: New file.
392 * testsuite/binutils-all/remove-relocs-04.d: New file.
393 * testsuite/binutils-all/remove-relocs-05.d: New file.
394 * testsuite/binutils-all/remove-relocs-06.d: New file.
395 * NEWS: Mention new option.
397 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
399 * objcopy.c (find_section_list): Handle section patterns starting
400 with '!' being a non-matching pattern.
401 * doc/binutils.texi (objcopy): Give example of using '!' with
402 --remove-section and --only-section.
403 (strip): Give example of using '!' with --remove-section.
404 * testsuite/binutils-all/data-sections.s: New file.
405 * testsuite/binutils-all/only-section-01.d: New file.
406 * testsuite/binutils-all/remove-section-01.d: New file.
407 * testsuite/binutils-all/objcopy.exp: Run new tests.
408 * NEWS: Mention new feature.
410 2016-07-09 Alan Modra <amodra@gmail.com>
413 * objdump.c (compare_symbols): For ELF, sort same value/type
414 symbols according to size.
416 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
418 * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
420 * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
421 ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
422 (process_section_headers): Rename noread to purecode.
424 * section.c (SEC_ELF_NOREAD): Rename to ...
425 (SEC_ELF_PURECODE): ... this.
427 2016-07-01 Nick Clifton <nickc@redhat.com>
429 * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
430 extremely large decimal value.
431 (pr_range_type): Likewise.
432 (pr_array_type): Likewise.
433 (pr_struct_field): Likewise.
434 (pr_class_baseclass): Likewise.
435 (pr_class_method_variant): Likewise.
436 (pr_tag_type): Likewise.
437 (pr_int_constant): Likewise.
438 (pr_typed_constant): Likewise.
439 (pr_variable): Likewise.
440 (pr_function_parameter): Likewise.
441 (pr_start_block): Likewise.
442 (pr_lineno): Likewise.
443 (pr_end_block): Likewise.
444 (tg_enum_type): Likewise.
445 (tg_int_constant): Likewise.
446 (tg_typed_constant): Likewise.
447 (tg_start_block): Likewise.
449 2016-07-01 Nick Clifton <nickc@redhat.com>
451 * testsuite/binutils-all/objcopy.exp
452 (objcopy_test_without_global_symbol): Expect this test to fail on
453 the AArch64 and ARM targets, since they preserve their mapping
456 2016-07-01 Tristan Gingold <gingold@adacore.com>
458 * NEWS: Add marker for 2.27.
460 2016-07-30 Tristan Gingold <gingold@adacore.com>
462 * doc/binutils.texi (objdump): Fix mis-placement.
464 2016-06-28 Nick Clifton <nickc@redhat.com>
466 * testsuite/binutils-all/ar.exp: Relax previous restriction on
467 Alpha targets. Allow ELF based Alpha targets.
469 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
471 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
472 the `unique_symbol' test.
474 2016-06-28 Alan Modra <amodra@gmail.com>
477 * objdump.c (objdump_print_symname): Don't attempt to retrieve
478 version info from synthetic symbols.
480 2016-06-24 Alan Modra <amodra@gmail.com>
482 * objcopy.c (find_section_rename): Forward declare. Remove
483 ibfd and sec_ptr param. Add old_name param. Allow for NULL
484 returned_flags. Move read of section name and flags to..
485 (setup_section): ..here. Update find_section_rename call.
486 (filter_symbols): Rename section symbols for renamed sections.
487 (copy_object): Call filter_symbols when renamed sections.
488 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
489 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
491 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
493 (localize-hidden-1): xfail if is_bad_symtab.
494 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
497 2016-06-24 Alan Modra <amodra@gmail.com>
499 * objdump.c (struct print_file_list): Add "max_printed".
500 (try_print_file_open): Init new field.
501 (show_line): Don't show 5 context lines when redisplaying source.
503 2016-06-22 Nick Clifton <nickc@redhat.com>
505 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
506 Skip bfdtest1 tests for tic30 target.
507 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
509 * testsuite/binutils-all/compress.exp: Expect some tests to fail
511 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
512 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
514 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
516 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
517 if the bintest.o file was created. Use the
518 get_standard_section_names proc to get the name of the data
520 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
522 * testsuite/binutils-all/readelf.exp: Use
523 get_standard_section_names proc to get the name of the data
525 * testsuite/binutils-all/readelf.r: Allow for non standard text
527 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
528 * testsuite/binutils-all/size.exp: Allow for non standard section
530 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
531 to fail on mips targets.
532 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
533 get_standard_section_names proc.
534 (run_dump_test): Likewise.
535 (proc get_standard_section_names): New proc.
537 2016-06-22 Nick Clifton <nickc@redhat.com>
539 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
540 (process_mips_specific): Likewise.
541 (process_gnu_liblist): Likewise.
543 2016-06-21 Graham Markall <graham.markall@embecosm.com>
545 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
548 2016-06-15 Nick Clifton <nickc@redhat.com>
550 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
553 2016-06-14 John Baldwin <jhb@FreeBSD.org>
555 * objcopy.c (do_elf_stt_common): Use correct type.
557 2016-06-14 Alan Modra <amodra@gmail.com>
559 * ar.c: Expand uses of bfd_my_archive.
562 2016-06-14 Alan Modra <amodra@gmail.com>
565 * bucomm.c (bfd_get_archive_filename): Return file name within thin
568 2016-06-02 Nick Clifton <nickc@redhat.com>
571 * objcopy.c (group_signature): Fail if the input symbol table has
572 not been loaded, or if the sh_info field of the group header is 0.
574 * dwarf.c (display_debug_frames): Do not display any
575 interpretation if the block consists solely of DW__CFA_NOPs.
577 2016-05-31 Alan Modra <amodra@gmail.com>
579 * objcopy.c: Formatting, whitespace throughout.
580 (copy_main): Init newsym->othersym.
581 (parse_symflags): Make len a size_t. Adjust uses.
583 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
586 * NEWS: Mention --enable-64-bit-archive.
588 2016-05-18 Nick Clifton <nickc@redhat.com>
591 * objcopy.c (copy_relocations_in_section): Also check for the
592 symbol pointed to by sym_ptr_ptr being NULL.
594 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
596 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
597 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
599 * testsuite/binutils-all/mips/mips.exp: Run the new test.
601 2016-05-18 Nick Clifton <nickc@redhat.com>
603 * po/sv.po: Updated Swedish translation.
605 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
607 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
608 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
609 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
610 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
611 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
612 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
613 `d_val' rather than `d_ptr' member of the dynamic entry.
615 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
617 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
619 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
620 with the `strip-10' test.
622 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
624 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
627 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
629 * readelf.c (print_mips_ases): Add DSPR3.
631 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
633 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
634 (arm_attr_public_tags): Define DSP_extension attribute.
636 2016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
638 * doc/binutils.texi (nm): Update description of --size-sort.
640 2016-05-09 Nick Clifton <nickc@redhat.com>
643 * readelf.c (get_32bit_section_headers): Warn if an out of range
644 sh_link or sh_info field is encountered.
645 (get_64bit_section_headers): Likewise.
647 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
649 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
651 2016-05-03 Nick Clifton <nickc@redhat.com>
653 * po/sv.po: Updated Swedish translation.
655 2016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
657 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
658 PC relocation for AVR target.
659 (is_none_reloc): Return true if reloc is any of AVR diff
662 2016-04-29 Nick Clifton <nickc@redhat.com>
665 * readelf.c (get_solaris_segment_type): New function.
666 (get_segment_type): Call it.
668 2016-04-28 Nick Clifton <nickc@redhat.com>
670 * po/zh_CN.po: Updated Chinese (simplified) translation.
672 2016-04-28 Nick Clifton <nickc@redhat.com>
675 * testsuite/binutils-all/aarch64/illegal.s: New test.
676 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
678 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
680 * resres.c: Likewise.
682 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
684 * Makefile.in: Regenerated with automake 1.11.6.
685 * aclocal.m4: Likewise.
686 * doc/Makefile.in: Likewise.
688 2016-04-14 Nick Clifton <nickc@redhat.com>
691 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
692 string sections possibly having the SHF_STRINGS flag bit set.
693 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
694 * testsuite/binutils-all/readelf.s: Likewise.
695 * testsuite/binutils-all/readelf.s-64: Likewise.
696 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
697 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
699 2016-04-13 Nick Clifton <nickc@redhat.com>
702 * readelf.c (get_solaris_section_type): New function: Returns the
703 name of Solaris specific section types.
704 (get_solaris_dynamic_type): New function: Return the name of
705 Solaris specific dynamic types.
706 (get_dynamic_type): Use get_solaris_dynamic_type.
707 (get_section_type_name): Use get_solaris_section_type.
708 (get_solaris_symbol_visibility): New function: Returns Solaris
709 specific symbol visibilities.
710 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
711 (process_symbol_table): Likewise.
713 2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
715 * dwarf.h (init_dwarf_regnames_s390): Declare.
716 * dwarf.c (dwarf_regnames_s390): New.
717 (init_dwarf_regnames_s390): New.
718 (init_dwarf_regnames): Call it.
719 * objdump.c (dump_dwarf): Likewise.
721 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
723 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
724 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
726 * testsuite/binutils-all/mips/mips.exp: Run the new test.
728 2016-04-04 Nick Clifton <nickc@redhat.com>
731 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
732 version number if the version is zero.
734 2016-03-29 Alan Modra <amodra@gmail.com>
736 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
737 (get_dynamic_data): Likewise.
739 2016-03-22 Nick Clifton <nickc@redhat.com>
742 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
743 with run time size check.
745 * configure: Regenerate.
747 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
749 * readelf.c (decode_ARC_machine_flags): Handle nps400.
751 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
753 * readelf.c (get_machine_flags): Move arc processing into...
754 (decode_ARC_machine_flags): ... new function. Remove use of
755 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
756 "unknown arc". Merged ABI printing between two machine types.
758 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
760 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
761 to the architecture list.
763 2016-03-21 Nick Clifton <nickc@redhat.com>
765 * dlltool.c: Replace use of alloca with call to xmalloc.
766 * dllwrap.c: Likewise.
767 * nlmconv.c: Likewise.
768 * objdump.c: Likewise.
770 * winduni.c: Likewise.
771 * configure: Regenerate.
773 2016-03-07 Nick Clifton <nickc@redhat.com>
776 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
778 * testsuite/binutils-all/empty: New, empty, file.
780 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
782 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
784 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
787 * NEWS: Mention --elf-stt-common= for objcopy.
788 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
789 * objcopy.c (do_elf_stt_common): New.
790 (command_line_switch): Add OPTION_ELF_STT_COMMON.
791 (copy_options): Add --elf-stt-common=.
792 (copy_usage): Add --elf-stt-common=.
793 (copy_object): Also check do_elf_stt_common for ELF targets.
794 (copy_file): Handle do_elf_stt_common.
795 (copy_main): Handle OPTION_ELF_STT_COMMON.
796 * readelf.c (apply_relocations): Support STT_COMMON.
797 * testsuite/binutils-all/common-1.s: New file.
798 * testsuite/binutils-all/common-1a.d: Likewise.
799 * testsuite/binutils-all/common-1b.d: Likewise.
800 * testsuite/binutils-all/common-1c.d: Likewise.
801 * testsuite/binutils-all/common-1d.d: Likewise.
802 * testsuite/binutils-all/common-1e.d: Likewise.
803 * testsuite/binutils-all/common-1f.d: Likewise.
804 * testsuite/binutils-all/common-2.s: Likewise.
805 * testsuite/binutils-all/common-2a.d: Likewise.
806 * testsuite/binutils-all/common-2b.d: Likewise.
807 * testsuite/binutils-all/common-2c.d: Likewise.
808 * testsuite/binutils-all/common-2d.d: Likewise.
809 * testsuite/binutils-all/common-2e.d: Likewise.
810 * testsuite/binutils-all/common-2f.d: Likewise.
811 * testsuite/binutils-all/objcopy.exp
812 (objcopy_test_elf_common_symbols): New proc.
813 Run objcopy_test_elf_common_symbols for ELF targets
815 2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
818 * readelf.c (get_section_type_name): Add a missing break.
820 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
822 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
824 2016-02-15 Nick Clifton <nickc@redhat.com>
826 * readelf.c (get_section_type_name): Add hex prefix to offsets
827 printed for LOPROC and LOOS values. Ensure that a result is
828 always returned for the V850 target, even when an unrecognised
829 processor specific value is encountered.
830 (process_section_headers): Display key values in the order in
831 which they appear to the user. Add the "C (compressed)" value to
834 2016-02-12 H.J. Lu <hongjiu.lu@intel.com>
836 * doc/binutils.texi: Fix a typo.
838 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
840 * testsuite/binutils-all/objdump.exp: Update expected default
841 architecture value for ARC binaries.
843 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
846 * testsuite/binutils-all/objcopy.exp
847 (objcopy_test_without_global_symbol): New proc.
848 Run objcopy_test_without_global_symbol.
849 * testsuite/binutils-all/pr19547.c: New file.
851 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
854 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
856 * Makefile.in: Regenerated.
857 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
859 Run test_gnu_debuglink for native ELF build.
861 2016-01-20 Nick Clifton <nickc@redhat.com>
864 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
865 do not support inserting leading underscores.
867 2016-01-20 Mickael Guene <mickael.guene@st.com>
869 * readelf.c (get_elf_section_flags): Display y letter for section
870 with SHF_ARM_NOREAD section flag in readelf section output.
871 (process_section_headers): Add y letter in readelf section output
872 key mapping for ARM architecture.
873 * objdump.c (dump_section_header): Display NOREAD attributes as
875 * doc/binutils.texi (objdump): Note that it is correct for
876 sections to have both the READONLY and NOREAD attributes.
878 2016-01-19 John Baldwin <jhb@FreeBSD.org>
880 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
882 2016-01-19 John Baldwin <jhb@FreeBSD.org>
884 * readelf.c (get_freebsd_elfcore_note_type): New
885 (process_note): Add support for FreeBSD core notes.
887 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
888 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
890 * readelf.c (get_machine_flags): Add support for newer ARC ELF
893 2016-01-18 Alan Modra <amodra@gmail.com>
895 * configure: Regenerate.
897 2016-01-17 Alan Modra <amodra@gmail.com>
899 * configure: Regenerate.
901 2016-01-17 Alan Modra <amodra@gmail.com>
903 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
904 for m68hc11/12 and xgate triples.
906 2016-01-17 Alan Modra <amodra@gmail.com>
908 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
910 2016-01-01 Alan Modra <amodra@gmail.com>
912 Update year range in copyright notice of all files.
914 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
916 Copyright (C) 2016 Free Software Foundation, Inc.
918 Copying and distribution of this file, with or without modification,
919 are permitted in any medium without royalty provided the copyright
920 notice and this notice are preserved.
926 version-control: never