diff options
Diffstat (limited to 'contrib/gcc/config/sparc/liteelf.h')
-rw-r--r-- | contrib/gcc/config/sparc/liteelf.h | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/contrib/gcc/config/sparc/liteelf.h b/contrib/gcc/config/sparc/liteelf.h index 9b6cbaa..49a2089 100644 --- a/contrib/gcc/config/sparc/liteelf.h +++ b/contrib/gcc/config/sparc/liteelf.h @@ -1,30 +1,34 @@ -/* Definitions of target machine for GNU compiler, for SPARClite w/o FPU. +/* Definitions of target machine for GCC, for SPARClite w/o FPU, ELF. Copyright (C) 1998, 1999 Free Software Foundation, Inc. Contributed by Stan Cox (scox@cygnus.com). -This file is part of GNU CC. +This file is part of GCC. -GNU CC is free software; you can redistribute it and/or modify +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 2, or (at your option) any later version. -GNU CC is distributed in the hope that it will be useful, +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 GNU CC; see the file COPYING. If not, write to +along with GCC; 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 -#define CPP_PREDEFINES "-D__sparc__ -D__sparclite__ -Acpu=sparc -Amachine=sparc" +#undef TARGET_SUB_OS_CPP_BUILTINS +#define TARGET_SUB_OS_CPP_BUILTINS() \ + do \ + { \ + builtin_define ("__sparclite__"); \ + } \ + while (0) /* Default to dwarf2 in ELF. */ -#define DWARF_DEBUGGING_INFO 1 #define DWARF2_DEBUGGING_INFO 1 #undef PREFERRED_DEBUGGING_TYPE @@ -38,9 +42,8 @@ Boston, MA 02111-1307, USA. */ #undef TARGET_DEFAULT #define TARGET_DEFAULT MASK_APP_REGS -/* US Software GOFAST library support. */ -#undef INIT_SUBTARGET_OPTABS -#define INIT_SUBTARGET_OPTABS INIT_GOFAST_OPTABS +/* Enable US Software GOFAST library support. */ +#define US_SOFTWARE_GOFAST #undef STARTFILE_SPEC #define STARTFILE_SPEC "crti.o%s crtbegin.o%s" |