1. 01 Feb, 2020 1 commit
  2. 18 Jan, 2020 1 commit
  3. 02 Jan, 2020 1 commit
    • Sergey Belyashov's avatar
      Add support for the GBZ80, Z180, and eZ80 variants of the Z80 architecure. ... · 6655dba2
      Sergey Belyashov authored
      Add support for the GBZ80, Z180, and eZ80 variants of the Z80 architecure.  Add an ELF based target for these as well.
      
      	PR 25224
      bfd	* Makefile.am: Add z80-elf target support.
      	* configure.ac: Likewise.
      	* targets.c: Likewise.
      	* config.bfd: Add z80-elf target support and new arches: ez80 and z180.
      	* elf32-z80.c: New file.
      	* archures.c: Add new z80 architectures: eZ80 and Z180.
      	* coffcode.h: Likewise.
      	* cpu-z80.c: Likewise.
      	* bfd-in2.h: Likewise plus additional Z80 relocations.
      	* coff-z80.c: Add new relocations for Z80 target and local label check.
      
      gas	* config/tc-z80.c: Add new architectures: Z180 and eZ80. Add support
      	for assembler code generated by SDCC. Add new relocation types. Add
      	z80-elf target support.
      	* config/tc-z80.h: Add z80-elf target support. Enable dollar local
      	labels. Local labels starts from ".L".
      	* testsuite/gas/all/fwdexp.d: Fix failure due to symbol conflict.
      	* testsuite/gas/all/fwdexp.s: Likewise.
      	* testsuite/gas/z80/suffix.d: Fix failure on ELF target.
      	* testsuite/gas/z80/z80.exp: Add new tests
      	* testsuite/gas/z80/dollar.d: New file.
      	* testsuite/gas/z80/dollar.s: New file.
      	* testsuite/gas/z80/ez80_adl_all.d: New file.
      	* testsuite/gas/z80/ez80_adl_all.s: New file.
      	* testsuite/gas/z80/ez80_adl_suf.d: New file.
      	* testsuite/gas/z80/ez80_isuf.s: New file.
      	* testsuite/gas/z80/ez80_z80_all.d: New file.
      	* testsuite/gas/z80/ez80_z80_all.s: New file.
      	* testsuite/gas/z80/ez80_z80_suf.d: New file.
      	* testsuite/gas/z80/r800_extra.d: New file.
      	* testsuite/gas/z80/r800_extra.s: New file.
      	* testsuite/gas/z80/r800_ii8.d: New file.
      	* testsuite/gas/z80/r800_z80_doc.d: New file.
      	* testsuite/gas/z80/z180.d: New file.
      	* testsuite/gas/z80/z180.s: New file.
      	* testsuite/gas/z80/z180_z80_doc.d: New file.
      	* testsuite/gas/z80/z80_doc.d: New file.
      	* testsuite/gas/z80/z80_doc.s: New file.
      	* testsuite/gas/z80/z80_ii8.d: New file.
      	* testsuite/gas/z80/z80_ii8.s: New file.
      	* testsuite/gas/z80/z80_in_f_c.d: New file.
      	* testsuite/gas/z80/z80_in_f_c.s: New file.
      	* testsuite/gas/z80/z80_op_ii_ld.d: New file.
      	* testsuite/gas/z80/z80_op_ii_ld.s: New file.
      	* testsuite/gas/z80/z80_out_c_0.d: New file.
      	* testsuite/gas/z80/z80_out_c_0.s: New file.
      	* testsuite/gas/z80/z80_reloc.d: New file.
      	* testsuite/gas/z80/z80_reloc.s: New file.
      	* testsuite/gas/z80/z80_sli.d: New file.
      	* testsuite/gas/z80/z80_sli.s: New file.
      
      ld	* Makefile.am: Add new target z80-elf
      	* configure.tgt: Likewise.
      	* emultempl/z80.em: Add support for eZ80 and Z180 architectures.
      	* emulparams/elf32z80.sh: New file.
      	* emultempl/z80elf.em: Likewise.
      	* testsuite/ld-z80/arch_ez80_adl.d: Likewise.
      	* testsuite/ld-z80/arch_ez80_z80.d: Likewise.
      	* testsuite/ld-z80/arch_r800.d: Likewise.
      	* testsuite/ld-z80/arch_z180.d: Likewise.
      	* testsuite/ld-z80/arch_z80.d: Likewise.
      	* testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
      	* testsuite/ld-z80/comb_arch_z180.d: Likewise.
      	* testsuite/ld-z80/labels.s: Likewise.
      	* testsuite/ld-z80/relocs.s: Likewise.
      	* testsuite/ld-z80/relocs_b_ez80.d: Likewise.
      	* testsuite/ld-z80/relocs_b_z80.d: Likewise.
      	* testsuite/ld-z80/relocs_f_z80.d: Likewise.
      	* testsuite/ld-z80/z80.exp: Likewise.
      
      opcodes	* z80-dis.c: Add support for eZ80 and Z80 instructions.
      6655dba2
  4. 17 Dec, 2019 1 commit
    • Alan Modra's avatar
      Remove tic80 support · 5b660084
      Alan Modra authored
      This is one way of fixing ubsan bug reports, just delete the code.
      
      The assembler support was removed back in 2005 along with other
      non-BFD assemblers, but somehow the remainder of the port stayed in.
      
      bfd/
      	* coff-tic80.c: Delete file.
      	* cpu-tic80.c: Delete file.
      	* archures.c: Remove tic80 support.
      	* coffcode.h: Likewise.
      	* coffswap.h: Likewise.
      	* targets.c: Likewise.
      	* config.bfd: Likewise.
      	* configure.ac: Likewise.
      	* Makefile.am: Likewise.
      	* Makefile.in: Regenerate.
      	* bfd-in2.h: Regenerate.
      	* configure: Regenerate.
      	* po/SRC-POTFILES.in: Regenerate.
      binutils/
      	* testsuite/binutils-all/objcopy.exp: Remove tic80 support.
      	* testsuite/binutils-all/objdump.exp: Likewise.
      gas/
      	* doc/as.texi: Remove mention of tic80.
      include/
      	* coff/tic80.h: Delete file.
      	* opcode/tic80.h: Delete file.
      ld/
      	* emulparams/tic80coff.sh: Delete file.
      	* scripttempl/tic80coff.sc: Delete file.
      	* configure.tgt: Remove tic80 support.
      	* Makefile.am: Likewise.
      	* Makefile.in: Regenerate.
      	* po/BLD-POTFILES.in: Regenerate.
      opcodes/
      	* tic80-dis.c: Delete file.
      	* tic80-opc.c: Delete file.
      	* disassemble.c: Remove tic80 support.
      	* disassemble.h: Likewise.
      	* Makefile.am: Likewise.
      	* configure.ac: Likewise.
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      	* po/POTFILES.in: Regenerate.
      5b660084
  5. 07 Nov, 2019 1 commit
    • Alan Modra's avatar
      Remove CR16C support · 595d3787
      Alan Modra authored
      I think it is past time to remove CR16C support.  CR16C was added in
      2004, and only for ld.  gas and binutils support is lacking, and there
      have been no commits to bfd/elf32-cr16c.c other than warning fixes or
      global maintainers making changes to all targets.  I see no maintainer
      listed for CR16C, and no commits from anyone at NSC supporting the
      target.  Furthermore, at the time the CR16 support was added in 2007,
      config.sub was changed upstream to no longer recognise cr16c as a
      valid cpu.  That means the CR16C ld support is only available as a
      secondary target by configuring with, for example,
      --enable-targets=all or --enable-targets=cr16c-unknown-elf.  No
      testing of the CR16C target is possible.
      
      include/
      	* elf/cr16c.h: Delete.
      bfd/
      	* cpu-cr16c.c: Delete.
      	* elf32-cr16c.c: Delete.
      	* Makefile.am,
      	* archures.c,
      	* config.bfd,
      	* configure.ac,
      	* reloc.c,
      	* targets.c: Remove cr16c support.
      	* Makefile.in,
      	* bfd-in2.h,
      	* configure,
      	* libbfd.h,
      	* po/SRC-POTFILES.in: Regenerate.
      ld/
      	* emulparams/elf32cr16c.sh: Delete.
      	* scripttempl/elf32cr16c.sc: Delete.
      	* Makefile.am,
      	* configure.tgt: Remove cr16c support.
      	* NEWS: Mention removal of cr16c.
      	* Makefile.in,
      	* po/BLD-POTFILES.in: Regenerate.
      595d3787
  6. 18 Sep, 2019 1 commit
    • Simon Marchi's avatar
      Re-generate many configure and Makefile.in files · e0b2a78c
      Simon Marchi authored
      I get some spurious changes when running autoconf/automake for various
      projects in the tree.  This is likely because they were generated using
      distro-patched tools last time.
      
      I ran `autoreconf -f` in the various automake projects of the
      binutils-gdb tree, and this is the result.  The tools I am using have
      been compiled from source, from the upstream release.
      
      bfd/ChangeLog:
      
      	* Makefile.in: Re-generate.
      	* configure: Re-generate.
      	* doc/Makefile.in: Re-generate.
      
      binutils/ChangeLog:
      
      	* Makefile.in: Re-generate.
      	* configure: Re-generate.
      	* doc/Makefile.in: Re-generate.
      
      gas/ChangeLog:
      
      	* Makefile.in: Re-generate.
      	* configure: Re-generate.
      	* doc/Makefile.in: Re-generate.
      
      gold/ChangeLog:
      
      	* testsuite/Makefile.in: Re-generate.
      
      gprof/ChangeLog:
      
      	* Makefile.in: Re-generate.
      	* configure: Re-generate.
      
      ld/ChangeLog:
      
      	* Makefile.in: Re-generate.
      	* configure: Re-generate.
      
      opcodes/ChangeLog:
      
      	* Makefile.in: Re-generate.
      	* configure: Re-generate.
      e0b2a78c
  7. 16 Sep, 2019 1 commit
  8. 28 Jun, 2019 1 commit
    • Alan Modra's avatar
      Plugin target handling · 999d6dff
      Alan Modra authored
      This patch fixes failures with LTO on mingw32 targets.  Since git
      commit 7cf7fcc8 all possible targets (minus binary) are matched in
      bfd_check_format_matches rather than lower priority targets being
      excluded once a higher priority target matches.  During linking that
      results in the ld/plugin.c plugin_object_p function being called with
      the input file xvec set to plugin_vec, which means
      plugin_get_ir_dummy_bfd doesn't see the real format of the file
      (pe-i386).  It defaults to the output format instead, which happens to
      be pei-i386, and this wrong choice persists for the dummy bfd.
      pei-i386 isn't recognised as a valid linker input file.
      
      So, omit recognizing a plugin object in bfd_check_format_matches when
      some other object format matches, and make sure those other object
      formats are checked first.
      
      	* format.c (bfd_check_format_matches): Don't match plugin target
      	if another target matches.  Expand comment.
      	* targets.c (_bfd_target_vector): Move plugin_vec after all other
      	non-corefile targets, outside !SELECT_VECS.
      	* config.bfd: Don't handle targ=plugin here.
      	* configure.ac: Don't add plugin to enable_targets or handle in
      	target loop setting selvecs and other target vars.
      	* configure: Regenerate.
      999d6dff
  9. 14 Jun, 2019 1 commit
    • Alan Modra's avatar
      Regenerate with approved autotools version · 3a3a077c
      Alan Modra authored
      bfd/
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      binutils/
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* doc/Makefile.in: Regenerate.
      gas/
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      	* doc/Makefile.in: Regenerate.
      ld/
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      libctf/
      	* configure: Regenerate.
      3a3a077c
  10. 23 May, 2019 2 commits
    • Jose E. Marchesi's avatar
      bfd: fix build with --enable-targets=all in 32-bit hosts · 45d5293f
      Jose E. Marchesi authored
      This patch avoids for bpf_elf64_le_vec to be referenced in targmatch.h
      when building a BFD without BFD64, resulting in an undefined symbol.
      This was a regression introduced along with the BPF target.
      
      bfd/ChangeLog:
      
      2019-05-23  Jose E. Marchesi  <jose.marchesi@oracle.com>
      
      	* config.bfd (targ_cpu): Process bpf-*-none only if BFD64.
      	* configure.ac: Set target_size=64 for bpf_elf64_le_vec and
      	bpf_elf64_be_vec.
      	* configure: Regenerate.
      45d5293f
    • Jose E. Marchesi's avatar
      bfd: add support for eBPF · fd0de36e
      Jose E. Marchesi authored
      This patch adds support to BFD for elf64-bpf, in both little-endian
      and big-endian variants.
      
      bfd/ChangeLog:
      
      2019-05-23  Jose E. Marchesi  <jose.marchesi@oracle.com>
      
      	* configure.ac: Add bpf_elf64_le_vec and bpf_elf64_be_vec.
      	* configure: Regenerated.
      	* Makefile.am (ALL_MACHINES): Add cpu-bpf.lo.
      	(ALL_MACHINES_CFILES): Add cpu-bpf.c.
      	(BFD64_BACKENDS): Add elf64-bpf.lo.
      	(BFD64_BACKENDS_CFILES): Add elf64-bpf.c.
      	* Makefile.in (SOURCE_HFILES): Regenerate.
      	* config.bfd (targ_cpu): Handle bpf-*-* targets.
      	* cpu-bpf.c: New file.
      	* elf64-bpf.c: Likewise.
      	* targets.c (_bfd_target_vector): Add bpf_elf64_be_vec and
      	bpf_elf64_le_vec.
      	* archures.c: Define architecture bfd_arch_bpf and machine
      	bfd_arch_bpf.
      	* reloc.c: Define BFD relocations used by the BPF target.
      	* bfd-in2.h: Regenerated.
      	* libbfd.h: Likewise.
      fd0de36e
  11. 08 Apr, 2019 1 commit
    • Alan Modra's avatar
      Fix x86_64-rdos build fail · 5f2a6b85
      Alan Modra authored
      x86_64-rdos is one of the few x86_64 targets that is 64-bit only and
      the x86_64 configure entries don't depend on elf-vxworks.lo.  This
      results in undefined references from elfxx-x86.o.
      
      	* configure.ac (elfxx_x86): Define and use.
      	* configure: Regenerate.
      5f2a6b85
  12. 28 Mar, 2019 1 commit
    • Alan Modra's avatar
      PR24392, Clang warning Wtautological-constant-out-of-range-compare · 242a1159
      Alan Modra authored
      	PR 24392
      	* configure.ac: Invoke AC_CHECK_SIZEOF(int).
      	* configure: Regenerate.
      	* coffgen.c (coff_get_reloc_upper_bound): Replace gcc diagnostic
      	workaround with SIZEOF_LONG vs. SIZEOF_INT check.
      	* elf.c (_bfd_elf_get_reloc_upper_bound): Likewise.
      	* elf64-sparc.c (elf64_sparc_get_reloc_upper_bound): Likewise.
      	* mach-o.c (bfd_mach_o_get_reloc_upper_bound): Likewise.
      242a1159
  13. 20 Feb, 2019 1 commit
  14. 19 Jan, 2019 1 commit
  15. 09 Jan, 2019 1 commit
    • Andrew Paprocki's avatar
      Adjust bfd/warning.m4 egrep patterns · 3107326d
      Andrew Paprocki authored
      Adjust the `bfd/warning.m4` `egrep` patterns to handle preprocessors
      that do not define `__GNUC__`, leaving the string in the output.
      
      bfd/
      	* warning.m4: Adjust egrep pattern for non-GNU compilers.
      	* configure: Regenerate.
      binutils/
      	* configure: Regenerate.
      gas/
      	* configure: Regenerate.
      gold/
      	* configure: Regenerate.
      gprof/
      	* configure: Regenerate.
      ld/
      	* configure: Regenerate.
      opcodes/
      	* configure: Regenerate.
      3107326d
  16. 07 Nov, 2018 1 commit
  17. 21 Sep, 2018 1 commit
    • Simon Marchi's avatar
      elf32-nds32: Don't define fls if it is provided by the system · a767a1c4
      Simon Marchi authored
      The fls function already exists on macOS and FreeBSD (and probably others),
      leading to this error:
      
      /Users/simark/src/binutils-gdb/bfd/elf32-nds32.c:5074:1: error: static declaration of 'fls' follows non-static declaration
      fls (register unsigned int x)
      ^
      /usr/include/strings.h:87:6: note: previous declaration is here
      int      fls(int) __OSX_AVAILABLE_STARTING(__MAC_10_5, __IPHONE_2_0);
               ^
      
      Add a configure-time check for it, and only define it if the system doesn't
      provide it.
      
      bfd/ChangeLog:
      
      	* configure.ac: Check for fls.
      	* elf32-nds32.c (fls): Only define if !HAVE_FLS.
      	* config.in: Re-generate.
      	* configure: Re-generate.
      a767a1c4
  18. 13 Aug, 2018 1 commit
    • H.J. Lu's avatar
      bfd: Move elf-properties.lo to BFD32_LIBS · 98641896
      H.J. Lu authored
      commit 6404ab99
      Author: H.J. Lu <hjl.tools@gmail.com>
      Date:   Wed Aug 8 21:00:04 2018 -0700
      
          Convert .note.gnu.property section between ELF32 and ELF64
      
      updated bfd_convert_section_size and bfd_convert_section_contents
      in bfd.c to call _bfd_elf_convert_gnu_property_size and
      _bfd_elf_convert_gnu_properties, which are defined in elf-properties.c.
      It led to
      
      bfd.c:2484: undefined reference to `_bfd_elf_convert_gnu_property_size'
      
      for non-ELF targets.  Since elf-properties.c is a generic implementation
      and doesn't reference any ELF specific functions directly, this patch
      moves elf-properties.lo BFD32_LIBS.
      
      Tested for many ELF and non-ELF targets.
      
      	PR binutils/23494
      	* Makefile.am (BFD32_LIBS): Add elf-properties.lo.
      	(BFD32_LIBS_CFILES): Add elf-properties.c.
      	(BFD32_BACKENDS): Remove elf-properties.lo.
      	(BFD32_BACKENDS_CFILES): Remove elf-properties.c.
      	* configure.ac (elf): Remove elf-properties.lo.
      	* Makefile.in: Regenerated.
      	* configure: Likewise.
      98641896
  19. 30 Jul, 2018 1 commit
    • Andrew Jenner's avatar
      Add support for the C_SKY series of processors. · b8891f8d
      Andrew Jenner authored
      This patch series is a new binutils port for C-SKY processors, including support for both the V1 and V2 processor variants.  V1 is derived from the MCore architecture while V2 is substantially different, with mixed 16- and 32-bit instructions, a larger register set, a different (but overlapping) ABI, etc.  There is support for bare-metal ELF targets and Linux with both glibc and uClibc.
      
      This code is being contributed jointly by C-SKY Microsystems and Mentor Graphics.  C-SKY is responsible for the technical content and has proposed Lifang Xia and Yunhai Shang as port maintainers.  (Note that C-SKY does have a corporate copyright assignment on file with the FSF.) Mentor Graphics' role has been cleaning up the code, adding documentation and additional test cases, etc, to address issues we anticipated reviewers would complain about.
      
      bfd     * Makefile.am (ALL_MACHINES, ALL_MACHINES_CFILES): Add C-SKY.
              (BFD32_BACKENDS, BFD_BACKENDS_CFILES): Likewise.
              * Makefile.in: Regenerated.
              * archures.c (enum bfd_architecture): Add bfd_arch_csky and
              related bfd_mach defines.
              (bfd_csky_arch): Declare.
              (bfd_archures_list): Add C-SKY.
              * bfd-in.h (elf32_csky_build_stubs): Declare.
              (elf32_csky_size_stubs): Declare.
              (elf32_csky_next_input_section: Declare.
              (elf32_csky_setup_section_lists): Declare.
              * bfd-in2.h: Regenerated.
              * config.bfd: Add C-SKY.
              * configure.ac: Likewise.
              * configure: Regenerated.
              * cpu-csky.c: New file.
              * elf-bfd.h (enum elf_target_id): Add C-SKY.
              * elf32-csky.c: New file.
              * libbfd.h: Regenerated.
              * reloc.c: Add C-SKY relocations.
              * targets.c (csky_elf32_be_vec, csky_elf32_le_vec): Declare.
              (_bfd_target_vector): Add C-SKY target vector entries.
      
      binutils* readelf.c: Include elf/csky.h.
              (guess_is_rela): Handle EM_CSKY.
              (dump_relocations): Likewise.
              (get_machine_name): Likewise.
              (is_32bit_abs_reloc): Likewise.
      
      include  * dis-asm.h (csky_symbol_is_valid): Declare.
               * opcode/csky.h: New file.
      
      opcodes  * Makefile.am (TARGET_LIBOPCODES_CFILES): Add csky-dis.c.
               * Makefile.in: Regenerated.
               * configure.ac: Add C-SKY.
               * configure: Regenerated.
               * csky-dis.c: New file.
               * csky-opc.h: New file.
               * disassemble.c (ARCH_csky): Define.
               (disassembler, disassemble_init_for_target): Add case for ARCH_csky.
               * disassemble.h (print_insn_csky, csky_get_disassembler): Declare.
      
      gas      * Makefile.am (TARGET_CPU_CFILES): Add entry for C-SKY.
               (TARGET_CPU_HFILES, TARGET_ENV_HFILES): Likewise.
               * Makefile.in: Regenerated.
               * config/tc-csky.c: New file.
               * config/tc-csky.h: New file.
               * config/te-csky_abiv1.h: New file.
               * config/te-csky_abiv1_linux.h: New file.
               * config/te-csky_abiv2.h: New file.
               * config/te-csky_abiv2_linux.h: New file.
               * configure.tgt: Add C-SKY.
               * doc/Makefile.am (CPU_DOCS): Add entry for C-SKY.
               * doc/Makefile.in: Regenerated.
               * doc/all.texi: Set CSKY feature.
               * doc/as.texi (Overview): Add C-SKY options.
               (Machine Dependencies): Likewise.
               * doc/c-csky.texi: New file.
               * testsuite/gas/csky/*: New test cases.
      
      ld      * Makefile.am (ALL_EMULATION_SOURCES): Add C-SKY emulations.
              (ecskyelf.c, ecskyelf_linux.c): New rules.
              * Makefile.in: Regenerated.
              * configure.tgt: Add C-SKY.
              * emulparams/cskyelf.sh: New file.
              * emulparams/cskyelf_linux.sh: New file.
              * emultempl/cskyelf.em: New file.
              * gen-doc.texi: Add C-SKY.
              * ld.texi: Likewise.
              (Options specific to C-SKY targets): New section.
              * testsuite/ld-csky/*: New tests.
      b8891f8d
  20. 09 Jul, 2018 1 commit
    • H.J. Lu's avatar
      bfd: Use changequote for "i[3-7]86-*-linux-*" · 872899f1
      H.J. Lu authored
      Use changequote to match "i[3-7]86-*-linux-*", instead of
      "i3-786-*-linux-*".
      
      	PR ld/23388
      	* configure.ac: Use changequote for "i[3-7]86-*-linux-*".
      	* configure: Regenerated.
      872899f1
  21. 24 Jun, 2018 1 commit
  22. 19 Jun, 2018 1 commit
    • Simon Marchi's avatar
      Bump to autoconf 2.69 and automake 1.15.1 · d0ac1c44
      Simon Marchi authored
      When trying to run the update-gnulib.sh script in gdb, I get this:
      
      Error: Wrong automake version (Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^      =:+{}]+)}/ at /opt/automake/1.11.1/bin/automake line 4113.), we need 1.11.1.
      Aborting.
      
      Apparently, it's an issue with a regex in automake that triggers a
      warning starting with Perl 5.22.  It has been fixed in automake 1.15.1.
      So I think it's a good excuse to bump the versions of autoconf and
      automake used in the gnulib import.  And to avoid requiring multiple
      builds of autoconf/automake, it was suggested that we bump the required
      version of those tools for all binutils-gdb.
      
      For autoconf, the 2.69 version is universally available, so it's an easy
      choice.  For automake, different distros and distro versions have
      different automake versions.  But 1.15.1 seems to be the most readily
      available as a package.  In any case, it's easy to build it from source.
      
      I removed the version checks from AUTOMAKE_OPTIONS and AC_PREREQ,
      because I don't think they are useful in our case.  They only specify a
      lower bound for the acceptable version of automake/autoconf.  That's
      useful if you let the user choose the version of the tool they want to
      use, but want to set a minimum version (because you use a feature that
      was introduced in that version).  In our case, we force people to use a
      specific version anyway.  For the autoconf version, we have the check in
      config/override.m4 that enforces the version we want.  It will be one
      less thing to update next time we change autotools version.
      
      I hit a few categories of problems that required some changes.  They are
      described below along with the chosen solutions.
      
      Problem 1:
      
        configure.ac:17: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
        configure.ac:17: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
      
      Solution 1:
      
        Adjust the code based on the example at that URL.
      
      Problem 2 (in zlib/):
      
        Makefile.am: error: required file './INSTALL' not found
        Makefile.am:   'automake --add-missing' can install 'INSTALL'
        Makefile.am: error: required file './NEWS' not found
        Makefile.am: error: required file './AUTHORS' not found
        Makefile.am: error: required file './COPYING' not found
        Makefile.am:   'automake --add-missing' can install 'COPYING'
      
      Solution 2:
      
        Add the foreign option to AUTOMAKE_OPTIONS.
      
      Problem 3:
      
        doc/Makefile.am:20: error: support for Cygnus-style trees has been removed
      
      Solution 3:
      
        Remove the cygnus options.
      
      Problem 4:
      
        Makefile.am:656: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
      
      Solution 4:
      
        Rename "INCLUDES = " to "AM_CPPFLAGS += " (because AM_CPPFLAGS is
        already defined earlier).
      
      Problem 5:
      
        doc/Makefile.am:71: warning: suffix '.texinfo' for Texinfo files is discouraged; use '.texi' instead
        doc/Makefile.am: warning: Oops!
        doc/Makefile.am:     It appears this file (or files included by it) are triggering
        doc/Makefile.am:     an undocumented, soon-to-be-removed automake hack.
        doc/Makefile.am:     Future automake versions will no longer place in the builddir
        doc/Makefile.am:     (rather than in the srcdir) the generated '.info' files that
        doc/Makefile.am:     appear to be cleaned, by e.g. being listed in CLEANFILES or
        doc/Makefile.am:     DISTCLEANFILES.
        doc/Makefile.am:     If you want your '.info' files to be placed in the builddir
        doc/Makefile.am:     rather than in the srcdir, you have to use the shiny new
        doc/Makefile.am:     'info-in-builddir' automake option.
      
      Solution 5:
      
        Rename .texinfo files to .texi.
      
      Problem 6:
      
        doc/Makefile.am: warning: Oops!
        doc/Makefile.am:     It appears this file (or files included by it) are triggering
        doc/Makefile.am:     an undocumented, soon-to-be-removed automake hack.
        doc/Makefile.am:     Future automake versions will no longer place in the builddir
        doc/Makefile.am:     (rather than in the srcdir) the generated '.info' files that
        doc/Makefile.am:     appear to be cleaned, by e.g. being listed in CLEANFILES or
        doc/Makefile.am:     DISTCLEANFILES.
        doc/Makefile.am:     If you want your '.info' files to be placed in the builddir
        doc/Makefile.am:     rather than in the srcdir, you have to use the shiny new
        doc/Makefile.am:     'info-in-builddir' automake option.
      
      Solution 6:
      
        Remove the hack at the bottom of doc/Makefile.am and use
        the info-in-builddir automake option.
      
      Problem 7:
      
        doc/Makefile.am:35: error: required file '../texinfo.tex' not found
        doc/Makefile.am:35:   'automake --add-missing' can install 'texinfo.tex'
      
      Solution 7:
      
        Use the no-texinfo.tex automake option.  We also have one in
        texinfo/texinfo.tex, not sure if we should point to that, or move it
        (or a newer version of it added with automake --add-missing) to
        top-level.
      
      Problem 8:
      
        Makefile.am:131: warning: source file 'config/tc-aarch64.c' is in a subdirectory,
        Makefile.am:131: but option 'subdir-objects' is disabled
        automake: warning: possible forward-incompatibility.
        automake: At least a source file is in a subdirectory, but the 'subdir-objects'
        automake: automake option hasn't been enabled.  For now, the corresponding output
        automake: object file(s) will be placed in the top-level directory.  However,
        automake: this behaviour will change in future Automake versions: they will
        automake: unconditionally cause object files to be placed in the same subdirectory
        automake: of the corresponding sources.
        automake: You are advised to start using 'subdir-objects' option throughout your
        automake: project, to avoid future incompatibilities.
      
      Solution 8:
      
        Use subdir-objects, that means adjusting references to some .o that will now
        be in config/.
      
      Problem 9:
      
        configure.ac:375: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
        ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
        ../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from...
        ../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from...
        ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
        ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from...
        ../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from...
        configure.ac:375: the top level
      
      Solution 9:
      
        Use AC_LANG_SOURCE, or use proper quoting.
      
      Problem 10 (in intl/):
      
        configure.ac:7: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
        /usr/share/aclocal/threadlib.m4:36: gl_THREADLIB_EARLY_BODY is expanded from...
        /usr/share/aclocal/threadlib.m4:29: gl_THREADLIB_EARLY is expanded from...
        /usr/share/aclocal/threadlib.m4:318: gl_THREADLIB is expanded from...
        /usr/share/aclocal/lock.m4:9: gl_LOCK is expanded from...
        /usr/share/aclocal/intl.m4:211: gt_INTL_SUBDIR_CORE is expanded from...
        /usr/share/aclocal/intl.m4:25: AM_INTL_SUBDIR is expanded from...
        /usr/share/aclocal/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
        configure.ac:7: the top level
      
      Solution 10:
      
        Add AC_USE_SYSTEM_EXTENSIONS in configure.ac.
      
      ChangeLog:
      
      	* libtool.m4: Use AC_LANG_SOURCE.
      	* configure.ac: Remove AC_PREREQ, use AC_LANG_SOURCE.
      	* README-maintainer-mode: Update version requirements.
      	* ar-lib: New file.
      	* test-driver: New file.
      	* configure: Re-generate.
      
      bfd/ChangeLog:
      
      	* Makefile.am (AUTOMAKE_OPTIONS): Remove 1.11.
      	(INCLUDES): Rename to ...
      	(AM_CPPFLAGS): ... this.
      	* configure.ac: Remove AC_PREREQ.
      	* doc/Makefile.am (AUTOMAKE_OPTIONS): Remove 1.9, cygnus, add
      	info-in-builddir no-texinfo.tex.
      	(info_TEXINFOS): Rename bfd.texinfo to bfd.texi.
      	* doc/bfd.texinfo: Rename to ...
      	* doc/bfd.texi: ... this.
      	* Makefile.in: Re-generate.
      	* aclocal.m4: Re-generate.
      	* config.in: Re-generate.
      	* configure: Re-generate.
      	* doc/Makefile.in: Re-generate.
      
      binutils/ChangeLog:
      
      	* configure.ac: Remove AC_PREREQ.
      	* doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
      	info-in-builddir no-texinfo.tex.
      	* Makefile.in: Re-generate.
      	* aclocal.m4: Re-generate.
      	* config.in: Re-generate.
      	* configure: Re-generate.
      	* doc/Makefile.in: Re-generate.
      
      config/ChangeLog:
      
      	* override.m4 (_GCC_AUTOCONF_VERSION): Bump from 2.64 to 2.69.
      
      etc/ChangeLog:
      
      	* configure.in: Remove AC_PREREQ.
      	* configure: Re-generate.
      
      gas/ChangeLog:
      
      	* Makefile.am (AUTOMAKE_OPTIONS): Remove 1.11, add subdir-objects.
      	(TARG_CPU_O, OBJ_FORMAT_O, ATOF_TARG_O): Add config/ prefix.
      	* configure.ac (TARG_CPU_O, OBJ_FORMAT_O, ATOF_TARG_O, emfiles,
      	extra_objects): Add config/ prefix.
      	* doc/as.texinfo: Rename to...
      	* doc/as.texi: ... this.
      	* doc/Makefile.am: Rename as.texinfo to as.texi throughout.
      	Remove DISTCLEANFILES hack.
      	(AUTOMAKE_OPTIONS): Remove 1.8, cygnus, add no-texinfo.tex and
      	info-in-builddir.
      	* Makefile.in: Re-generate.
      	* aclocal.m4: Re-generate.
      	* config.in: Re-generate.
      	* configure: Re-generate.
      	* doc/Makefile.in: Re-generate.
      
      gdb/ChangeLog:
      
      	* common/common-defs.h (PACKAGE_NAME, PACKAGE_VERSION,
      	PACKAGE_STRING, PACKAGE_TARNAME): Undefine.
      	* configure.ac: Remove AC_PREREQ, add missing quoting.
      	* gnulib/configure.ac: Modernize usage of
      	AC_INIT/AM_INIT_AUTOMAKE.  Remove AC_PREREQ.
      	* gnulib/update-gnulib.sh (AUTOCONF_VERSION): Bump to 2.69.
      	(AUTOMAKE_VERSION): Bump to 1.15.1.
      	* configure: Re-generate.
      	* config.in: Re-generate.
      	* aclocal.m4: Re-generate.
      	* gnulib/aclocal.m4: Re-generate.
      	* gnulib/config.in: Re-generate.
      	* gnulib/configure: Re-generate.
      	* gnulib/import/Makefile.in: Re-generate.
      
      gdb/gdbserver/ChangeLog:
      
      	* configure.ac: Remove AC_PREREQ, add missing quoting.
      	* configure: Re-generate.
      	* config.in: Re-generate.
      	* aclocal.m4: Re-generate.
      
      gdb/testsuite/ChangeLog:
      
      	* configure.ac: Remove AC_PREREQ.
      	* configure: Re-generate.
      
      gold/ChangeLog:
      
      	* configure.ac: Remove AC_PREREQ, add missing quoting and usage
      	of AC_LANG_SOURCE.
      	* Makefile.in: Re-generate.
      	* aclocal.m4: Re-generate.
      	* configure: Re-generate.
      	* testsuite/Makefile.in: Re-generate.
      
      gprof/ChangeLog:
      
      	* configure.ac: Remove AC_PREREQ.
      	* Makefile.am: Remove DISTCLEANFILES hack.
      	(AUTOMAKE_OPTIONS): Remove 1.11, add info-in-builddir.
      	* Makefile.in: Re-generate.
      	* aclocal.m4: Re-generate.
      	* configure: Re-generate.
      	* gconfig.in: Re-generate.
      
      intl/ChangeLog:
      
      	* configure.ac: Add AC_USE_SYSTEM_EXTENSIONS, remove AC_PREREQ.
      	* configure: Re-generate.
      	* config.h.in: Re-generate.
      	* aclocal.m4: Re-generate.
      
      ld/ChangeLog:
      
      	* configure.ac: Remove AC_PREREQ.
      	* Makefile.am: Remove DISTCLEANFILES hack, rename ld.texinfo to
      	ld.texi, ldint.texinfo to ldint.texi throughout.
      	(AUTOMAKE_OPTIONS): Add info-in-builddir.
      	* README: Rename ld.texinfo to ld.texi, ldint.texinfo to
      	ldint.texi throughout.
      	* gen-doc.texi: Likewise.
      	* h8-doc.texi: Likewise.
      	* ld.texinfo: Rename to ...
      	* ld.texi: ... this.
      	* ldint.texinfo: Rename to ...
      	* ldint.texi: ... this.
      	* Makefile.in: Re-generate.
      	* aclocal.m4: Re-generate.
      	* config.in: Re-generate.
      	* configure: Re-generate.
      
      libdecnumber/ChangeLog:
      
      	* configure.ac: Remove AC_PREREQ.
      	* configure: Re-generate.
      	* aclocal.m4.
      
      libiberty/ChangeLog:
      
      	* configure.ac: Remove AC_PREREQ.
      	* configure: Re-generate.
      	* config.in: Re-generate.
      
      opcodes/ChangeLog:
      
      	* Makefile.am (AUTOMAKE_OPTIONS): Remove 1.11.
      	* configure.ac: Remove AC_PREREQ.
      	* Makefile.in: Re-generate.
      	* aclocal.m4: Re-generate.
      	* configure: Re-generate.
      
      readline/ChangeLog.gdb:
      
      	* configure: Re-generate.
      	* examples/rlfe/configure: Re-generate.
      
      sim/ChangeLog:
      
      	* All configure.ac: Remove AC_PREREQ.
      	* All configure: Re-generate.
      
      zlib/ChangeLog.bin-gdb:
      
      	* configure.ac: Modernize AC_INIT call, remove AC_PREREQ.
      	* Makefile.am (AUTOMAKE_OPTIONS): Remove 1.8, cygnus, add
      	foreign.
      	* Makefile.in: Re-generate.
      	* aclocal.m4: Re-generate.
      	* configure: Re-generate.
      d0ac1c44
  23. 01 Jun, 2018 1 commit
    • H.J. Lu's avatar
      Bump version number to 2.30.52 · 55e99962
      H.J. Lu authored
      Bump version number to 2.30.52 since _bfd_link_hide_symbol has been added
      to bfd_target.
      
      bfd/
      
      	* version.m4: Bump version to 2.30.52
      	* configure: Regenerated.
      
      binutils/
      
      	* configure: Regenerated.
      
      gas/
      
      	* configure: Regenerated.
      
      gprof/
      
      	* configure: Regenerated.
      
      ld/
      
      	* configure: Regenerated.
      
      opcodes/
      
      	* configure: Regenerated.
      55e99962
  24. 25 May, 2018 1 commit
    • Alan Modra's avatar
      Fix hidden visibility compiler test · 629dabe3
      Alan Modra authored
      Warnings from configure tests aren't usually checked.  gcc's
      "visibility attribute not supported in this configuration" warning is
      enabled by default so we don't need to add any warning flag except
      -Werror.
      
      	* configure.ac (bfd_cv_hidden): Run test with -Werror in CFLAGS.
      	* configure: Regenerate.
      629dabe3
  25. 18 May, 2018 2 commits
    • John Darrington's avatar
      Add support for the Freescale s12z processor. · 7b4ae824
      John Darrington authored
      bfd	* Makefile.am: Add s12z files.
      	* Makefile.in: Regenerate.
      	* archures.c: Add bfd_s12z_arch.
      	* bfd-in.h: Add exports of bfd_putb24 and bfd_putl24.
      	* bfd-in2.h: Regenerate.
      	* config.bfd: Add s12z target.
      	* configure.ac: Add s12z target.
      	* configure: Regenerate.
      	* cpu-s12z.c: New file.
      	* elf32-s12z.c: New file.
      	* libbfd.c (bfd_putb24): New function.
      	(bfd_putl24): New function.
      	* libbfd.h: Regenerate.
      	* reloc.c: Add s12z relocations.
      	(bfd_get_reloc_size): Handle size 5 relocs.
      	* targets.c: Add s12z_elf32_vec.
      
      opcodes	* Makefile.am: Add support for s12z architecture.
      	* configure.ac: Likewise.
      	* disassemble.c: Likewise.
      	* disassemble.h: Likewise.
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      	* s12z-dis.c: New file.
      	* s12z.h: New file.
      
      include	* elf/s12z.h: New header.
      
      ld	* Makefile.am: Add support for s12z architecture.
      	* configure.tgt: Likewise.
      	* Makefile.in: Regenerate.
      	* emulparams/m9s12zelf.sh: New file.
      	* scripttempl/elfm9s12z.sc: New file.
      	* testsuite/ld-discard/static.d: Expect to fail for the s12z
      	target.
      	* testsuite/ld-elf/endsym.d: Likewise.
      	* testsuite/ld-elf/merge.d: Likewise.
      	* testsuite/ld-elf/pr14926.d: Skip for the s12z target.
      	* testsuite/ld-elf/sec64k.exp: Likewise.
      	* testsuite/ld-s12z: New directory.
      	* testsuite/ld-s12z/opr-linking.d: New file.
      	* testsuite/ld-s12z/opr-linking.s: New file.
      	* testsuite/ld-s12z/relative-linking.d: New file.
      	* testsuite/ld-s12z/relative-linking.s: New file.
      	* testsuite/ld-s12z/z12s.exp: New file.
      
      gas	* Makefile.am: Add support for s12z target.
      	* Makefile.in: Regenerate.
      	* NEWS: Mention the new support.
      	* config/tc-s12z.c: New file.
      	* config/tc-s12z.h: New file.
      	* configure.tgt: Add  s12z support.
      	* doc/Makefile.am: Likewise.
      	* doc/Makefile.in: Regenerate.
      	* doc/all.texi: Add s12z documentation.
      	* doc/as.textinfo: Likewise.
      	* doc/c-s12z.texi: New file.
      	* testsuite/gas/s12z: New directory.
      	* testsuite/gas/s12z/abs.d: New file.
      	* testsuite/gas/s12z/abs.s: New file.
      	* testsuite/gas/s12z/adc-imm.d: New file.
      	* testsuite/gas/s12z/adc-imm.s: New file.
      	* testsuite/gas/s12z/adc-opr.d: New file.
      	* testsuite/gas/s12z/adc-opr.s: New file.
      	* testsuite/gas/s12z/add-imm.d: New file.
      	* testsuite/gas/s12z/add-imm.s: New file.
      	* testsuite/gas/s12z/add-opr.d: New file.
      	* testsuite/gas/s12z/add-opr.s: New file.
      	* testsuite/gas/s12z/and-imm.d: New file.
      	* testsuite/gas/s12z/and-imm.s: New file.
      	* testsuite/gas/s12z/and-opr.d: New file.
      	* testsuite/gas/s12z/and-opr.s: New file.
      	* testsuite/gas/s12z/and-or-cc.d: New file.
      	* testsuite/gas/s12z/and-or-cc.s: New file.
      	* testsuite/gas/s12z/bfext-special.d: New file.
      	* testsuite/gas/s12z/bfext-special.s: New file.
      	* testsuite/gas/s12z/bfext.d: New file.
      	* testsuite/gas/s12z/bfext.s: New file.
      	* testsuite/gas/s12z/bit-manip.d: New file.
      	* testsuite/gas/s12z/bit-manip.s: New file.
      	* testsuite/gas/s12z/bit.d: New file.
      	* testsuite/gas/s12z/bit.s: New file.
      	* testsuite/gas/s12z/bra-expression-defined.d: New file.
      	* testsuite/gas/s12z/bra-expression-defined.s: New file.
      	* testsuite/gas/s12z/bra-expression-undef.d: New file.
      	* testsuite/gas/s12z/bra-expression-undef.s: New file.
      	* testsuite/gas/s12z/bra.d: New file.
      	* testsuite/gas/s12z/bra.s: New file.
      	* testsuite/gas/s12z/brclr-symbols.d: New file.
      	* testsuite/gas/s12z/brclr-symbols.s: New file.
      	* testsuite/gas/s12z/brset-clr-opr-imm-rel.d: New file.
      	* testsuite/gas/s12z/brset-clr-opr-imm-rel.s: New file.
      	* testsuite/gas/s12z/brset-clr-opr-reg-rel.d: New file.
      	* testsuite/gas/s12z/brset-clr-opr-reg-rel.s: New file.
      	* testsuite/gas/s12z/brset-clr-reg-imm-rel.d: New file.
      	* testsuite/gas/s12z/brset-clr-reg-imm-rel.s: New file.
      	* testsuite/gas/s12z/brset-clr-reg-reg-rel.d: New file.
      	* testsuite/gas/s12z/brset-clr-reg-reg-rel.s: New file.
      	* testsuite/gas/s12z/clb.d: New file.
      	* testsuite/gas/s12z/clb.s: New file.
      	* testsuite/gas/s12z/clr-opr.d: New file.
      	* testsuite/gas/s12z/clr-opr.s: New file.
      	* testsuite/gas/s12z/clr.d: New file.
      	* testsuite/gas/s12z/clr.s: New file.
      	* testsuite/gas/s12z/cmp-imm.d: New file.
      	* testsuite/gas/s12z/cmp-imm.s: New file.
      	* testsuite/gas/s12z/cmp-opr-inc.d: New file.
      	* testsuite/gas/s12z/cmp-opr-inc.s: New file.
      	* testsuite/gas/s12z/cmp-opr-rdirect.d: New file.
      	* testsuite/gas/s12z/cmp-opr-rdirect.s: New file.
      	* testsuite/gas/s12z/cmp-opr-reg.d: New file.
      	* testsuite/gas/s12z/cmp-opr-reg.s: New file.
      	* testsuite/gas/s12z/cmp-opr-rindirect.d: New file.
      	* testsuite/gas/s12z/cmp-opr-rindirect.s: New file.
      	* testsuite/gas/s12z/cmp-opr-sxe4.d: New file.
      	* testsuite/gas/s12z/cmp-opr-sxe4.s: New file.
      	* testsuite/gas/s12z/cmp-opr-xys.d: New file.
      	* testsuite/gas/s12z/cmp-opr-xys.s: New file.
      	* testsuite/gas/s12z/cmp-s-imm.d: New file.
      	* testsuite/gas/s12z/cmp-s-imm.s: New file.
      	* testsuite/gas/s12z/cmp-s-opr.d: New file.
      	* testsuite/gas/s12z/cmp-s-opr.s: New file.
      	* testsuite/gas/s12z/cmp-xy.d: New file.
      	* testsuite/gas/s12z/cmp-xy.s: New file.
      	* testsuite/gas/s12z/com-opr.d: New file.
      	* testsuite/gas/s12z/com-opr.s: New file.
      	* testsuite/gas/s12z/complex-shifts.d: New file.
      	* testsuite/gas/s12z/complex-shifts.s: New file.
      	* testsuite/gas/s12z/db-tb-cc-opr.d: New file.
      	* testsuite/gas/s12z/db-tb-cc-opr.s: New file.
      	* testsuite/gas/s12z/db-tb-cc-reg.d: New file.
      	* testsuite/gas/s12z/db-tb-cc-reg.s: New file.
      	* testsuite/gas/s12z/dbCC.d: New file.
      	* testsuite/gas/s12z/dbCC.s: New file.
      	* testsuite/gas/s12z/dec-opr.d: New file.
      	* testsuite/gas/s12z/dec-opr.s: New file.
      	* testsuite/gas/s12z/dec.d: New file.
      	* testsuite/gas/s12z/dec.s: New file.
      	* testsuite/gas/s12z/div.d: New file.
      	* testsuite/gas/s12z/div.s: New file.
      	* testsuite/gas/s12z/eor.d: New file.
      	* testsuite/gas/s12z/eor.s: New file.
      	* testsuite/gas/s12z/exg.d: New file.
      	* testsuite/gas/s12z/exg.s: New file.
      	* testsuite/gas/s12z/ext24-ld-xy.d: New file.
      	* testsuite/gas/s12z/ext24-ld-xy.s: New file.
      	* testsuite/gas/s12z/inc-opr.d: New file.
      	* testsuite/gas/s12z/inc-opr.s: New file.
      	* testsuite/gas/s12z/inc.d: New file.
      	* testsuite/gas/s12z/inc.s: New file.
      	* testsuite/gas/s12z/inh.d: New file.
      	* testsuite/gas/s12z/inh.s: New file.
      	* testsuite/gas/s12z/jmp.d: New file.
      	* testsuite/gas/s12z/jmp.s: New file.
      	* testsuite/gas/s12z/jsr.d: New file.
      	* testsuite/gas/s12z/jsr.s: New file.
      	* testsuite/gas/s12z/ld-imm-page2.d: New file.
      	* testsuite/gas/s12z/ld-imm-page2.s: New file.
      	* testsuite/gas/s12z/ld-imm.d: New file.
      	* testsuite/gas/s12z/ld-imm.s: New file.
      	* testsuite/gas/s12z/ld-immu18.d: New file.
      	* testsuite/gas/s12z/ld-immu18.s: New file.
      	* testsuite/gas/s12z/ld-large-direct.d: New file.
      	* testsuite/gas/s12z/ld-large-direct.s: New file.
      	* testsuite/gas/s12z/ld-opr.d: New file.
      	* testsuite/gas/s12z/ld-opr.s: New file.
      	* testsuite/gas/s12z/ld-s-opr.d: New file.
      	* testsuite/gas/s12z/ld-s-opr.s: New file.
      	* testsuite/gas/s12z/ld-small-direct.d: New file.
      	* testsuite/gas/s12z/ld-small-direct.s: New file.
      	* testsuite/gas/s12z/lea-immu18.d: New file.
      	* testsuite/gas/s12z/lea-immu18.s: New file.
      	* testsuite/gas/s12z/lea.d: New file.
      	* testsuite/gas/s12z/lea.s: New file.
      	* testsuite/gas/s12z/mac.d: New file.
      	* testsuite/gas/s12z/mac.s: New file.
      	* testsuite/gas/s12z/min-max.d: New file.
      	* testsuite/gas/s12z/min-max.s: New file.
      	* testsuite/gas/s12z/mod.d: New file.
      	* testsuite/gas/s12z/mod.s: New file.
      	* testsuite/gas/s12z/mov.d: New file.
      	* testsuite/gas/s12z/mov.s: New file.
      	* testsuite/gas/s12z/mul-imm.d: New file.
      	* testsuite/gas/s12z/mul-imm.s: New file.
      	* testsuite/gas/s12z/mul-opr-opr.d: New file.
      	* testsuite/gas/s12z/mul-opr-opr.s: New file.
      	* testsuite/gas/s12z/mul-opr.d: New file.
      	* testsuite/gas/s12z/mul-opr.s: New file.
      	* testsuite/gas/s12z/mul-reg.d: New file.
      	* testsuite/gas/s12z/mul-reg.s: New file.
      	* testsuite/gas/s12z/mul.d: New file.
      	* testsuite/gas/s12z/mul.s: New file.
      	* testsuite/gas/s12z/neg-opr.d: New file.
      	* testsuite/gas/s12z/neg-opr.s: New file.
      	* testsuite/gas/s12z/not-so-simple-shifts.d: New file.
      	* testsuite/gas/s12z/not-so-simple-shifts.s: New file.
      	* testsuite/gas/s12z/opr-18u.d: New file.
      	* testsuite/gas/s12z/opr-18u.s: New file.
      	* testsuite/gas/s12z/opr-expr.d: New file.
      	* testsuite/gas/s12z/opr-expr.s: New file.
      	* testsuite/gas/s12z/opr-ext-18.d: New file.
      	* testsuite/gas/s12z/opr-ext-18.s: New file.
      	* testsuite/gas/s12z/opr-idx-24-reg.d: New file.
      	* testsuite/gas/s12z/opr-idx-24-reg.s: New file.
      	* testsuite/gas/s12z/opr-idx3-reg.d: New file.
      	* testsuite/gas/s12z/opr-idx3-reg.s: New file.
      	* testsuite/gas/s12z/opr-idx3-xysp-24.d: New file.
      	* testsuite/gas/s12z/opr-idx3-xysp-24.s: New file.
      	* testsuite/gas/s12z/opr-indirect-expr.d: New file.
      	* testsuite/gas/s12z/opr-indirect-expr.s: New file.
      	* testsuite/gas/s12z/opr-symbol.d: New file.
      	* testsuite/gas/s12z/opr-symbol.s: New file.
      	* testsuite/gas/s12z/or-imm.d: New file.
      	* testsuite/gas/s12z/or-imm.s: New file.
      	* testsuite/gas/s12z/or-opr.d: New file.
      	* testsuite/gas/s12z/or-opr.s: New file.
      	* testsuite/gas/s12z/p2-mul.d: New file.
      	* testsuite/gas/s12z/p2-mul.s: New file.
      	* testsuite/gas/s12z/page2-inh.d: New file.
      	* testsuite/gas/s12z/page2-inh.s: New file.
      	* testsuite/gas/s12z/psh-pul.d: New file.
      	* testsuite/gas/s12z/psh-pul.s: New file.
      	* testsuite/gas/s12z/qmul.d: New file.
      	* testsuite/gas/s12z/qmul.s: New file.
      	* testsuite/gas/s12z/rotate.d: New file.
      	* testsuite/gas/s12z/rotate.s: New file.
      	* testsuite/gas/s12z/s12z.exp: New file.
      	* testsuite/gas/s12z/sat.d: New file.
      	* testsuite/gas/s12z/sat.s: New file.
      	* testsuite/gas/s12z/sbc-imm.d: New file.
      	* testsuite/gas/s12z/sbc-imm.s: New file.
      	* testsuite/gas/s12z/sbc-opr.d: New file.
      	* testsuite/gas/s12z/sbc-opr.s: New file.
      	* testsuite/gas/s12z/shift.d: New file.
      	* testsuite/gas/s12z/shift.s: New file.
      	* testsuite/gas/s12z/simple-shift.d: New file.
      	* testsuite/gas/s12z/simple-shift.s: New file.
      	* testsuite/gas/s12z/single-ops.d: New file.
      	* testsuite/gas/s12z/single-ops.s: New file.
      	* testsuite/gas/s12z/specd6.d: New file.
      	* testsuite/gas/s12z/specd6.s: New file.
      	* testsuite/gas/s12z/st-large-direct.d: New file.
      	* testsuite/gas/s12z/st-large-direct.s: New file.
      	* testsuite/gas/s12z/st-opr.d: New file.
      	* testsuite/gas/s12z/st-opr.s: New file.
      	* testsuite/gas/s12z/st-s-opr.d: New file.
      	* testsuite/gas/s12z/st-s-opr.s: New file.
      	* testsuite/gas/s12z/st-small-direct.d: New file.
      	* testsuite/gas/s12z/st-small-direct.s: New file.
      	* testsuite/gas/s12z/st-xy.d: New file.
      	* testsuite/gas/s12z/st-xy.s: New file.
      	* testsuite/gas/s12z/sub-imm.d: New file.
      	* testsuite/gas/s12z/sub-imm.s: New file.
      	* testsuite/gas/s12z/sub-opr.d: New file.
      	* testsuite/gas/s12z/sub-opr.s: New file.
      	* testsuite/gas/s12z/tfr.d: New file.
      	* testsuite/gas/s12z/tfr.s: New file.
      	* testsuite/gas/s12z/trap.d: New file.
      	* testsuite/gas/s12z/trap.s: New file.
      
      binutils* readelf.c: Add support for s12z architecture.
      	* testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
      	targets.
      7b4ae824
    • Alan Modra's avatar
      ATTRIBUTE_HIDDEN for libbfd.h · 8722de9c
      Alan Modra authored
      	* libbfd-in.h (ATTRIBUTE_HIDDEN): Define and use throughout.
      	* configure.ac (HAVE_HIDDEN): Check compiler support for hidden
      	visibility.
      	* libbfd.h: Regenerate.
      	* configure: Regenerate.
      	* config.in: Regenerate.
      8722de9c
  26. 15 May, 2018 1 commit
  27. 30 Apr, 2018 1 commit
    • Francois H. Theron's avatar
      This patch adds support to objdump for disassembly of NFP (Netronome Flow... · fe944acf
      Francois H. Theron authored
      This patch adds support to objdump for disassembly of NFP (Netronome Flow Processor) ELF files (.nffw) as well as some basic readelf support.
      
      bfd	* Makefile.am: Added NFP files to build.
      	* archures.c: Added bfd_arch_nfp
      	* config.bfd: Added NFP support.
      	* configure.ac: Added NFP support.
      	* cpu-nfp.c: New, for NFP support.
      	* elf-bfd.h: Added elf_section_info()
      	* elf64-nfp.c: New, for NFP support.
      	* po/SRC-POTFILES.in: Added NFP source files.
      	* targets.c: Added nfp_elf64_vec
      	* bfd-in2.h: Regenerate.
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      
      binutils* readelf.c: Very basic support for EM_NFP and its section types.
      	* testsuite/binutils-all/nfp: New directory.
      	* testsuite/binutils-all/nfp/objdump.exp: New file.  Run new
      	tests.
      	* testsuite/binutils-all/nfp/test2_ctx8.d: New file.
      	* testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
      	* testsuite/binutils-all/nfp/test1.d: New file.
      	* testsuite/binutils-all/nfp/nfp6000.nffw: New file.
      	* testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
      	* NEWS: Mention the new support.
      
      include	* dis-asm.h: Added print_nfp_disassembler_options prototype.
      	* elf/common.h: Added EM_NFP, officially assigned. See Google Group
      	Generic System V Application Binary Interface.
      	* elf/nfp.h: New, for NFP support.
      	* opcode/nfp.h: New, for NFP support.
      
      opcodes	Makefile.am: Added nfp-dis.c.
      	configure.ac: Added bfd_nfp_arch.
      	disassemble.h: Added print_insn_nfp prototype.
      	disassemble.c: Added ARCH_nfp and call to print_insn_nfp
      	nfp-dis.c: New, for NFP support.
      	po/POTFILES.in: Added nfp-dis.c to the list.
      	Makefile.in: Regenerate.
      	configure: Regenerate.
      fe944acf
  28. 25 Apr, 2018 2 commits
    • Christophe Lyon's avatar
      [ARM] Add armelf_linux_fdpiceabi and armelfb_linux_fdpiceabi BFD backends · 617a5ada
      Christophe Lyon authored
      Initial definition of these new backends.
      
      2018-04-25  Christophe Lyon  <christophe.lyon@st.com>
      	Mickaël Guêné  <mickael.guene@st.com>
      
      	bfd/
      	* config.bfd (arm*-*-linux-*): Add arm_elf32_fdpic_be_vec and
      	arm_elf32_fdpic_le_vec to targ_selvecs. Accept
      	arm*-*-uclinuxfdpiceabi.
      	* configure.ac: Add support for arm_elf32_fdpic_be_vec and
      	arm_elf32_fdpic_le_vec.
      	* configure: Regenerate.
      	* elf32-arm.c (struct elf32_arm_link_hash_table): Add fdpic_p.
      	(elf32_arm_link_hash_table_create): Initialize fdpic_p.
      	(TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, TARGET_BIG_SYM)
      	(TARGET_BIG_NAME, elf_match_priority): Define for FDPIC targets.
      	(elf32_arm_fdpic_link_hash_table_create): New.
      	* targets.c (_bfd_target_vector): Add arm_elf32_fdpic_be_vec and
      	arm_elf32_fdpic_le_vec.
      
      	ld/
      	* Makefile.am (ALL_EMULATION_SOURCES): Add
      	earmelf_linux_fdpiceabi.c and earmelfb_linux_fdpiceabi.c.
      	(earmelf_linux_fdpiceabi.c, earmelfb_linux_fdpiceabi.c): New rules.
      	* Makefile.in: Regenerate.
      	* configure.tgt (arm*-*-uclinuxfdpiceabi): Handle new target.
      	* emulparams/armelf_linux_fdpiceabi.sh: New.
      	* emulparams/armelfb_linux_fdpiceabi.sh: New.
      617a5ada
    • Alan Modra's avatar
      Remove arm-aout and arm-coff support · 2ac93be7
      Alan Modra authored
      This also removes arm-netbsd (not arm-netbsdelf!), arm-openbsd, and
      arm-riscix.  Those targets weren't on the obsolete list but they are
      all aout, and it doesn't make all that much sense to remove arm-aout
      without removing them too.
      
      bfd/
      	* Makefile.am: Remove arm-aout and arm-coff support.
      	* config.bfd: Likewise.
      	* configure.ac: Likewise.
      	* targets.c: Likewise.
      	* aout-arm.c: Delete.
      	* armnetbsd.c: Delete.
      	* riscix.c: Delete.
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      	* po/SRC-POTFILES.in: Regenerate.
      binutils/
      	* testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
      	arm-coff support.
      	* testsuite/binutils-all/objcopy.exp: Likewise.
      	* testsuite/lib/binutils-common.exp: Likewise.
      gas/
      	* Makefile.am: Remove arm-aout and arm-coff support.
      	* config/tc-arm.c: Likewise.
      	* config/tc-arm.h: Likewise.
      	* configure.tgt: Likewise.
      	* testsuite/gas/aarch64/codealign.d: Likewise.
      	* testsuite/gas/aarch64/mapping.d: Likewise.
      	* testsuite/gas/aarch64/mapping2.d: Likewise.
      	* testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: Likewise.
      	* testsuite/gas/arm/adds-thumb1-reloc-local.d: Likewise.
      	* testsuite/gas/arm/addsw-bad.d: Likewise.
      	* testsuite/gas/arm/align.d: Likewise.
      	* testsuite/gas/arm/align64.d: Likewise.
      	* testsuite/gas/arm/arch7.d: Likewise.
      	* testsuite/gas/arm/arch7a-mp.d: Likewise.
      	* testsuite/gas/arm/arch7em.d: Likewise.
      	* testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
      	* testsuite/gas/arm/arm-it-auto-2.d: Likewise.
      	* testsuite/gas/arm/arm-it-auto-3.d: Likewise.
      	* testsuite/gas/arm/arm-it-auto.d: Likewise.
      	* testsuite/gas/arm/arm-it-bad-2.d: Likewise.
      	* testsuite/gas/arm/arm-it.d: Likewise.
      	* testsuite/gas/arm/armv7e-m+fpv5-d16.d: Likewise.
      	* testsuite/gas/arm/armv7e-m+fpv5-sp-d16.d: Likewise.
      	* testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: Likewise.
      	* testsuite/gas/arm/armv8-2-fp16-scalar.d: Likewise.
      	* testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise.
      	* testsuite/gas/arm/armv8-2-fp16-simd.d: Likewise.
      	* testsuite/gas/arm/armv8-a+crypto.d: Likewise.
      	* testsuite/gas/arm/armv8-a+fp.d: Likewise.
      	* testsuite/gas/arm/armv8-a+ras.d: Likewise.
      	* testsuite/gas/arm/armv8-a+rdma-warning.d: Likewise.
      	* testsuite/gas/arm/armv8-a+rdma.d: Likewise.
      	* testsuite/gas/arm/armv8-a+simd.d: Likewise.
      	* testsuite/gas/arm/armv8-a-barrier-thumb.d: Likewise.
      	* testsuite/gas/arm/armv8-r+fp.d: Likewise.
      	* testsuite/gas/arm/armv8-r+simd.d: Likewise.
      	* testsuite/gas/arm/armv8-r-barrier-thumb.d: Likewise.
      	* testsuite/gas/arm/armv8_1-a+simd.d: Likewise.
      	* testsuite/gas/arm/armv8_2+rdma.d: Likewise.
      	* testsuite/gas/arm/armv8_2-a.d: Likewise.
      	* testsuite/gas/arm/armv8_3-a-fp.d: Likewise.
      	* testsuite/gas/arm/armv8_3-a-simd.d: Likewise.
      	* testsuite/gas/arm/armv8a-automatic-hlt.d: Likewise.
      	* testsuite/gas/arm/armv8a-automatic-lda.d: Likewise.
      	* testsuite/gas/arm/attr-syntax.d: Likewise.
      	* testsuite/gas/arm/automatic-bw.d: Likewise.
      	* testsuite/gas/arm/automatic-cbz.d: Likewise.
      	* testsuite/gas/arm/automatic-clrex.d: Likewise.
      	* testsuite/gas/arm/automatic-lda.d: Likewise.
      	* testsuite/gas/arm/automatic-ldaex.d: Likewise.
      	* testsuite/gas/arm/automatic-ldaexb.d: Likewise.
      	* testsuite/gas/arm/automatic-ldrex.d: Likewise.
      	* testsuite/gas/arm/automatic-ldrexd.d: Likewise.
      	* testsuite/gas/arm/automatic-movw.d: Likewise.
      	* testsuite/gas/arm/automatic-sdiv.d: Likewise.
      	* testsuite/gas/arm/automatic-strexb.d: Likewise.
      	* testsuite/gas/arm/barrier-bad-thumb.d: Likewise.
      	* testsuite/gas/arm/barrier-bad.d: Likewise.
      	* testsuite/gas/arm/barrier-thumb.d: Likewise.
      	* testsuite/gas/arm/barrier.d: Likewise.
      	* testsuite/gas/arm/bignum1.d: Likewise.
      	* testsuite/gas/arm/blx-bad.d: Likewise.
      	* testsuite/gas/arm/blx-bl-convert.d: Likewise.
      	* testsuite/gas/arm/blx-local.s: Likewise.
      	* testsuite/gas/arm/crc32-armv8-a-bad.d: Likewise.
      	* testsuite/gas/arm/crc32-armv8-a.d: Likewise.
      	* testsuite/gas/arm/crc32-armv8-r-bad.d: Likewise.
      	* testsuite/gas/arm/crc32-armv8-r.d: Likewise.
      	* testsuite/gas/arm/dis-data.d: Likewise.
      	* testsuite/gas/arm/dis-data2.d: Likewise.
      	* testsuite/gas/arm/dis-data3.d: Likewise.
      	* testsuite/gas/arm/eabi_attr_1.d: Likewise.
      	* testsuite/gas/arm/fp-save.d: Likewise.
      	* testsuite/gas/arm/group-reloc-alu-encoding-bad.d: Likewise.
      	* testsuite/gas/arm/group-reloc-alu-parsing-bad.d: Likewise.
      	* testsuite/gas/arm/group-reloc-alu.d: Likewise.
      	* testsuite/gas/arm/group-reloc-ldc-encoding-bad.d: Likewise.
      	* testsuite/gas/arm/group-reloc-ldc-parsing-bad.d: Likewise.
      	* testsuite/gas/arm/group-reloc-ldc.d: Likewise.
      	* testsuite/gas/arm/group-reloc-ldr-encoding-bad.d: Likewise.
      	* testsuite/gas/arm/group-reloc-ldr-parsing-bad.d: Likewise.
      	* testsuite/gas/arm/group-reloc-ldr.d: Likewise.
      	* testsuite/gas/arm/group-reloc-ldrs-encoding-bad.d: Likewise.
      	* testsuite/gas/arm/group-reloc-ldrs-parsing-bad.d: Likewise.
      	* testsuite/gas/arm/group-reloc-ldrs.d: Likewise.
      	* testsuite/gas/arm/insn-error-a.d: Likewise.
      	* testsuite/gas/arm/insn-error-t.d: Likewise.
      	* testsuite/gas/arm/inst-po-2.d: Likewise.
      	* testsuite/gas/arm/inst-po-3.d: Likewise.
      	* testsuite/gas/arm/inst-po-be.d: Likewise.
      	* testsuite/gas/arm/inst-po.d: Likewise.
      	* testsuite/gas/arm/ldconst.d: Likewise.
      	* testsuite/gas/arm/ldgesb-bad.d: Likewise.
      	* testsuite/gas/arm/ldgesh-bad.d: Likewise.
      	* testsuite/gas/arm/ldst-offset0.d: Likewise.
      	* testsuite/gas/arm/local_function.d: Likewise.
      	* testsuite/gas/arm/local_label_coff.d: Likewise.
      	* testsuite/gas/arm/local_label_elf.d: Likewise.
      	* testsuite/gas/arm/mapping.d: Likewise.
      	* testsuite/gas/arm/mapping2.d: Likewise.
      	* testsuite/gas/arm/mapping3.d: Likewise.
      	* testsuite/gas/arm/mapping4.d: Likewise.
      	* testsuite/gas/arm/mapshort-elf.d: Likewise.
      	* testsuite/gas/arm/mask_1-armv8-a.d: Likewise.
      	* testsuite/gas/arm/mask_1-armv8-r.d: Likewise.
      	* testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: Likewise.
      	* testsuite/gas/arm/movs-thumb1-reloc-local.d: Likewise.
      	* testsuite/gas/arm/movw-local.d: Likewise.
      	* testsuite/gas/arm/mrs-msr-thumb-v6t2.d: Likewise.
      	* testsuite/gas/arm/mrs-msr-thumb-v7-m.d: Likewise.
      	* testsuite/gas/arm/mrs-msr-thumb-v7e-m.d: Likewise.
      	* testsuite/gas/arm/msr-imm-bad.d: Likewise.
      	* testsuite/gas/arm/msr-reg-bad.d: Likewise.
      	* testsuite/gas/arm/msr-reg-thumb.d: Likewise.
      	* testsuite/gas/arm/nomapping.d: Likewise.
      	* testsuite/gas/arm/nops.d: Likewise.
      	* testsuite/gas/arm/pic.d: Likewise.
      	* testsuite/gas/arm/pinsn.d: Likewise.
      	* testsuite/gas/arm/plt-1.d: Likewise.
      	* testsuite/gas/arm/pr21458.d: Likewise.
      	* testsuite/gas/arm/pr9722.d: Likewise.
      	* testsuite/gas/arm/strex-t.d: Likewise.
      	* testsuite/gas/arm/t2-branch-global.d: Likewise.
      	* testsuite/gas/arm/target-reloc-1.d: Likewise.
      	* testsuite/gas/arm/thumb-b-bad.d: Likewise.
      	* testsuite/gas/arm/thumb-w-bad.d: Likewise.
      	* testsuite/gas/arm/thumb-w-good.d: Likewise.
      	* testsuite/gas/arm/thumb.d: Likewise.
      	* testsuite/gas/arm/thumb2_it.d: Likewise.
      	* testsuite/gas/arm/thumb2_it_auto.d: Likewise.
      	* testsuite/gas/arm/thumb2_it_search.d: Likewise.
      	* testsuite/gas/arm/thumb2_ldmstm.d: Likewise.
      	* testsuite/gas/arm/thumb2_ldr_immediate_armv6.d: Likewise.
      	* testsuite/gas/arm/thumb2_ldr_immediate_armv6t2.d: Likewise.
      	* testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d: Likewise.
      	* testsuite/gas/arm/thumb2_pool.d: Likewise.
      	* testsuite/gas/arm/thumb2_vpool.d: Likewise.
      	* testsuite/gas/arm/thumb2_vpool_be.d: Likewise.
      	* testsuite/gas/arm/thumb32.d: Likewise.
      	* testsuite/gas/arm/thumbver.d: Likewise.
      	* testsuite/gas/arm/tls.d: Likewise.
      	* testsuite/gas/arm/tls_vxworks.d: Likewise.
      	* testsuite/gas/arm/undefined.d: Likewise.
      	* testsuite/gas/arm/undefined_coff.d: Likewise.
      	* testsuite/gas/arm/unwind.d: Likewise.
      	* testsuite/gas/arm/v4bx.d: Likewise.
      	* testsuite/gas/arm/vcmp-noprefix-imm.d: Likewise.
      	* testsuite/gas/arm/vcvt-bad.d: Likewise.
      	* testsuite/gas/arm/vfma1.d: Likewise.
      	* testsuite/gas/arm/vldconst.d: Likewise.
      	* testsuite/gas/arm/vldconst_be.d: Likewise.
      	* testsuite/gas/arm/vldm-arm.d: Likewise.
      	* testsuite/gas/arm/vldr.d: Likewise.
      	* testsuite/gas/arm/weakdef-1.d: Likewise.
      	* testsuite/gas/arm/weakdef-2.d: Likewise.
      	* config/te-riscix.h: Delete.
      	* Makefile.in: Regenerate.
      	* po/POTFILES.in: Regenerate.
      ld/
      	* Makefile.am: Remove arm-aout and arm-coff support.
      	* configure.tgt: Likewise.
      	* testsuite/ld-arm/attr-merge-div-00.d: Likewise.
      	* testsuite/ld-arm/attr-merge-div-01-m3.d: Likewise.
      	* testsuite/ld-arm/attr-merge-div-01.d: Likewise.
      	* testsuite/ld-arm/attr-merge-div-02.d: Likewise.
      	* testsuite/ld-arm/attr-merge-div-10-m3.d: Likewise.
      	* testsuite/ld-arm/attr-merge-div-10.d: Likewise.
      	* testsuite/ld-arm/attr-merge-div-11.d: Likewise.
      	* testsuite/ld-arm/attr-merge-div-12.d: Likewise.
      	* testsuite/ld-arm/attr-merge-div-120.d: Likewise.
      	* testsuite/ld-arm/attr-merge-div-20.d: Likewise.
      	* testsuite/ld-arm/attr-merge-div-21.d: Likewise.
      	* testsuite/ld-arm/attr-merge-div-22.d: Likewise.
      	* testsuite/ld-arm/attr-merge-hardfp-use-1.d: Likewise.
      	* testsuite/ld-arm/attr-merge-hardfp-use-2.d: Likewise.
      	* testsuite/ld-arm/attr-merge-nosection-1.d: Likewise.
      	* testsuite/ld-arm/attr-merge-unknown-2.d: Likewise.
      	* testsuite/ld-arm/attr-merge-unknown-2r.d: Likewise.
      	* testsuite/ld-arm/attr-merge-unknown-3.d: Likewise.
      	* testsuite/ld-arm/attr-merge-vfp-1.d: Likewise.
      	* testsuite/ld-arm/attr-merge-vfp-10.d: Likewise.
      	* testsuite/ld-arm/attr-merge-vfp-10r.d: Likewise.
      	* testsuite/ld-arm/attr-merge-vfp-11.d: Likewise.
      	* testsuite/ld-arm/attr-merge-vfp-11r.d: Likewise.
      	* testsuite/ld-arm/attr-merge-vfp-12.d: Likewise.
      	* testsuite/ld-arm/attr-merge-vfp-12r.d: Likewise.
      	* testsuite/ld-arm/attr-merge-vfp-13.d: Likewise.
      	* testsuite/ld-arm/attr-merge-vfp-13r.d: Likewise.
      	* testsuite/ld-arm/attr-merge-vfp-14.d: Likewise.
      	* testsuite/ld-arm/attr-merge-vfp-14r.d: Likewise.
      	* testsuite/ld-arm/attr-merge-vfp-1r.d: Likewise.
      	* testsuite/ld-arm/attr-merge-vfp-2.d: Likewise.
      	* testsuite/ld-arm/attr-merge-vfp-2r.d: Likewise.
      	* testsuite/ld-arm/attr-merge-vfp-3.d: Likewise.
      	* testsuite/ld-arm/attr-merge-vfp-3r.d: Likewise.
      	* testsuite/ld-arm/attr-merge-vfp-4.d: Likewise.
      	* testsuite/ld-arm/attr-merge-vfp-4r.d: Likewise.
      	* testsuite/ld-arm/attr-merge-vfp-5.d: Likewise.
      	* testsuite/ld-arm/attr-merge-vfp-5r.d: Likewise.
      	* testsuite/ld-arm/attr-merge-vfp-6.d: Likewise.
      	* testsuite/ld-arm/attr-merge-vfp-6r.d: Likewise.
      	* testsuite/ld-arm/attr-merge-vfp-7.d: Likewise.
      	* testsuite/ld-arm/attr-merge-vfp-7r.d: Likewise.
      	* testsuite/ld-arm/attr-merge-vfp-8.d: Likewise.
      	* testsuite/ld-arm/attr-merge-vfp-8r.d: Likewise.
      	* testsuite/ld-arm/attr-merge-vfp-9.d: Likewise.
      	* testsuite/ld-arm/attr-merge-vfp-9r.d: Likewise.
      	* testsuite/ld-arm/attr-merge-wchar-00-nowarn.d: Likewise.
      	* testsuite/ld-arm/attr-merge-wchar-00.d: Likewise.
      	* testsuite/ld-arm/attr-merge-wchar-02-nowarn.d: Likewise.
      	* testsuite/ld-arm/attr-merge-wchar-02.d: Likewise.
      	* testsuite/ld-arm/attr-merge-wchar-04-nowarn.d: Likewise.
      	* testsuite/ld-arm/attr-merge-wchar-04.d: Likewise.
      	* testsuite/ld-arm/attr-merge-wchar-20-nowarn.d: Likewise.
      	* testsuite/ld-arm/attr-merge-wchar-20.d: Likewise.
      	* testsuite/ld-arm/attr-merge-wchar-22-nowarn.d: Likewise.
      	* testsuite/ld-arm/attr-merge-wchar-22.d: Likewise.
      	* testsuite/ld-arm/attr-merge-wchar-24-nowarn.d: Likewise.
      	* testsuite/ld-arm/attr-merge-wchar-40-nowarn.d: Likewise.
      	* testsuite/ld-arm/attr-merge-wchar-40.d: Likewise.
      	* testsuite/ld-arm/attr-merge-wchar-42-nowarn.d: Likewise.
      	* testsuite/ld-arm/attr-merge-wchar-44-nowarn.d: Likewise.
      	* testsuite/ld-arm/attr-merge-wchar-44.d: Likewise.
      	* testsuite/ld-arm/eabi-hard-float.d: Likewise.
      	* testsuite/ld-arm/eabi-soft-float-ABI4.d: Likewise.
      	* testsuite/ld-arm/eabi-soft-float-r.d: Likewise.
      	* testsuite/ld-arm/eabi-soft-float.d: Likewise.
      	* testsuite/ld-arm/gc-hidden-1.d: Likewise.
      	* emulparams/armaoutb.sh: Delete.
      	* emulparams/armaoutl.sh: Delete.
      	* emulparams/armcoff.sh: Delete.
      	* emulparams/armnbsd.sh: Delete.
      	* emulparams/riscix.sh: Delete.
      	* scripttempl/armaout.sc: Delete.
      	* scripttempl/armcoff.sc: Delete.
      	* scripttempl/riscix.sc: Delete.
      	* Makefile.in: Regenerate.
      	* po/BLD-POTFILES.in: Regenerate.
      2ac93be7
  29. 19 Apr, 2018 1 commit
    • Alan Modra's avatar
      Reinstate mips ecoff support · 8e415ce8
      Alan Modra authored
      	* Makefile.am: Revert 2018-04-18 coff-mips changes.
      	* config.bfd: Add back mips_ecoff_le_vec and mips_ecoff_be_vec
      	to selvecs for mips targets change 2018-04-18.
      	* configure.ac: Reinstate mips_ecoff_le_vec, mips_ecoff_be_vec
      	and  mips_ecoff_bele_vec.
      	* targets.c: Likewise.
      	* coff-mips.c: Resurrect.
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      	* po/SRC-POTFILES.in: Regenerate.
      8e415ce8
  30. 18 Apr, 2018 2 commits
    • Alan Modra's avatar
      Remove mips aout, coff, and pe support · 3596d8ce
      Alan Modra authored
      include/coff/mips.h needs to stay for ecoff debug support.
      
      include/
      	* coff/mipspe.h: Delete.
      bfd/
      	* Makefile.am: Remove mips aout, coff, and pe support.
      	* config.bfd: Likewise.
      	* configure.ac: Likewise.
      	* targets.c: Likewise.
      	* coff-mips.c: Delete
      	* mipsbsd.c: Delete
      	* pe-mips.c: Delete
      	* pei-mips.c: Delete
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      	* po/SRC-POTFILES.in: Regenerate.
      3596d8ce
    • Alan Modra's avatar
      various i386-aout and i386-coff target removal · c65c21e1
      Alan Modra authored
      Also tidies some other aout leftovers in binutils-common.exp.
      
      bfd/
      	* Makefile.am: Remove support for assorted i386 aout and coff targets.
      	* config.bfd: Likewise.
      	* configure.ac: Likewise.
      	* doc/bfdint.texi: Likewise.
      	* targets.c: Likewise.
      	* freebsd.h: Delete.
      	* i386dynix.c: Delete.
      	* i386freebsd.c: Delete.
      	* i386linux.c: Delete.
      	* i386mach3.c: Delete.
      	* i386netbsd.c: Delete.
      	* i386os9k.c: Delete.
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      	* po/SRC-POTFILES.in: Regenerate.
      binutils/
      	* testsuite/lib/binutils-common.exp: Remove support for assorted
      	aout targets.
      gas/
      	* Makefile.am: Remove support for assorted i386 aout and coff targets.
      	* config/obj-elf.c: Likewise.
      	* config/tc-i386.h: Likewise.
      	* configure.ac: Likewise.
      	* configure.tgt: Likewise.
      	* config/te-dynix.h: Delete.
      	* config/te-i386aix.h: Delete.
      	* config/te-mach.h: Delete.
      	* Makefile.in: Regenerate.
      	* config.in: Regenerate.
      	* configure: Regenerate.
      	* po/POTFILES.in: Regenerate.
      include/
      	* aout/dynix3.h: Delete.
      ld/
      	* Makefile.am: Remove support for assorted i386 aout and coff targets.
      	* configure.tgt: Likewise.
      	* testsuite/ld-discard/discard.exp: Likewise.
      	* testsuite/ld-elf/binutils.exp: Likewise.
      	* testsuite/ld-elf/tls.exp: Likewise.
      	* testsuite/ld-elf/tls_common.exp: Likewise.
      	* testsuite/ld-elfvers/vers.exp: Likewise.
      	* testsuite/ld-elfvsb/elfvsb.exp: Likewise.
      	* testsuite/ld-elfweak/elfweak.exp: Likewise.
      	* testsuite/ld-gc/abi-note.d: Likewise.
      	* testsuite/ld-gc/pr19167.d: Likewise.
      	* testsuite/ld-gc/pr20022.d: Likewise.
      	* testsuite/ld-gc/start.d: Likewise.
      	* testsuite/ld-gc/stop.d: Likewise.
      	* testsuite/ld-i386/i386.exp: Likewise.
      	* testsuite/ld-ifunc/binutils.exp: Likewise.
      	* testsuite/ld-ifunc/ifunc.exp: Likewise.
      	* testsuite/ld-linkonce/linkonce.exp: Likewise.
      	* testsuite/ld-plugin/lto.exp: Likewise.
      	* testsuite/ld-scripts/empty-address-2a.d: Likewise.
      	* testsuite/ld-scripts/empty-address-2b.d: Likewise.
      	* testsuite/ld-scripts/phdrs2.exp: Likewise.
      	* testsuite/ld-scripts/section-match-1.d: Likewise.
      	* testsuite/ld-shared/shared.exp: Likewise.
      	* testsuite/ld-size/size.exp: Likewise.
      	* testsuite/ld-sparc/sparc.exp: Likewise.
      	* emulparams/i386coff.sh: Delete.
      	* emulparams/i386linux.sh: Delete.
      	* emulparams/i386mach.sh: Delete.
      	* emulparams/i386nbsd.sh: Delete.
      	* emulparams/vsta.sh: Delete.
      	* scripttempl/i386coff.sc: Delete.
      	* Makefile.in: Regenerate.
      	* po/BLD-POTFILES.in: Regenerate.
      c65c21e1
  31. 16 Apr, 2018 6 commits
    • Alan Modra's avatar
      Remove arm-epoc-pe support · ddb00039
      Alan Modra authored
      bfd/
      	* Makefile.am: Remove arm-epoc-pe support.
      	* coff-arm.c: Likewise.
      	* config.bfd: Likewise.
      	* configure.ac: Likewise.
      	* targets.c: Likewise.
      	* epoc-pe-arm.c: Delete.
      	* epoc-pei-arm.c: Delete.
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      	* po/SRC-POTFILES.in: Regenerate.
      binutils/
      	* configure.ac: Remove arm-epoc-pe support.
      	* dlltool.c: Likewise.
      	* configure: Regenerate.
      gas/
      	* Makefile.am: Remove arm-epoc-pe support.
      	* config/tc-arm.h: Likewise.
      	* configure.tgt: Likewise.
      	* testsuite/gas/all/gas.exp: Likewise.
      	* testsuite/gas/arm/local_label_coff.d: Likewise.
      	* testsuite/gas/arm/undefined.d: Likewise.
      	* testsuite/gas/arm/undefined_coff.d: Likewise.
      	* config/te-epoc-pe.h: Delete.
      	* Makefile.in: Regenerate.
      	* po/POTFILES.in: Regenerate.
      ld/
      	* Makefile.am: Remove arm-epoc-pe support.
      	* configure.tgt: Likewise.
      	* emultempl/pe.em: Likewise.
      	* pe-dll.c: Likewise.
      	* testsuite/ld-scripts/fill.d: Likewise.
      	* testsuite/ld-scripts/fill16.d: Likewise.
      	* emulparams/arm_epoc_pe.sh: Delete.
      	* scripttempl/epocpe.sc: Delete.
      	* Makefile.in: Regenerate.
      	* po/BLD-POTFILES.in: Regenerate.
      ddb00039
    • Alan Modra's avatar
      Remove sparc-aout and sparc-coff support · c9098af4
      Alan Modra authored
      bfd/
      	* Makefile.am: Remove sparc-aout and sparc-coff support.
      	* config.bfd: Likewise.
      	* configure.ac: Likewise.
      	* targets.c: Likewise.
      	* aout-sparcle.c: Delete.
      	* aoutf1.h: Delete.
      	* cf-sparclynx.c: Delete.
      	* coff-sparc.c: Delete.
      	* demo64.c: Delete.
      	* sparclinux.c: Delete.
      	* sparclynx.c: Delete.
      	* sparcnetbsd.c: Delete.
      	* sunos.c: Delete.
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      	* po/SRC-POTFILES.in: Regenerate.
      binutils/
      	* testsuite/lib/binutils-common.exp: Remove sparc-aout and
      	sparc-coff support.
      gas/
      	* Makefile.am: Remove sparc-aout and sparc-coff support.
      	* config/obj-coff.h: Likewise.
      	* config/tc-sparc.c: Likewise.
      	* config/tc-sparc.h: Likewise.
      	* configure.tgt: Likewise.
      	* config/te-sparcaout.h: Delete.
      	* testsuite/gas/sun4/addend.d: Delete.
      	* testsuite/gas/sun4/addend.exp: Delete.
      	* testsuite/gas/sun4/addend.s: Delete.
      	* Makefile.in: Regenerate.
      	* po/POTFILES.in: Regenerate.
      ld/
      	* Makefile.am: Remove sparc-aout and sparc-coff support.
      	* configure.tgt: Likewise.
      	* testsuite/ld-elfvers/vers.exp: Likewise.
      	* testsuite/ld-elfvsb/elfvsb.exp: Likewise.
      	* testsuite/ld-elfweak/elfweak.exp: Likewise.
      	* testsuite/ld-shared/shared.exp: Likewise.
      	* emulparams/coff_sparc.sh: Delete.
      	* emulparams/sparcaout.sh: Delete.
      	* emulparams/sparclinux.sh: Delete.
      	* emulparams/sparcnbsd.sh: Delete.
      	* emulparams/sun4.sh: Delete.
      	* scripttempl/sparccoff.sc: Delete.
      	* Makefile.in: Regenerate.
      	* po/BLD-POTFILES.in: Regenerate.
      c9098af4
    • Alan Modra's avatar
      Remove m68k-aout and m68k-coff support · dc12032b
      Alan Modra authored
      include/
      	* aout/host.h: Remove m68k-aout and m68k-coff support.
      	* aout/hp300hpux.h: Delete.
      	* coff/apollo.h: Delete.
      	* coff/aux-coff.h: Delete.
      	* coff/m68k.h: Delete.
      bfd/
      	* Makefile.am: Remove m68k-aout and m68k-coff support.
      	* aoutf1.h: Likewise.
      	* aoutx.h: Likewise.
      	* archive.c: Likewise.
      	* bfd-in.h: Likewise.
      	* bfd.c: Likewise.
      	* coffcode.h: Likewise.
      	* coffswap.h: Likewise.
      	* config.bfd: Likewise.
      	* configure.ac: Likewise.
      	* configure.host: Likewise.
      	* doc/bfd.texinfo: Likewise.
      	* doc/bfdint.texi: Likewise.
      	* freebsd.h: Likewise.
      	* gen-aout.c: Likewise.
      	* hpux-core.c: Likewise.
      	* libaout.h: Likewise.
      	* libbfd-in.h: Likewise.
      	* pdp11.c: Likewise.
      	* peicode.h: Likewise.
      	* riscix.c: Likewise.
      	* targets.c: Likewise.
      	* aout0.c: Delete.
      	* coff-apollo.c: Delete.
      	* coff-aux.c: Delete.
      	* coff-m68k.c: Delete.
      	* coff-svm68k.c: Delete.
      	* coff-u68k.c: Delete.
      	* hosts/delta68.h: Delete.
      	* hosts/hp300bsd.h: Delete.
      	* hosts/m68kaux.h: Delete.
      	* hosts/news.h: Delete.
      	* hp300bsd.c: Delete.
      	* hp300hpux.c: Delete.
      	* liboasys.h: Delete.
      	* m68k4knetbsd.c: Delete.
      	* m68klinux.c: Delete.
      	* m68knetbsd.c: Delete.
      	* oasys.c: Delete.
      	* versados.c: Delete.
      	* Makefile.in: Regenerate.
      	* bfd-in2.h: Regenerate.
      	* configure: Regenerate.
      	* libbfd.h: Regenerate.
      	* po/SRC-POTFILES.in: Regenerate.
      binutils/
      	* testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
      	support.
      	* testsuite/binutils-all/copy-3.d: Likewise.
      	* testsuite/binutils-all/objcopy.exp: Likewise.
      	* testsuite/lib/binutils-common.exp: Likewise.
      gas/
      	* Makefile.am: Remove m68k-aout and m68k-coff support.
      	* config/tc-m68k.c: Likewise.
      	* config/tc-m68k.h: Likewise.
      	* configure.ac: Likewise.
      	* configure.tgt: Likewise.
      	* testsuite/gas/all/weakref1u.d: Likewise.
      	* testsuite/gas/m68k/all.exp: Likewise.
      	* testsuite/gas/m68k/br-isaa.d: Likewise.
      	* testsuite/gas/m68k/br-isab.d: Likewise.
      	* testsuite/gas/m68k/br-isac.d: Likewise.
      	* config/te-psos.h: Delete.
      	* config/te-sun3.h: Delete.
      	* testsuite/gas/m68k-coff/gas.exp: Delete.
      	* testsuite/gas/m68k-coff/p2389.s: Delete.
      	* testsuite/gas/m68k-coff/p2389a.s: Delete.
      	* testsuite/gas/m68k-coff/p2430.s: Delete.
      	* testsuite/gas/m68k-coff/p2430a.s: Delete.
      	* testsuite/gas/m68k-coff/t1.s: Delete.
      	* testsuite/gas/m68k/p3041.d: Delete.
      	* testsuite/gas/m68k/p3041.s: Delete.
      	* testsuite/gas/m68k/p3041data.d: Delete.
      	* testsuite/gas/m68k/p3041data.s: Delete.
      	* testsuite/gas/m68k/p3041pcrel.d: Delete.
      	* testsuite/gas/m68k/p3041pcrel.s: Delete.
      	* testsuite/gas/m68k/t2.d: Delete.
      	* Makefile.in: Regenerate.
      	* config.in: Regenerate.
      	* configure: Regenerate.
      	* po/POTFILES.in: Regenerate.
      ld/
      	* Makefile.am: Remove m68k-aout and m68k-coff support.
      	* configure.tgt: Likewise.
      	* emultempl/m68kelf.em: Likewise.
      	* ld.texinfo: Likewise.
      	* mri.c: Likewise.
      	* emulparams/delta68.sh: Delete.
      	* emulparams/hp300bsd.sh: Delete.
      	* emulparams/hp3hpux.sh: Delete.
      	* emulparams/m68k4knbsd.sh: Delete.
      	* emulparams/m68kaout.sh: Delete.
      	* emulparams/m68kaux.sh: Delete.
      	* emulparams/m68kcoff.sh: Delete.
      	* emulparams/m68klinux.sh: Delete.
      	* emulparams/m68knbsd.sh: Delete.
      	* emulparams/m68kpsos.sh: Delete.
      	* emulparams/sun3.sh: Delete.
      	* emultempl/m68kcoff.em: Delete.
      	* scripttempl/delta68.sc: Delete.
      	* scripttempl/m68kaux.sc: Delete.
      	* scripttempl/m68kcoff.sc: Delete.
      	* scripttempl/psos.sc: Delete.
      	* testsuite/ld-versados/t1-1.ro: Delete.
      	* testsuite/ld-versados/t1-2.ro: Delete.
      	* testsuite/ld-versados/t1.ld: Delete.
      	* testsuite/ld-versados/t1.ook: Delete.
      	* testsuite/ld-versados/t2-1.ro: Delete.
      	* testsuite/ld-versados/t2-2.ro: Delete.
      	* testsuite/ld-versados/t2-3.ro: Delete.
      	* testsuite/ld-versados/t2.ld: Delete.
      	* testsuite/ld-versados/t2.ook: Delete.
      	* testsuite/ld-versados/versados.exp: Delete.
      	* Makefile.in: Regenerate.
      	* po/BLD-POTFILES.in: Regenerate.
      dc12032b
    • Alan Modra's avatar
      Remove sh5 and sh64 support · 211dc24b
      Alan Modra authored
      include/
      	* dis-asm.h: Remove sh5 and sh64 support.
      bfd/
      	* Makefile.am: Remove sh5 and sh64 support.
      	* archures.c: Likewise.
      	* config.bfd: Likewise.
      	* configure.ac: Likewise.
      	* cpu-sh.c: Likewise.
      	* elf32-sh-relocs.h: Likewise.
      	* elf32-sh.c: Likewise.
      	* targets.c: Likewise.
      	* elf32-sh64-com.c: Delete.
      	* elf32-sh64.c: Delete.
      	* elf32-sh64.h: Delete.
      	* elf64-sh64.c: Delete.
      	* Makefile.in: Regenerate.
      	* bfd-in2.h: Regenerate.
      	* configure: Regenerate.
      	* po/SRC-POTFILES.in: Regenerate.
      opcodes/
      	* Makefile.am: Remove sh5 and sh64 support.
      	* configure.ac: Likewise.
      	* disassemble.c: Likewise.
      	* disassemble.h: Likewise.
      	* sh-dis.c: Likewise.
      	* sh64-dis.c: Delete.
      	* sh64-opc.c: Delete.
      	* sh64-opc.h: Delete.
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      	* po/POTFILES.in: Regenerate.
      bintuils/
      	* testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
      gas/
      	* Makefile.am: Remove sh5 and sh64 support.
      	* config/tc-sh.c: Likewise.
      	* configure.tgt: Likewise.
      	* doc/Makefile.am: Likewise.
      	* doc/as.texinfo: Likewise.
      	* testsuite/gas/cfi/cfi.exp: Likewise.
      	* testsuite/gas/sh/basic.exp: Likewise.
      	* config/tc-sh64.c: Delete.
      	* config/tc-sh64.h: Delete.
      	* doc/c-sh64.texi: Delete.
      	* testsuite/gas/sh/sh64/abi-32.d: Delete.
      	* testsuite/gas/sh/sh64/abi-32.s: Delete.
      	* testsuite/gas/sh/sh64/abi-64.d: Delete.
      	* testsuite/gas/sh/sh64/abi-64.s: Delete.
      	* testsuite/gas/sh/sh64/basic-1.d: Delete.
      	* testsuite/gas/sh/sh64/basic-1.s: Delete.
      	* testsuite/gas/sh/sh64/case-1.d: Delete.
      	* testsuite/gas/sh/sh64/case-1.s: Delete.
      	* testsuite/gas/sh/sh64/case-noexp-1.d: Delete.
      	* testsuite/gas/sh/sh64/crange1-1.d: Delete.
      	* testsuite/gas/sh/sh64/crange1-2.d: Delete.
      	* testsuite/gas/sh/sh64/crange1.s: Delete.
      	* testsuite/gas/sh/sh64/crange2-1.d: Delete.
      	* testsuite/gas/sh/sh64/crange2-2.d: Delete.
      	* testsuite/gas/sh/sh64/crange2-noexp-1.d: Delete.
      	* testsuite/gas/sh/sh64/crange2.s: Delete.
      	* testsuite/gas/sh/sh64/crange3-1.d: Delete.
      	* testsuite/gas/sh/sh64/crange3.s: Delete.
      	* testsuite/gas/sh/sh64/crange4-1.d: Delete.
      	* testsuite/gas/sh/sh64/crange4.s: Delete.
      	* testsuite/gas/sh/sh64/crange5-1.d: Delete.
      	* testsuite/gas/sh/sh64/crange5.s: Delete.
      	* testsuite/gas/sh/sh64/creg-1.d: Delete.
      	* testsuite/gas/sh/sh64/creg-1.s: Delete.
      	* testsuite/gas/sh/sh64/creg-2.d: Delete.
      	* testsuite/gas/sh/sh64/creg-2.s: Delete.
      	* testsuite/gas/sh/sh64/datal-1.s: Delete.
      	* testsuite/gas/sh/sh64/datal-2.d: Delete.
      	* testsuite/gas/sh/sh64/datal-2.s: Delete.
      	* testsuite/gas/sh/sh64/datal-3.s: Delete.
      	* testsuite/gas/sh/sh64/datal32-1.d: Delete.
      	* testsuite/gas/sh/sh64/datal32-3.d: Delete.
      	* testsuite/gas/sh/sh64/datal64-1.d: Delete.
      	* testsuite/gas/sh/sh64/datal64-3.d: Delete.
      	* testsuite/gas/sh/sh64/eh-1.d: Delete.
      	* testsuite/gas/sh/sh64/eh-1.s: Delete.
      	* testsuite/gas/sh/sh64/endian-1.d: Delete.
      	* testsuite/gas/sh/sh64/endian-1.s: Delete.
      	* testsuite/gas/sh/sh64/endian-2.d: Delete.
      	* testsuite/gas/sh/sh64/endian-2.s: Delete.
      	* testsuite/gas/sh/sh64/err-1.s: Delete.
      	* testsuite/gas/sh/sh64/err-2.s: Delete.
      	* testsuite/gas/sh/sh64/err-3.s: Delete.
      	* testsuite/gas/sh/sh64/err-4.s: Delete.
      	* testsuite/gas/sh/sh64/err-abi-32.s: Delete.
      	* testsuite/gas/sh/sh64/err-abi-64.s: Delete.
      	* testsuite/gas/sh/sh64/err-dsp.s: Delete.
      	* testsuite/gas/sh/sh64/err-movi-noexp-1.s: Delete.
      	* testsuite/gas/sh/sh64/err-noexp-cmd1.s: Delete.
      	* testsuite/gas/sh/sh64/err-pt-1.s: Delete.
      	* testsuite/gas/sh/sh64/err-pt32-cmd1.s: Delete.
      	* testsuite/gas/sh/sh64/err-pt32-cmd2.s: Delete.
      	* testsuite/gas/sh/sh64/err-pt32-cmd3.s: Delete.
      	* testsuite/gas/sh/sh64/err-ptb-1.s: Delete.
      	* testsuite/gas/sh/sh64/err-ptb-2.s: Delete.
      	* testsuite/gas/sh/sh64/err.exp: Delete.
      	* testsuite/gas/sh/sh64/immexpr1.s: Delete.
      	* testsuite/gas/sh/sh64/immexpr2.s: Delete.
      	* testsuite/gas/sh/sh64/immexpr32-1.d: Delete.
      	* testsuite/gas/sh/sh64/immexpr32-2.d: Delete.
      	* testsuite/gas/sh/sh64/immexpr64-1.d: Delete.
      	* testsuite/gas/sh/sh64/immexpr64-2.d: Delete.
      	* testsuite/gas/sh/sh64/lineno.d: Delete.
      	* testsuite/gas/sh/sh64/lineno.s: Delete.
      	* testsuite/gas/sh/sh64/localcom-1.d: Delete.
      	* testsuite/gas/sh/sh64/localcom-1.s: Delete.
      	* testsuite/gas/sh/sh64/mix-1.d: Delete.
      	* testsuite/gas/sh/sh64/mix-1.s: Delete.
      	* testsuite/gas/sh/sh64/mix-noexp-1.d: Delete.
      	* testsuite/gas/sh/sh64/movi-1.s: Delete.
      	* testsuite/gas/sh/sh64/movi-2.s: Delete.
      	* testsuite/gas/sh/sh64/movi-3.d: Delete.
      	* testsuite/gas/sh/sh64/movi-3.s: Delete.
      	* testsuite/gas/sh/sh64/movi32-1.d: Delete.
      	* testsuite/gas/sh/sh64/movi32-2.d: Delete.
      	* testsuite/gas/sh/sh64/movi32-noexp-2.d: Delete.
      	* testsuite/gas/sh/sh64/movi64-1.d: Delete.
      	* testsuite/gas/sh/sh64/movi64-2.d: Delete.
      	* testsuite/gas/sh/sh64/movi64-2.s: Delete.
      	* testsuite/gas/sh/sh64/movi64-3.d: Delete.
      	* testsuite/gas/sh/sh64/movi64-noexp-2.d: Delete.
      	* testsuite/gas/sh/sh64/pt-1.d: Delete.
      	* testsuite/gas/sh/sh64/pt-1.s: Delete.
      	* testsuite/gas/sh/sh64/pt-2.s: Delete.
      	* testsuite/gas/sh/sh64/pt-noexp-1.d: Delete.
      	* testsuite/gas/sh/sh64/pt32-1.d: Delete.
      	* testsuite/gas/sh/sh64/pt32-noexp-2.d: Delete.
      	* testsuite/gas/sh/sh64/pt64-1.d: Delete.
      	* testsuite/gas/sh/sh64/pt64-32-1.d: Delete.
      	* testsuite/gas/sh/sh64/pt64-32-2.d: Delete.
      	* testsuite/gas/sh/sh64/pt64-noexp-2.d: Delete.
      	* testsuite/gas/sh/sh64/ptc-1.s: Delete.
      	* testsuite/gas/sh/sh64/ptc32-1.d: Delete.
      	* testsuite/gas/sh/sh64/ptc32-noexp-1.d: Delete.
      	* testsuite/gas/sh/sh64/ptc64-1.d: Delete.
      	* testsuite/gas/sh/sh64/ptc64-32-1.d: Delete.
      	* testsuite/gas/sh/sh64/ptc64-noexp-1.d: Delete.
      	* testsuite/gas/sh/sh64/ptext-1.s: Delete.
      	* testsuite/gas/sh/sh64/ptext32-1.d: Delete.
      	* testsuite/gas/sh/sh64/ptext32-noexp-1.d: Delete.
      	* testsuite/gas/sh/sh64/ptext64-1.d: Delete.
      	* testsuite/gas/sh/sh64/ptext64-32-1.d: Delete.
      	* testsuite/gas/sh/sh64/ptext64-noexp-1.d: Delete.
      	* testsuite/gas/sh/sh64/rel-1.s: Delete.
      	* testsuite/gas/sh/sh64/rel-2.s: Delete.
      	* testsuite/gas/sh/sh64/rel-3.s: Delete.
      	* testsuite/gas/sh/sh64/rel-4.s: Delete.
      	* testsuite/gas/sh/sh64/rel-5.s: Delete.
      	* testsuite/gas/sh/sh64/rel32-1.d: Delete.
      	* testsuite/gas/sh/sh64/rel32-2.d: Delete.
      	* testsuite/gas/sh/sh64/rel32-3.d: Delete.
      	* testsuite/gas/sh/sh64/rel32-4.d: Delete.
      	* testsuite/gas/sh/sh64/rel32-5.d: Delete.
      	* testsuite/gas/sh/sh64/rel64-1.d: Delete.
      	* testsuite/gas/sh/sh64/rel64-2.d: Delete.
      	* testsuite/gas/sh/sh64/rel64-3.d: Delete.
      	* testsuite/gas/sh/sh64/rel64-4.d: Delete.
      	* testsuite/gas/sh/sh64/rel64-5.d: Delete.
      	* testsuite/gas/sh/sh64/relax-1.d: Delete.
      	* testsuite/gas/sh/sh64/relax-1.s: Delete.
      	* testsuite/gas/sh/sh64/relax-2.d: Delete.
      	* testsuite/gas/sh/sh64/relax-2.s: Delete.
      	* testsuite/gas/sh/sh64/relax-3.d: Delete.
      	* testsuite/gas/sh/sh64/relax-3.s: Delete.
      	* testsuite/gas/sh/sh64/sh64.exp: Delete.
      	* testsuite/gas/sh/sh64/shift-1.s: Delete.
      	* testsuite/gas/sh/sh64/shift-2.s: Delete.
      	* testsuite/gas/sh/sh64/shift-3.s: Delete.
      	* testsuite/gas/sh/sh64/shift32-1.d: Delete.
      	* testsuite/gas/sh/sh64/shift32-3.d: Delete.
      	* testsuite/gas/sh/sh64/shift32-noexp-3.d: Delete.
      	* testsuite/gas/sh/sh64/shift64-1.d: Delete.
      	* testsuite/gas/sh/sh64/shift64-2.d: Delete.
      	* testsuite/gas/sh/sh64/shift64-3.d: Delete.
      	* testsuite/gas/sh/sh64/shift64-noexp-3.d: Delete.
      	* testsuite/gas/sh/sh64/syntax-1.d: Delete.
      	* testsuite/gas/sh/sh64/syntax-1.s: Delete.
      	* testsuite/gas/sh/sh64/syntax-2.d: Delete.
      	* testsuite/gas/sh/sh64/syntax-2.s: Delete.
      	* testsuite/gas/sh/sh64/ua-1.s: Delete.
      	* testsuite/gas/sh/sh64/ua32-1.d: Delete.
      	* testsuite/gas/sh/sh64/ua64-1.d: Delete.
      	* Makefile.in: Regenerate.
      	* doc/Makefile.in: Regenerate.
      	* po/POTFILES.in: Regenerate.
      ld/
      	* Makefile.am: Remove sh5 and sh64 support.
      	* configure.tgt: Likewise.
      	* ldlang.c: Likewise.
      	* testsuite/ld-elfcomm/elfcomm.exp: Likewise.
      	* testsuite/ld-gc/gc.exp: Likewise.
      	* testsuite/ld-gc/pr13683.d: Likewise.
      	* testsuite/ld-scripts/crossref.exp: Likewise.
      	* testsuite/ld-selective/selective.exp: Likewise.
      	* testsuite/ld-sh/ld-r-1.d: Likewise.
      	* testsuite/ld-sh/rd-sh.exp: Likewise.
      	* testsuite/ld-sh/sh.exp: Likewise.
      	* testsuite/ld-srec/srec.exp: Likewise.
      	* testsuite/ld-undefined/undefined.exp: Likewise.
      	* emulparams/shelf32.sh: Delete.
      	* emulparams/shelf32_linux.sh: Delete.
      	* emulparams/shelf32_nbsd.sh: Delete.
      	* emulparams/shelf64.sh: Delete.
      	* emulparams/shelf64_nbsd.sh: Delete.
      	* emulparams/shlelf32.sh: Delete.
      	* emulparams/shlelf32_linux.sh: Delete.
      	* emulparams/shlelf32_nbsd.sh: Delete.
      	* emulparams/shlelf64.sh: Delete.
      	* emulparams/shlelf64_nbsd.sh: Delete.
      	* emultempl/sh64elf.em: Delete.
      	* testsuite/ld-sh/sh64/abi32.sd: Delete.
      	* testsuite/ld-sh/sh64/abi32.xd: Delete.
      	* testsuite/ld-sh/sh64/abi64.sd: Delete.
      	* testsuite/ld-sh/sh64/abi64.xd: Delete.
      	* testsuite/ld-sh/sh64/abixx-noexp.sd: Delete.
      	* testsuite/ld-sh/sh64/cmpct1.sd: Delete.
      	* testsuite/ld-sh/sh64/cmpct1.xd: Delete.
      	* testsuite/ld-sh/sh64/crange-1.s: Delete.
      	* testsuite/ld-sh/sh64/crange-2a.s: Delete.
      	* testsuite/ld-sh/sh64/crange-2b.s: Delete.
      	* testsuite/ld-sh/sh64/crange-2c.s: Delete.
      	* testsuite/ld-sh/sh64/crange-2d.s: Delete.
      	* testsuite/ld-sh/sh64/crange-2e.s: Delete.
      	* testsuite/ld-sh/sh64/crange-2f.s: Delete.
      	* testsuite/ld-sh/sh64/crange-2g.s: Delete.
      	* testsuite/ld-sh/sh64/crange-2h.s: Delete.
      	* testsuite/ld-sh/sh64/crange-2i.s: Delete.
      	* testsuite/ld-sh/sh64/crange1.rd: Delete.
      	* testsuite/ld-sh/sh64/crange2.rd: Delete.
      	* testsuite/ld-sh/sh64/crange3-cmpct.rd: Delete.
      	* testsuite/ld-sh/sh64/crange3-media.rd: Delete.
      	* testsuite/ld-sh/sh64/crange3.dd: Delete.
      	* testsuite/ld-sh/sh64/crange3.rd: Delete.
      	* testsuite/ld-sh/sh64/crangerel1.rd: Delete.
      	* testsuite/ld-sh/sh64/crangerel2.rd: Delete.
      	* testsuite/ld-sh/sh64/dlsection-1.s: Delete.
      	* testsuite/ld-sh/sh64/dlsection.sd: Delete.
      	* testsuite/ld-sh/sh64/endian.dbd: Delete.
      	* testsuite/ld-sh/sh64/endian.dld: Delete.
      	* testsuite/ld-sh/sh64/endian.ld: Delete.
      	* testsuite/ld-sh/sh64/endian.s: Delete.
      	* testsuite/ld-sh/sh64/endian.sbd: Delete.
      	* testsuite/ld-sh/sh64/endian.sld: Delete.
      	* testsuite/ld-sh/sh64/gotplt.d: Delete.
      	* testsuite/ld-sh/sh64/gotplt.map: Delete.
      	* testsuite/ld-sh/sh64/gotplt.s: Delete.
      	* testsuite/ld-sh/sh64/init-cmpct.d: Delete.
      	* testsuite/ld-sh/sh64/init-media.d: Delete.
      	* testsuite/ld-sh/sh64/init.s: Delete.
      	* testsuite/ld-sh/sh64/init64.d: Delete.
      	* testsuite/ld-sh/sh64/mix1-noexp.sd: Delete.
      	* testsuite/ld-sh/sh64/mix1.sd: Delete.
      	* testsuite/ld-sh/sh64/mix1.xd: Delete.
      	* testsuite/ld-sh/sh64/mix2-noexp.sd: Delete.
      	* testsuite/ld-sh/sh64/mix2.sd: Delete.
      	* testsuite/ld-sh/sh64/mix2.xd: Delete.
      	* testsuite/ld-sh/sh64/rd-sh64.exp: Delete.
      	* testsuite/ld-sh/sh64/rel-1.s: Delete.
      	* testsuite/ld-sh/sh64/rel-2.s: Delete.
      	* testsuite/ld-sh/sh64/rel32.xd: Delete.
      	* testsuite/ld-sh/sh64/rel64.xd: Delete.
      	* testsuite/ld-sh/sh64/relax.exp: Delete.
      	* testsuite/ld-sh/sh64/relax1.s: Delete.
      	* testsuite/ld-sh/sh64/relax2.s: Delete.
      	* testsuite/ld-sh/sh64/relax3.s: Delete.
      	* testsuite/ld-sh/sh64/relax4.s: Delete.
      	* testsuite/ld-sh/sh64/reldl-1.s: Delete.
      	* testsuite/ld-sh/sh64/reldl-2.s: Delete.
      	* testsuite/ld-sh/sh64/reldl32.rd: Delete.
      	* testsuite/ld-sh/sh64/reldl64.rd: Delete.
      	* testsuite/ld-sh/sh64/relfail.exp: Delete.
      	* testsuite/ld-sh/sh64/relfail.s: Delete.
      	* testsuite/ld-sh/sh64/sh64-1.s: Delete.
      	* testsuite/ld-sh/sh64/sh64-2.s: Delete.
      	* testsuite/ld-sh/sh64/sh64.exp: Delete.
      	* testsuite/ld-sh/sh64/shcmp-1.s: Delete.
      	* testsuite/ld-sh/sh64/shdl-1.s: Delete.
      	* testsuite/ld-sh/sh64/shdl-2.s: Delete.
      	* testsuite/ld-sh/sh64/shdl32.xd: Delete.
      	* testsuite/ld-sh/sh64/shdl64.sd: Delete.
      	* testsuite/ld-sh/sh64/shdl64.xd: Delete.
      	* testsuite/ld-sh/sh64/shmix-1.s: Delete.
      	* testsuite/ld-sh/sh64/shmix-2.s: Delete.
      	* testsuite/ld-sh/sh64/shmix-3.s: Delete.
      	* testsuite/ld-sh/sh64/stobin-0-dso.d: Delete.
      	* testsuite/ld-sh/sh64/stobin-1.d: Delete.
      	* testsuite/ld-sh/sh64/stobin.s: Delete.
      	* testsuite/ld-sh/sh64/stolib.s: Delete.
      	* Makefile.in: Regenerate.
      	* po/BLD-POTFILES.in: Regenerate.
      211dc24b
    • Alan Modra's avatar
      Remove sh-symbianelf support · 4db9937a
      Alan Modra authored
      bfd/
      	* Makefile.am: Remove sh-symbianelf support.
      	* config.bfd: Likewise.
      	* configure.ac: Likewise.
      	* targets.c: Likewise.
      	* elf32-sh-symbian.c: Delete.
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      	* po/SRC-POTFILES.in: Regenerate.
      gas/
      	* config/tc-sh.c: Remove sh-symbianelf support.
      	* config/tc-sh.h: Likewise.
      	* configure.ac: Likewise.
      	* configure.tgt: Likewise.
      	* testsuite/gas/sh/reg-prefix.d: Likewise.
      	* testsuite/gas/sh/sh2a-pic.d: Likewise.
      	* config.in: Regenerate.
      	* configure: Regenerate.
      ld/
      	* Makefile.am: Remove sh-symbianelf support.
      	* configure.tgt: Likewise.
      	* emulparams/shlsymbian.sh: Delete.
      	* scripttempl/elf32sh-symbian.sc: Delete.
      	* Makefile.in: Regenerate.
      	* po/BLD-POTFILES.in: Regenerate.
      4db9937a
    • Alan Modra's avatar
      Remove vax-bsd and vax-ultrix support · 9f5d1593
      Alan Modra authored
      bfd/
      	* Makefile.am: Remove vax-bsd and vax-ultrix support.
      	* config.bfd: Likewise.
      	* configure.ac: Likewise.
      	* targets.c: Likewise.
      	* vaxbsd.c: Delete.
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      	* po/SRC-POTFILES.in: Regenerate.
      ld/
      	* Makefile.am: Remove vax-bsd and vax-ultrix support.
      	* configure.tgt: Likewise.
      	* emulparams/vax.sh: Delete.
      	* Makefile.in: Regenerate.
      	* po/BLD-POTFILES.in: Regenerate.
      9f5d1593