diff options
author | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
---|---|---|
committer | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
commit | 554fd8c5195424bdbcabf5de30fdc183aba391bd (patch) | |
tree | 976dc5ab7fddf506dadce60ae936f43f58787092 /gcc/config/h8300/t-h8300 | |
download | cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2 cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz |
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig;
imported gcc-4.6.4 source tree from verified upstream tarball.
downloading a git-generated archive based on the 'upstream' tag
should provide you with a source tree that is binary identical
to the one extracted from the above tarball.
if you have obtained the source via the command 'git clone',
however, do note that line-endings of files in your working
directory might differ from line-endings of the respective
files in the upstream repository.
Diffstat (limited to 'gcc/config/h8300/t-h8300')
-rw-r--r-- | gcc/config/h8300/t-h8300 | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/gcc/config/h8300/t-h8300 b/gcc/config/h8300/t-h8300 new file mode 100644 index 000000000..570157887 --- /dev/null +++ b/gcc/config/h8300/t-h8300 @@ -0,0 +1,62 @@ +# Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003, +# 2004 Free Software Foundation, Inc. +# +# This file is part of GCC. +# +# GCC 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, or (at your option) +# any later version. +# +# GCC 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 GCC; see the file COPYING3. If not see +# <http://www.gnu.org/licenses/>. + +LIB1ASMSRC = h8300/lib1funcs.asm +LIB1ASMFUNCS = _cmpsi2 _ucmpsi2 _divhi3 _divsi3 _mulhi3 _mulsi3 \ + _fixunssfsi_asm + +LIB2FUNCS_EXTRA = \ + $(srcdir)/config/h8300/clzhi2.c \ + $(srcdir)/config/h8300/ctzhi2.c \ + $(srcdir)/config/h8300/parityhi2.c \ + $(srcdir)/config/h8300/popcounthi2.c \ + $(srcdir)/config/h8300/fixunssfsi.c + +# We do not have DF type, so fake out the libgcc2 compilation. +TARGET_LIBGCC2_CFLAGS = -DDF=SF + +# We want fine grained libraries, so use the new code to build the +# floating point emulation libraries. +FPBIT = fp-bit.c + +fp-bit.c: $(srcdir)/config/fp-bit.c + echo '#define FLOAT' > fp-bit.c + echo '#define FLOAT_ONLY' >> fp-bit.c + echo '#define SMALL_MACHINE' >> fp-bit.c + echo '#ifdef __H8300__' >> fp-bit.c + echo '#define CMPtype HItype' >> fp-bit.c + echo '#else' >> fp-bit.c + echo '#define CMPtype SItype' >> fp-bit.c + echo '#endif' >> fp-bit.c + cat $(srcdir)/config/fp-bit.c >> fp-bit.c + +MULTILIB_OPTIONS = mh/ms/msx mn mint32 +MULTILIB_DIRNAMES = h8300h h8300s h8sx normal int32 +MULTILIB_EXCEPTIONS = mint32 mn mn/mint32 + +LIBGCC = stmp-multilib +INSTALL_LIBGCC = install-multilib + +s-config s-conditions s-flags s-codes s-constants s-emit s-recog \ +s-opinit s-extract s-peep s-attr s-attrtab s-output: \ + $(srcdir)/config/h8300/mova.md + +$(srcdir)/config/h8300/mova.md: $(srcdir)/config/h8300/genmova.sh + $(SHELL) $(srcdir)/config/h8300/genmova.sh \ + > $(srcdir)/config/h8300/mova.md |