OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [config/] [arm/] [xscale-elf.h] - Diff between revs 154 and 816

Only display areas with differences | Details | Blame | View Log

Rev 154 Rev 816
/* Definitions for XScale architectures using ELF
/* Definitions for XScale architectures using ELF
   Copyright (C) 1999, 2000, 2001, 2007 Free Software Foundation, Inc.
   Copyright (C) 1999, 2000, 2001, 2007 Free Software Foundation, Inc.
   Contributed by Catherine Moore <clm@cygnus.com>
   Contributed by Catherine Moore <clm@cygnus.com>
 
 
   This file is part of GCC.
   This file is part of GCC.
 
 
   GCC is free software; you can redistribute it and/or modify it
   GCC is free software; you can redistribute it and/or modify it
   under the terms of the GNU General Public License as published
   under the terms of the GNU General Public License as published
   by the Free Software Foundation; either version 3, or (at your
   by the Free Software Foundation; either version 3, or (at your
   option) any later version.
   option) any later version.
 
 
   GCC is distributed in the hope that it will be useful, but WITHOUT
   GCC is distributed in the hope that it will be useful, but WITHOUT
   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
   License for more details.
   License for more details.
 
 
   You should have received a copy of the GNU General Public License
   You should have received a copy of the GNU General Public License
   along with GCC; see the file COPYING3.  If not see
   along with GCC; see the file COPYING3.  If not see
   <http://www.gnu.org/licenses/>.  */
   <http://www.gnu.org/licenses/>.  */
 
 
/* Run-time Target Specification.  */
/* Run-time Target Specification.  */
#ifndef TARGET_VERSION
#ifndef TARGET_VERSION
#define TARGET_VERSION  fputs (" (XScale/ELF non-Linux)", stderr);
#define TARGET_VERSION  fputs (" (XScale/ELF non-Linux)", stderr);
#endif
#endif
 
 
#ifndef SUBTARGET_CPU_DEFAULT
#ifndef SUBTARGET_CPU_DEFAULT
#define SUBTARGET_CPU_DEFAULT           TARGET_CPU_xscale
#define SUBTARGET_CPU_DEFAULT           TARGET_CPU_xscale
#endif
#endif
 
 
/* Note - there are three possible -mfpu= arguments that can be passed to
/* Note - there are three possible -mfpu= arguments that can be passed to
   the assembler:
   the assembler:
 
 
     -mfpu=softvfp   This is the default.  It indicates thats doubles are
     -mfpu=softvfp   This is the default.  It indicates thats doubles are
                     stored in a format compatible with the VFP
                     stored in a format compatible with the VFP
                     specification.  This is the newer double format, whereby
                     specification.  This is the newer double format, whereby
                     the endian-ness of the doubles matches the endian-ness
                     the endian-ness of the doubles matches the endian-ness
                     of the memory architecture.
                     of the memory architecture.
 
 
     -mfpu=fpa       This is when -mhard-float is specified.
     -mfpu=fpa       This is when -mhard-float is specified.
                     [It is not known if any XScale's have been made with
                     [It is not known if any XScale's have been made with
                     hardware floating point support, but nevertheless this
                     hardware floating point support, but nevertheless this
                     is what happens].
                     is what happens].
 
 
     -mfpu=softfpa   This is when -msoft-float is specified.
     -mfpu=softfpa   This is when -msoft-float is specified.
                     This is the normal behavior of other arm configurations,
                     This is the normal behavior of other arm configurations,
                     which for backwards compatibility purposes default to
                     which for backwards compatibility purposes default to
                     supporting the old FPA format which was always big
                     supporting the old FPA format which was always big
                     endian, regardless of the endian-ness of the memory
                     endian, regardless of the endian-ness of the memory
                     system.  */
                     system.  */
 
 
#define SUBTARGET_EXTRA_ASM_SPEC "%{!mcpu=*:-mcpu=xscale} \
#define SUBTARGET_EXTRA_ASM_SPEC "%{!mcpu=*:-mcpu=xscale} \
  %{mhard-float:-mfpu=fpa} \
  %{mhard-float:-mfpu=fpa} \
  %{!mhard-float: %{msoft-float:-mfpu=softfpa;:-mfpu=softvfp}}"
  %{!mhard-float: %{msoft-float:-mfpu=softfpa;:-mfpu=softvfp}}"
 
 
#ifndef MULTILIB_DEFAULTS
#ifndef MULTILIB_DEFAULTS
#define MULTILIB_DEFAULTS \
#define MULTILIB_DEFAULTS \
  { "mlittle-endian", "mno-thumb-interwork", "marm", "msoft-float" }
  { "mlittle-endian", "mno-thumb-interwork", "marm", "msoft-float" }
#endif
#endif
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.