1999-08-26 09:30:50 +00:00
|
|
|
/* Definitions of target machine for GNU compiler,
|
|
|
|
for SPARC running in an embedded environment using the ELF file format.
|
|
|
|
Copyright (C) 1997 Free Software Foundation, Inc.
|
|
|
|
|
|
|
|
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. */
|
|
|
|
|
|
|
|
#undef CPP_PREDEFINES
|
2002-02-01 18:16:02 +00:00
|
|
|
#define CPP_PREDEFINES "-Dsparc -D__elf__"
|
1999-08-26 09:30:50 +00:00
|
|
|
|
|
|
|
#undef STARTFILE_SPEC
|
|
|
|
#define STARTFILE_SPEC "crt0.o%s crti.o%s crtbegin.o%s"
|
|
|
|
|
|
|
|
#undef ENDFILE_SPEC
|
2002-05-09 20:02:13 +00:00
|
|
|
#define ENDFILE_SPEC \
|
|
|
|
"%{ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \
|
|
|
|
crtend.o%s crtn.o%s"
|
1999-08-26 09:30:50 +00:00
|
|
|
|
|
|
|
/* Use the default. */
|
|
|
|
#undef LINK_SPEC
|
|
|
|
|
|
|
|
/* Don't set the target flags, this is done by the linker script */
|
|
|
|
#undef LIB_SPEC
|
|
|
|
#define LIB_SPEC ""
|
|
|
|
|
|
|
|
/* FIXME: until fixed */
|
|
|
|
#undef LONG_DOUBLE_TYPE_SIZE
|
|
|
|
#define LONG_DOUBLE_TYPE_SIZE 64
|
1999-10-16 06:09:09 +00:00
|
|
|
|
|
|
|
/* This solaris2 define does not apply. */
|
|
|
|
#undef STDC_0_IN_SYSTEM_HEADERS
|
|
|
|
|
|
|
|
/* We don't want to use the Solaris2 specific long long int conversion
|
|
|
|
routines. */
|
|
|
|
#undef INIT_SUBTARGET_OPTABS
|
|
|
|
#define INIT_SUBTARGET_OPTABS
|
|
|
|
|
|
|
|
/* ??? We haven't added Solaris2 equivalent 64 bit library routines to
|
|
|
|
lb1sp*.asm, so we need to avoid using them. */
|
|
|
|
#undef MULDI3_LIBCALL
|
|
|
|
#undef DIVDI3_LIBCALL
|
|
|
|
#undef UDIVDI3_LIBCALL
|
|
|
|
#undef MODDI3_LIBCALL
|
|
|
|
#undef UMODDI3_LIBCALL
|