a3c629886c
* metag.h: New file. * dis-asm.h (print_insn_metag): New declaration. * metag.h: New file. * Makefile.am: Add Meta. * Makefile.in: Regenerate. * configure: Regenerate. * configure.in: Add Meta. * disassemble.c: Add Meta support. * metag-dis.c: New file. * Makefile.am: Add Meta. * Makefile.in: Regenerate. * archures.c (bfd_mach_metag): New. * bfd-in2.h: Regenerate. * config.bfd: Add Meta. * configure: Regenerate. * configure.in: Add Meta. * cpu-metag.c: New file. * elf-bfd.h: Add Meta. * elf32-metag.c: New file. * elf32-metag.h: New file. * libbfd.h: Regenerate. * reloc.c: Add Meta relocations. * targets.c: Add Meta. * Makefile.am: Add Meta. * Makefile.in: Regenerate. * config/tc-metag.c: New file. * config/tc-metag.h: New file. * configure.tgt: Add Meta. * doc/Makefile.am: Add Meta. * doc/Makefile.in: Regenerate. * doc/all.texi: Add Meta. * doc/as.texiinfo: Document Meta options. * doc/c-metag.texi: New file. * gas/metag/labelarithmetic.d: New file. * gas/metag/labelarithmetic.s: New file. * gas/metag/metacore12.d: New file. * gas/metag/metacore12.s: New file. * gas/metag/metacore21-invalid.l: New file. * gas/metag/metacore21-invalid.s: New file. * gas/metag/metacore21.d: New file. * gas/metag/metacore21.s: New file. * gas/metag/metacore21ext.d: New file. * gas/metag/metacore21ext.s: New file. * gas/metag/metadsp21-invalid.l: New file. * gas/metag/metadsp21-invalid.s: New file. * gas/metag/metadsp21.d: New file. * gas/metag/metadsp21.s: New file. * gas/metag/metadsp21ext.d: New file. * gas/metag/metadsp21ext.s: New file. * gas/metag/metafpu21.d: New file. * gas/metag/metafpu21.s: New file. * gas/metag/metafpu21ext.d: New file. * gas/metag/metafpu21ext.s: New file. * gas/metag/metag.exp: New file. * gas/metag/tls.d: New file. * gas/metag/tls.s: New file. * Makefile.am: Add Meta. * Makefile.in: Regenerate. * configure.tgt: Add Meta. * emulparams/elf32metag.sh: New file. * emultempl/metagelf.em: New file. * ld-elf/merge.d: Mark Meta as xfail. * ld-gc/start.d: Skip this test on Meta. * ld-gc/personality.d: Skip this test on Meta. * ld-metag/external.s: New file. * ld-metag/metag.exp: New file. * ld-metag/pcrel.d: New file. * ld-metag/pcrel.s: New file. * ld-metag/shared.d: New file. * ld-metag/shared.r: New file. * ld-metag/shared.s: New file. * ld-metag/stub.d: New file. * ld-metag/stub.s: New file. * ld-metag/stub_pic_app.d: New file. * ld-metag/stub_pic_app.r: New file. * ld-metag/stub_pic_app.s: New file. * ld-metag/stub_pic_shared.d: New file. * ld-metag/stub_pic_shared.s: New file. * ld-metag/stub_shared.d: New file. * ld-metag/stub_shared.r: New file. * ld-metag/stub_shared.s: New file. * binutils/readelf.c: (guess_is_rela): Add EM_METAG. (dump_relocations): Add EM_METAG. (get_machine_name): Correct case for Meta. (is_32bit_abs_reloc): Add support for Meta ADDR32 reloc. (is_none_reloc): Add support for Meta NONE reloc.
139 lines
3.4 KiB
Makefile
139 lines
3.4 KiB
Makefile
## Process this file with automake to generate Makefile.in
|
|
#
|
|
# Copyright 2012 Free Software Foundation
|
|
#
|
|
# This file is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; see the file COPYING3. If not see
|
|
# <http://www.gnu.org/licenses/>.
|
|
#
|
|
|
|
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-aarch64.texi \
|
|
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-metag.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-rl78.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-xgate.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
|