bfd:
authorNick Clifton <nickc@redhat.com>
Tue, 25 Oct 2011 11:18:16 +0000 (11:18 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 25 Oct 2011 11:18:16 +0000 (11:18 +0000)
commitcfb8c0921c8ab3be8e5e48ec31e472742c2d4104
tree168ae0f8c97ca806624efb39a945d600a0357dc4
parent0a394bfbada7defad3dff1fdcaa86e0e5a13c656
bfd:
* Makefile.am (ALL_MACHINES): Add cpu-epiphany.lo .
(ALL_MACHINES_CFILES): Add cpu-epiphany.c .
(BFD32_BACKENDS): Add elf32-epiphany.lo .
(BFD32_BACKENDS_CFILES): Add elf32-epiphany.c .
* Makefile.in, bfd-in2.h, configure, libbfd.h: Regenerate.
* archures.c (bfd_arch_epiphany): Add.
(bfd_mach_epiphany16, bfd_mach_epiphany32): Define.
(bfd_epiphany_arch): Declare.
(bfd_archures_list): Add &bfd_epiphany_arch.
* config.bfd (epiphany-*-elf): New target case.
* configure.in (bfd_elf32_epiphany_vec): New target vector case.
* reloc.c (BFD_RELOC_EPIPHANY_SIMM8): New relocation.
(BFD_RELOC_EPIPHANY_SIMM24, BFD_RELOC_EPIPHANY_HIGH): Likewise.
(BFD_RELOC_EPIPHANY_LOW, BFD_RELOC_EPIPHANY_SIMM11): Likewise.
(BFD_RELOC_EPIPHANY_IMM11, BFD_RELOC_EPIPHANY_IMM8): Likewise.
* targets.c (bfd_elf32_epiphany_vec): Declare.
(_bfd_target_vector): Add bfd_elf32_epiphany_vec.
* po/SRC-POTFILES.in, po/bfd.pot: Regenerate.
* cpu-epiphany.c, elf32-epiphany.c: New files.
binutils:
* readelf.c (include "elf/epiphany.h")
(guess_is_rela, dump_relocation): Handle EM_ADAPTEVA_EPIPHANY.
(get_machine_name, is_32bit_abs_reloc, is_32bit_pcrel_reloc): Likewise.
(is_16bit_abs_reloc, is_none_reloc): Likewise.
* po/binutils.pot: Regenerate.
cpu:
* cpu/epiphany.cpu, cpu/epiphany.opc: New files.
gas:
* NEWS: Mention addition of Adapteva Epiphany support.
* config/tc-epiphany.c, config/tc-epiphany.h: New files.
* Makefile.am (TARGET_CPU_CFILES): Add config/tc-epiphany.c .
(TARGET_CPU_HFILES): Add config/tc-epiphany.h .
* Makefile.in, configure, doc/Makefile.in, po/POTFILES.in: Regenerate.
* configure.in: Also set using_cgen for epiphany.
* configure.tgt: Handle epiphany.
* doc/Makefile.am (CPU_DOCS): Add c-epiphany.texi .
* doc/all.texi: Set EPIPHANY.
* doc/as.texinfo: Add EPIPHANY-specific text.
* doc/c-epiphany.texi: New file.
* po/gas.pot: Regenerate.
gas/testsuite:
* gas/epiphany: New directory.
include:
* dis-asm.h (print_insn_epiphany): Declare.
* elf/epiphany.h: New file.
* elf/common.h (EM_ADAPTEVA_EPIPHANY): Define.
ld:
* NEWS: Mention addition of Adapteva Epiphany support.
* Makefile.am (ALL_EMULATION_SOURCES): Add eelf32epiphany.c .
(eelf32epiphany.c): New rule.
* Makefile.in: Regenerate.
* configure.tgt: Handle epiphany-*-elf.
* po/ld.pot: Regenerate.
* testsuite/ld-srec/srec.exp: xfail epiphany.
* emulparams/elf32epiphany.sh: New file.
opcodes:
* Makefile.am (HFILES): Add epiphany-desc.h and epiphany-opc.h .
(TARGET_LIBOPCODES_CFILES): Add  epiphany-asm.c, epiphany-desc.c,
epiphany-dis.c, epiphany-ibld.c and epiphany-opc.c .
(CLEANFILES): Add stamp-epiphany.
(EPIPHANY_DEPS): Set.  Make CGEN-generated Epiphany files depend on it.
(stamp-epiphany): New rule.
* Makefile.in, configure, po/POTFILES.in, po/opcodes.pot: Regenerate.
* configure.in: Handle bfd_epiphany_arch.
* disassemble.c (ARCH_epiphany): Define.
(disassembler): Handle bfd_arch_epiphany.
* epiphany-asm.c, epiphany-desc.c, epiphany-desc.h: New files.
* epiphany-dis.c, epiphany-ibld.c, epiphany-opc.c: Likewise.
* epiphany-opc.h: Likewise.
82 files changed:
bfd/ChangeLog
bfd/Makefile.am
bfd/Makefile.in
bfd/archures.c
bfd/bfd-in2.h
bfd/config.bfd
bfd/configure
bfd/configure.in
bfd/cpu-epiphany.c [new file with mode: 0644]
bfd/elf32-epiphany.c [new file with mode: 0644]
bfd/libbfd.h
bfd/po/SRC-POTFILES.in
bfd/po/bfd.pot
bfd/reloc.c
bfd/targets.c
binutils/ChangeLog
binutils/po/binutils.pot
binutils/readelf.c
cpu/ChangeLog
cpu/epiphany.cpu [new file with mode: 0644]
cpu/epiphany.opc [new file with mode: 0755]
gas/ChangeLog
gas/Makefile.am
gas/Makefile.in
gas/NEWS
gas/config/tc-epiphany.c [new file with mode: 0755]
gas/config/tc-epiphany.h [new file with mode: 0755]
gas/configure
gas/configure.in
gas/configure.tgt
gas/doc/Makefile.am
gas/doc/Makefile.in
gas/doc/all.texi
gas/doc/as.texinfo
gas/doc/c-epiphany.texi [new file with mode: 0644]
gas/po/POTFILES.in
gas/po/gas.pot
gas/testsuite/ChangeLog
gas/testsuite/gas/epiphany/addr-syntax.d [new file with mode: 0644]
gas/testsuite/gas/epiphany/addr-syntax.s [new file with mode: 0644]
gas/testsuite/gas/epiphany/allinsn.d [new file with mode: 0644]
gas/testsuite/gas/epiphany/allinsn.exp [new file with mode: 0644]
gas/testsuite/gas/epiphany/allinsn.s [new file with mode: 0644]
gas/testsuite/gas/epiphany/badpostmod.s [new file with mode: 0644]
gas/testsuite/gas/epiphany/badrelax.d [new file with mode: 0644]
gas/testsuite/gas/epiphany/badrelax.s [new file with mode: 0644]
gas/testsuite/gas/epiphany/branch_lit.d [new file with mode: 0644]
gas/testsuite/gas/epiphany/branch_lit.s [new file with mode: 0644]
gas/testsuite/gas/epiphany/regression.d [new file with mode: 0644]
gas/testsuite/gas/epiphany/regression.s [new file with mode: 0644]
gas/testsuite/gas/epiphany/sample.d [new file with mode: 0644]
gas/testsuite/gas/epiphany/sample.s [new file with mode: 0755]
include/ChangeLog
include/dis-asm.h
include/elf/ChangeLog
include/elf/common.h
include/elf/epiphany.h [new file with mode: 0755]
ld/ChangeLog
ld/Makefile.am
ld/Makefile.in
ld/NEWS
ld/configure.tgt
ld/emulparams/elf32epiphany.sh [new file with mode: 0644]
ld/po/ld.pot
ld/testsuite/ChangeLog
ld/testsuite/ld-srec/srec.exp
ld/testsuite/lib/ld-lib.exp
opcodes/ChangeLog
opcodes/Makefile.am
opcodes/Makefile.in
opcodes/configure
opcodes/configure.in
opcodes/disassemble.c
opcodes/epiphany-asm.c [new file with mode: 0644]
opcodes/epiphany-desc.c [new file with mode: 0644]
opcodes/epiphany-desc.h [new file with mode: 0644]
opcodes/epiphany-dis.c [new file with mode: 0644]
opcodes/epiphany-ibld.c [new file with mode: 0644]
opcodes/epiphany-opc.c [new file with mode: 0644]
opcodes/epiphany-opc.h [new file with mode: 0644]
opcodes/po/POTFILES.in
opcodes/po/opcodes.pot