cfb8c0921c
* 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.
118 lines
2.7 KiB
Makefile
118 lines
2.7 KiB
Makefile
## Process this file with automake to generate Makefile.in
|
|
|
|
AUTOMAKE_OPTIONS = 1.8 cygnus
|
|
|
|
# What version of the manual you want; "all" includes everything
|
|
CONFIG=all
|
|
|
|
# Options to extract the man page from as.texinfo
|
|
MANCONF = -Dman
|
|
|
|
TEXI2POD = perl $(BASEDIR)/etc/texi2pod.pl $(AM_MAKEINFOFLAGS)
|
|
|
|
POD2MAN = pod2man --center="GNU Development Tools" \
|
|
--release="binutils-$(VERSION)" --section=1
|
|
|
|
man_MANS = as.1
|
|
|
|
info_TEXINFOS = as.texinfo
|
|
as_TEXINFOS = asconfig.texi $(CPU_DOCS)
|
|
|
|
AM_MAKEINFOFLAGS = -I "$(srcdir)" -I "$(top_srcdir)/../libiberty" \
|
|
-I "$(top_srcdir)/../bfd/doc" -I ../../bfd/doc
|
|
TEXI2DVI = texi2dvi -I "$(srcdir)" -I "$(top_srcdir)/../libiberty" \
|
|
-I "$(top_srcdir)/../bfd/doc" -I ../../bfd/doc
|
|
|
|
asconfig.texi: $(CONFIG).texi
|
|
rm -f asconfig.texi
|
|
cp $(srcdir)/$(CONFIG).texi ./asconfig.texi
|
|
chmod u+w ./asconfig.texi
|
|
|
|
CPU_DOCS = \
|
|
c-alpha.texi \
|
|
c-arc.texi \
|
|
c-arm.texi \
|
|
c-avr.texi \
|
|
c-bfin.texi \
|
|
c-cr16.texi \
|
|
c-cris.texi \
|
|
c-d10v.texi \
|
|
c-epiphany.texi \
|
|
c-h8300.texi \
|
|
c-hppa.texi \
|
|
c-i370.texi \
|
|
c-i386.texi \
|
|
c-i860.texi \
|
|
c-i960.texi \
|
|
c-ip2k.texi \
|
|
c-lm32.texi \
|
|
c-m32c.texi \
|
|
c-m32r.texi \
|
|
c-m68hc11.texi \
|
|
c-m68k.texi \
|
|
c-microblaze.texi \
|
|
c-mips.texi \
|
|
c-mmix.texi \
|
|
c-mt.texi \
|
|
c-msp430.texi \
|
|
c-ns32k.texi \
|
|
c-pdp11.texi \
|
|
c-pj.texi \
|
|
c-ppc.texi \
|
|
c-rx.texi \
|
|
c-s390.texi \
|
|
c-score.texi \
|
|
c-sh.texi \
|
|
c-sh64.texi \
|
|
c-sparc.texi \
|
|
c-tic54x.texi \
|
|
c-tic6x.texi \
|
|
c-tilegx.texi \
|
|
c-tilepro.texi \
|
|
c-vax.texi \
|
|
c-v850.texi \
|
|
c-xstormy16.texi \
|
|
c-xtensa.texi \
|
|
c-z80.texi \
|
|
c-z8k.texi
|
|
|
|
# We want install to imply install-info as per GNU standards, despite the
|
|
# cygnus option.
|
|
install-data-local: install-info
|
|
|
|
# This one isn't ready for prime time yet. Not even a little bit.
|
|
|
|
noinst_TEXINFOS = internals.texi
|
|
|
|
MAINTAINERCLEANFILES = asconfig.texi
|
|
|
|
BASEDIR = $(srcdir)/../..
|
|
BFDDIR = $(BASEDIR)/bfd
|
|
|
|
CONFIG_STATUS_DEPENDENCIES = $(BFDDIR)/configure.in
|
|
|
|
# Maintenance
|
|
|
|
# We need it for the taz target in ../../Makefile.in.
|
|
info-local: $(MANS)
|
|
|
|
# Build the man page from the texinfo file
|
|
# The sed command removes the no-adjust Nroff command so that
|
|
# the man output looks standard.
|
|
as.1: $(srcdir)/as.texinfo asconfig.texi $(CPU_DOCS)
|
|
touch $@
|
|
-$(TEXI2POD) $(MANCONF) < $(srcdir)/as.texinfo > as.pod
|
|
-($(POD2MAN) as.pod | \
|
|
sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
|
mv -f $@.T$$$$ $@) || \
|
|
(rm -f $@.T$$$$ && exit 1)
|
|
rm -f as.pod
|
|
|
|
MAINTAINERCLEANFILES += as.info
|
|
|
|
# Automake 1.9 will only build info files in the objdir if they are
|
|
# mentioned in DISTCLEANFILES. It doesn't have to be unconditional,
|
|
# though, so we use a bogus condition.
|
|
if GENINSRC_NEVER
|
|
DISTCLEANFILES = as.info
|
|
endif
|