mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-15 08:10:28 +08:00
v850: New directory for v850 port.
Fri Sep 5 10:08:44 1997 Jeffrey A Law (law@cygnus.com) * v850: New directory for v850 port. * v850/lib1funcs.asm: New file. * t-v850, v850.c, v850.h, v850.md, xm-v850.h: New files. * ginclude/va-v850.h: New file. * varargs.h, stdarg.h: Include va-mn10200.h. * configure.in (mn10200-*-*): New target. * Makefile.in (USER_H): Add va-mn10200.h. From-SVN: r15103
This commit is contained in:
parent
89cc6098e6
commit
ae180d84fc
1271
gcc/config/v850/lib1funcs.asm
Normal file
1271
gcc/config/v850/lib1funcs.asm
Normal file
File diff suppressed because it is too large
Load Diff
54
gcc/config/v850/t-v850
Normal file
54
gcc/config/v850/t-v850
Normal file
@ -0,0 +1,54 @@
|
||||
# CYGNUS LOCAL entire file v850/law
|
||||
CROSS_LIBGCC1 = libgcc1-asm.a
|
||||
LIB1ASMSRC = v850/lib1funcs.asm
|
||||
LIB1ASMFUNCS = _mulsi3 \
|
||||
_divsi3 \
|
||||
_udivsi3 \
|
||||
_modsi3 \
|
||||
_umodsi3 \
|
||||
_save_2 \
|
||||
_save_20 \
|
||||
_save_21 \
|
||||
_save_22 \
|
||||
_save_23 \
|
||||
_save_24 \
|
||||
_save_25 \
|
||||
_save_26 \
|
||||
_save_27 \
|
||||
_save_28 \
|
||||
_save_29 \
|
||||
_save_2c \
|
||||
_save_20c \
|
||||
_save_21c \
|
||||
_save_22c \
|
||||
_save_23c \
|
||||
_save_24c \
|
||||
_save_25c \
|
||||
_save_26c \
|
||||
_save_27c \
|
||||
_save_28c \
|
||||
_save_29c \
|
||||
_save_31c \
|
||||
_save_varargs \
|
||||
_save_interrupt \
|
||||
_save_all_interrupt
|
||||
|
||||
|
||||
# These are really part of libgcc1, but this will cause them to be
|
||||
# built correctly, so...
|
||||
|
||||
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c
|
||||
|
||||
dp-bit.c: $(srcdir)/config/fp-bit.c
|
||||
echo '#ifdef __LITTLE_ENDIAN__' > dp-bit.c
|
||||
echo '#define FLOAT_BIT_ORDER_MISMATCH' >>dp-bit.c
|
||||
echo '#endif' >> dp-bit.c
|
||||
cat $(srcdir)/config/fp-bit.c >> dp-bit.c
|
||||
|
||||
fp-bit.c: $(srcdir)/config/fp-bit.c
|
||||
echo '#define FLOAT' > fp-bit.c
|
||||
echo '#ifdef __LITTLE_ENDIAN__' >> fp-bit.c
|
||||
echo '#define FLOAT_BIT_ORDER_MISMATCH' >>fp-bit.c
|
||||
echo '#endif' >> fp-bit.c
|
||||
cat $(srcdir)/config/fp-bit.c >> fp-bit.c
|
||||
#END CYGNUS LOCAL
|
1942
gcc/config/v850/v850.c
Normal file
1942
gcc/config/v850/v850.c
Normal file
File diff suppressed because it is too large
Load Diff
1406
gcc/config/v850/v850.h
Normal file
1406
gcc/config/v850/v850.h
Normal file
File diff suppressed because it is too large
Load Diff
1852
gcc/config/v850/v850.md
Normal file
1852
gcc/config/v850/v850.md
Normal file
File diff suppressed because it is too large
Load Diff
51
gcc/config/v850/xm-v850.h
Normal file
51
gcc/config/v850/xm-v850.h
Normal file
@ -0,0 +1,51 @@
|
||||
/* CYGNUS LOCAL entire file v850/law */
|
||||
/* Configuration for NEC V850.
|
||||
Copyright (C) 1996 Free Software Foundation, Inc.
|
||||
Contributed by Cygnus Support.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
GNU CC 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 2, or (at your option)
|
||||
any later version.
|
||||
|
||||
GNU CC 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 GNU CC; see the file COPYING. If not, write to
|
||||
the Free Software Foundation, 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
/* #defines that need visibility everywhere. */
|
||||
#define FALSE 0
|
||||
#define TRUE 1
|
||||
|
||||
/* This describes the machine the compiler is hosted on. */
|
||||
#define HOST_BITS_PER_CHAR 8
|
||||
#define HOST_BITS_PER_SHORT 16
|
||||
#define HOST_BITS_PER_INT 32
|
||||
#define HOST_BITS_PER_LONG 32
|
||||
#define HOST_BITS_PER_LONGLONG 64
|
||||
|
||||
/* Arguments to use with `exit'. */
|
||||
#define SUCCESS_EXIT_CODE 0
|
||||
#define FATAL_EXIT_CODE 33
|
||||
|
||||
#ifdef __v850__
|
||||
#ifndef __STDC__
|
||||
extern char *malloc (), *realloc (), *calloc ();
|
||||
#else
|
||||
extern void *malloc (), *realloc (), *calloc ();
|
||||
#endif
|
||||
extern void free ();
|
||||
#endif
|
||||
|
||||
/* target machine dependencies.
|
||||
tm.h is a symbolic link to the actual target specific file. */
|
||||
|
||||
#include "tm.h"
|
||||
/* END CYGNUS LOCAL */
|
Loading…
x
Reference in New Issue
Block a user