-2018-11-09 Mathias <m4tze@exitno.de>
-
- * strings.c (print_strings): Check for multibyte encodings.
- * binutils-all/strings-1.bin: New file. Test binary for string decoding.
- * testsuite/binutils-all/strings.exp: New file. Test the strings program.
- * testsuite/config/default.exp (STRINGS): Define if not provided
- by the environment.
- (STRINGSFLAGS): Likewise.
-
-2018-11-07 Masatake Yamato <yamato@redhat.com>
-
- * objdump.c (long_options): Have the --disassemble option take an
- optional argument.
- (usage): Add description for the `symbol' argument to the
- --disassemble option.
- (disasm_sym): New file private variable.
- (struct objdump_disasm_info): New field `symbol'.
- (disassemble_section): Introduce `do_print' local variable
- to control whether objdump displays the result of disassembling
- for a symbol or not.
- (main): Set `symbol' file private variable if the option argument
- for the --disassemble option is given.
- * doc/binutils.texi (objdump): Add description for the option
- argument.
- * NEWS: Mention the new feature.
- * testsuite/binutils-all/objdump.exp: Add tests of the -d and
- --disassemble=<symbol> options.
- * testsuite/binutils-all/bintest.s: Add more symbols and code.
- * testsuite/binutils-all/readelf.s: Update expected output.
- * testsuite/binutils-all/readelf.ss-64: Likewise.
- * testsuite/binutils-all/readelf.ss-mips: Likewise.
- * testsuite/binutils-all/readelf.ss-tmips: Likewise.
-
-2018-11-07 Nick Clifton <nickc@redhat.com>
-
- * po/pt.po: Updated Portuguese translation.
-
-2018-11-06 Roman Bolshakov <r.bolshakov@yadro.com>
- Saagar Jha <saagar@saagarjha.com>
-
- PR 23728
- * od-macho.c (printf_version): New.
- (dump_load_command): Use it to print version. Print sdk version. Print
- version info for watchOS and tvOS. Print LC_NOTE, LC_BUILD_VERSION.
- (dump_buld_version): New.
- (bfd_mach_o_platform_name): New
- (bfd_mach_o_tool_name): New
-
-2018-11-07 Yoshinori Sato <ysato@users.sourceforge.jp>
-
- * testsuite/lib/binutils-common.exp: Special section name
- use only rx-*-elf.
-
-2018-11-06 H.J. Lu <hongjiu.lu@intel.com>
-
- * doc/binutils.texi: Document --enable-x86-feature and
- --disable-x86-feature options for elfedit.
- * elfedit.c: Include "config.h" and <sys/mman.h>.
- (enable_x86_features): New.
- (disable_x86_features): Likewise.
- (update_gnu_property): Likewise.
- (elf_x86_feature): Likewise.
- (process_file): Call update_gnu_property on ET_EXEC or ET_DYN
- file.
- (command_line_switch): Add OPTION_ENABLE_X86_FEATURE and
- OPTION_DISABLE_X86_FEATURE.
- (options): Add--enable-x86-feature and --disable-x86-feature.
- (usage): Likewise.
- (main): Handle OPTION_ENABLE_X86_FEATURE and
- OPTION_DISABLE_X86_FEATURE.
-
-2018-11-03 H.J. Lu <hongjiu.lu@intel.com>
-
- * elfedit.c (update_elf_header): Move EI_MAG? check to ...
- (get_file_header): Here.
-
-2018-11-02 H.J. Lu <hongjiu.lu@intel.com>
-
- * configure.ac (AC_FUNC_MMAP): New.
- * config.in: Regenerated.
- * configure: Likewise.
-
-2018-11-02 Alan Modra <amodra@gmail.com>
-
- * readelf.c (process_section_headers): Don't warn on a zero
- sh_info or sh_link for any reloc section in an executable or
- shared library. Do warn for .rel.dyn/.rela.dyn in ET_REL.
-
-2018-11-01 Thomas Preud'homme <thomas.preudhomme@linaro.org>
-
- * testsuite/config/default.exp: Define LD, LDFLAGS and
- ld_elf_shared_opt.
- * testsuite/lib/binutils-common.exp (check_shared_lib_support): Moved
- from ld-lib.exp.
- (run_dump_test): Set ld to $LD.
-
-2018-10-18 Nick Clifton <nickc@redhat.com>
-
- * doc/binutils.texi (readelf): Document alternatives to the
- --unwind option if it is not supported for the target
- architecture.
-
-2018-10-16 Alan Modra <amodra@gmail.com>
-
- PR 23780
- * readelf.c (display_raw_attribute): Correct assertion.
-
-2018-10-15 Alan Modra <amodra@gmail.com>
-
- PR 23534
- * addr2line.c (main): Exit with fatal error if bfd_init
- returns an unexpected value.
- * ar.c (main): Likewise.
- * dlltool.c (identify_dll_for_implib): Likewise.
- * nm.c (main): Likewise.
- * objcopy.c (main): Likewise.
- * objdump.c (main): Likewise.
- * size.c (main): Likewise.
- * strings.c (main): Likewise.
- * windmc.c (main): Likewise.
- * windres.c (main): Likewise.
-
-2018-10-11 Jordan Rupprecht <rupprecht@google.com>
- Nick Clifton <nickc@redhat.com>
-
- * objcopy.c (copy_main): Issue a fata error if the
- --keep-global-symbol(s) and the --globalize-symbol(s) options are
- used together.
- * doc/binutils.texi: Document that the two options are
- incompatible.
- * testsuite/binutils-all/copy-5.d: New test.
- * testsuite/binutils-all/objcopy.exp: Run the new test.
-
-2018-10-10 Helge Deller <deller@gmx.de>
- Alan Modra <amodra@gmail.com>
-
- * readelf.c (hppa_process_unwind): Don't use eh_addr_size to
- calculate number of entries.
- (slurp_hppa_unwind_table): Don't use eh_addr_size here either.
-
-2018-10-10 Alan Modra <amodra@gmail.com>
-
- * objdump.c (dump_dwarf): Set s12z eh_addr_size to 4.
-
-2018-10-08 Andreas Schwab <schwab@suse.de>
-
- * readelf.c (is_32bit_pcrel_reloc): Handle R_RISCV_32_PCREL.
-
-2018-10-03 Nick Clifton <nickc@redhat.com>
-
- * po/pt.po: Updated Portuguese translation.
- * po/fr.po: Updated French translation.
-
-2018-09-22 Alan Modra <amodra@gmail.com>
-
- * readelf.c (apply_relocations): Don't return FALSE for warnings.
-
-2018-09-20 Nelson Chu <nelson.chu1990@gmail.com>
-
- * testsuite/binutils-all/objcopy.exp: Set the unsupported reloc number
- from 215 to 255 for NDS32.
-
-2018-09-17 H.J. Lu <hongjiu.lu@intel.com>
-
- * objcopy.c (strip_specific_buffer): New.
- (strip_unneeded_buffer): Likewise.
- (keep_specific_buffer): Likewise.
- (localize_specific_buffer): Likewise.
- (globalize_specific_buffer): Likewise.
- (keepglobal_specific_buffer): Likewise.
- (weaken_specific_buffer): Likewise.
- (add_specific_symbols): Add an argument to return pointer to
- allocated buffer.
- (copy_main): Update add_specific_symbols to update pointers to
- allocated buffer. Free pointers to allocated buffer before
- return.
-
-2018-09-17 Alan Modra <amodra@gmail.com>
-
- * objcopy.c (handle_remove_section_option): Don't require a dot
- after .rela and .rel to handle a possible relocation section.
- * testsuite/binutils-all/remove-relocs-07.s,
- * testsuite/binutils-all/remove-relocs-07.d,
- * testsuite/binutils-all/remove-relocs-08.d: New tests.
- * testsuite/binutils-all/remove-relocs-01.d,
- * testsuite/binutils-all/remove-relocs-04.d,
- * testsuite/binutils-all/remove-relocs-05.d,
- * testsuite/binutils-all/remove-relocs-06.d: Exclude mips64-openbsd.
-
-2018-09-17 Alan Modra <amodra@gmail.com>
-
- * testsuite/lib/binutils-common.exp (is_som_format): New proc.
- (run_dump_test): Correct target test for alternate .comm syntax.
- (get_standard_section_names): Handle som format.
- * testsuite/lib/utils-lib.exp (default_binutils_assemble_flags):
- Correct target test for alternate .comm syntax.
-
-2018-09-17 Alan Modra <amodra@gmail.com>
-
- * testsuite/binutils-all/strip-13mips64.s: Add section flags
- for reloc section.
- * testsuite/binutils-all/strip-13rel.s: Likewise.
- * testsuite/binutils-all/strip-13rela.s: Likewise.
- * testsuite/binutils-all/strip-14mips64.s: Likewise.
- * testsuite/binutils-all/strip-14rel.s: Likewise.
- * testsuite/binutils-all/strip-14rela.s: Likewise.
- * testsuite/binutils-all/strip-15mips64.s: Likewise.
- * testsuite/binutils-all/strip-15rel.s: Likewise.
- * testsuite/binutils-all/strip-15rela.s: Likewise.
-
-2018-09-17 Nick Clifton <nickc@redhat.com>
-
- * testsuite/binutils-all/compress.exp: Rename second "objcopy
- zlib-gnu compress debug sections 3" test to "objcopy zlib-gabi
- compress debug sections 3" and use gabi object files instead
- of gnu object files.
- * testsuite/binutils-all/objcopy.exp: Add suffix to the names
- of the "ELF group" tests.
- * testsuite/binutils-all/readelf.exp (proc readelf_find_size):
- Add an iteration parameter and include it in the name of the
- test. Update callers to include an iteration count.
-
-2018-09-15 Alan Modra <amodra@gmail.com>
-
- * testsuite/binutils-all/add-symbol.d: Add "section_subst: no".
- * testsuite/binutils-all/elfedit.exp: Don't set tempfile or copyfile.
- * testsuite/binutils-all/symbols-1.d,
- * testsuite/binutils-all/symbols-2.d,
- * testsuite/binutils-all/symbols-3.d,
- * testsuite/binutils-all/symbols-4.d: Quote '*' and '!'.
- * testsuite/binutils-all/add-empty-section.d,
- * testsuite/binutils-all/add-section.d,
- * testsuite/binutils-all/elfedit.exp,
- * testsuite/binutils-all/note-1.d,
- * testsuite/binutils-all/pr23633.d: Add $subdir after $srcdir.
- * testsuite/config/default.exp (AS, ASFLAGS): Define.
- * testsuite/config/hppa.sed: Handle all common symbols.
- * testsuite/lib/binutils-common.exp (run_dump_test): New proc,
- merged from three other versions.
- (slurp_options, file_contents, set_file_contents): Likewise.
- (big_or_little_endian, get_standard_section_names): Likewise.
- * testsuite/lib/utils-lib.exp (run_dump_test): Delete.
- (slurp_options, proc file_contents): Delete.
- (get_standard_section_names): Delete.
-
-2018-09-15 Alan Modra <amodra@gmail.com>
-
- * testsuite/binutils-all/copy-2.d,
- * testsuite/binutils-all/copy-3.d,
- * testsuite/binutils-all/copy-4.d,
- * testsuite/binutils-all/elfedit-1.d,
- * testsuite/binutils-all/note-1.d,
- * testsuite/binutils-all/note-2-64.d,
- * testsuite/binutils-all/strip-11.d,
- * testsuite/binutils-all/strip-13.d,
- * testsuite/binutils-all/strip-14.d,
- * testsuite/binutils-all/testranges.d,
- * testsuite/binutils-all/x86-64/pr23494a-x32.d,
- * testsuite/binutils-all/x86-64/pr23494a.d,
- * testsuite/binutils-all/x86-64/pr23494b-x32.d,
- * testsuite/binutils-all/x86-64/pr23494b.d,
- * testsuite/binutils-all/x86-64/pr23494c-x32.d,
- * testsuite/binutils-all/x86-64/pr23494c.d,
- * testsuite/binutils-all/x86-64/pr23494d-x32.d,
- * testsuite/binutils-all/x86-64/pr23494d.d,
- * testsuite/binutils-all/x86-64/pr23494e-x32.d,
- * testsuite/binutils-all/x86-64/pr23494e.d,
- * testsuite/lib/utils-lib.exp (run_dump_test): Replace not-target
- and not-skip with notarget and noskip.
-
-2018-09-15 Alan Modra <amodra@gmail.com>
-
- * testsuite/binutils-all/group-7a.d,
- * testsuite/binutils-all/group-7b.d,
- * testsuite/binutils-all/group-7c.d,
- * testsuite/binutils-all/symbols-1.d,
- * testsuite/binutils-all/symbols-2.d,
- * testsuite/binutils-all/symbols-3.d,
- * testsuite/binutils-all/symbols-4.d: Remove DUMPPROG.
-
-2018-09-14 Alan Modra <amodra@gmail.com>
-
- PR binutils/23633
- * testsuite/binutils-all/pr23633.d: Don't fail when assembler
- generates sections other than .text.
-
-2018-09-13 H.J. Lu <hongjiu.lu@intel.com>
-
- PR binutils/23633
- * testsuite/binutils-all/objcopy.exp: Run pr23633.
- * testsuite/binutils-all/pr23633.d: New file.
- * testsuite/binutils-all/pr23633.list: Likewise.
- * testsuite/binutils-all/pr23633.s: Likewise.
-
-2018-09-13 Nick Clifton <nickc@redhat.com>
-
- PR 23633
- * objcopy.c (add_specific_symbols): Do not free the buffer at the
- end of the function.
-
-2018-09-10 Alan Modra <amodra@gmail.com>
-
- PR binutils/23611
- * objcopy.c (handle_remove_section_option): Consider .rela and
- .rel sections for stripping directly as well as attached to the
- associated section they relocate.
- * doc/binutils.texi (remove-relocations): Specify that this
- option removes non-dynamic relocation sections.
- * testsuite/binutils-all/objcopy.exp
- (objcopy_remove_relocations_from_executable): New test.
-
-2018-09-03 Nick Clifton <nickc@redhat.com>
-
- * po/ja.po: Updated Japanese translation.
-
-2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
-
- * testsuite/binutils-all/readelf.s-64: Adjusted for
- .note.gnu.property section.
- * testsuite/binutils-all/strip-3.d: Also strip
- .note.gnu.property section.
-
-2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
-
- * testsuite/binutils-all/i386/compressed-1b.d: Pass
- -mx86-used-note=no to assembler.
- * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
- * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
- * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
- * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes
- to assembler and update expected output from "readelf -n".
- * testsuite/binutils-all/i386/ibt.d: Likewise.
- * testsuite/binutils-all/i386/pr21231a.d: Likewise.
- * testsuite/binutils-all/i386/pr21231b.d: Likewise.
- * testsuite/binutils-all/i386/shstk.d: Likewise.
- * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
- * testsuite/binutils-all/x86-64/empty.d: Likewise.
- * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
- * testsuite/binutils-all/x86-64/ibt.d: Likewise.
- * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
- * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
- * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
- * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
- * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
- * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
- * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
- * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
- * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
- * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
- * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
- * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
- * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
- * testsuite/binutils-all/x86-64/shstk.d: Likewise.
-
-2018-08-30 H.J. Lu <hongjiu.lu@intel.com>
-
- * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and
- SHT_PREINIT_ARRAY as relocatable sections.
-
-2018-08-30 Chenghua Xu <paul.hua.gm@gmail.com>
-
- * MAINTAINERS: Add myself as a MIPS port maintainer.
-
-2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
-
- * NEWS: Mention Loongson 2K1000 proccessor support.
- * readelf.c (get_machine_flags): Handle gs264e.
-
-2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>