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] - Blame information for rev 827

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
/* Definitions for XScale architectures using ELF
2
   Copyright (C) 1999, 2000, 2001, 2007 Free Software Foundation, Inc.
3
   Contributed by Catherine Moore <clm@cygnus.com>
4
 
5
   This file is part of GCC.
6
 
7
   GCC is free software; you can redistribute it and/or modify it
8
   under the terms of the GNU General Public License as published
9
   by the Free Software Foundation; either version 3, or (at your
10
   option) any later version.
11
 
12
   GCC is distributed in the hope that it will be useful, but WITHOUT
13
   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14
   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
15
   License for more details.
16
 
17
   You should have received a copy of the GNU General Public License
18
   along with GCC; see the file COPYING3.  If not see
19
   <http://www.gnu.org/licenses/>.  */
20
 
21
/* Run-time Target Specification.  */
22
#ifndef TARGET_VERSION
23
#define TARGET_VERSION  fputs (" (XScale/ELF non-Linux)", stderr);
24
#endif
25
 
26
#ifndef SUBTARGET_CPU_DEFAULT
27
#define SUBTARGET_CPU_DEFAULT           TARGET_CPU_xscale
28
#endif
29
 
30
/* Note - there are three possible -mfpu= arguments that can be passed to
31
   the assembler:
32
 
33
     -mfpu=softvfp   This is the default.  It indicates thats doubles are
34
                     stored in a format compatible with the VFP
35
                     specification.  This is the newer double format, whereby
36
                     the endian-ness of the doubles matches the endian-ness
37
                     of the memory architecture.
38
 
39
     -mfpu=fpa       This is when -mhard-float is specified.
40
                     [It is not known if any XScale's have been made with
41
                     hardware floating point support, but nevertheless this
42
                     is what happens].
43
 
44
     -mfpu=softfpa   This is when -msoft-float is specified.
45
                     This is the normal behavior of other arm configurations,
46
                     which for backwards compatibility purposes default to
47
                     supporting the old FPA format which was always big
48
                     endian, regardless of the endian-ness of the memory
49
                     system.  */
50
 
51
#define SUBTARGET_EXTRA_ASM_SPEC "%{!mcpu=*:-mcpu=xscale} \
52
  %{mhard-float:-mfpu=fpa} \
53
  %{!mhard-float: %{msoft-float:-mfpu=softfpa;:-mfpu=softvfp}}"
54
 
55
#ifndef MULTILIB_DEFAULTS
56
#define MULTILIB_DEFAULTS \
57
  { "mlittle-endian", "mno-thumb-interwork", "marm", "msoft-float" }
58
#endif

powered by: WebSVN 2.1.0

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