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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [config/] [rs6000/] [xilinx.h] - Blame information for rev 282

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 282 jeremybenn
/* Support for GCC on Xilinx embedded PowerPC systems
2
   Copyright (C) 2008 Free Software Foundation, Inc.
3
   Contributed by Michael Eager, eager@eagercon.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
/* Set defaults for Xilinx embedded target boards. */
22
 
23
#undef  CPP_SPEC
24
#define CPP_SPEC "\
25
-mxilinx-fpu                                    \
26
%{mfpu=sp_lite: -DHAVE_XFPU_SP_LITE}            \
27
%{mfpu=sp_full: -DHAVE_XFPU_SP_FULL}            \
28
%{mfpu=dp_lite: -DHAVE_XFPU_DP_LITE}            \
29
%{mfpu=dp_full: -DHAVE_XFPU_DP_FULL}            \
30
%{mfpu=*:   -DHAVE_XFPU}"
31
 
32
#undef  LIB_DEFAULT_SPEC
33
#define LIB_DEFAULT_SPEC "\
34
%{!nostdlib: --start-group -lxil -lc -lm --end-group   \
35
%{mppcperflib: %{mfpu=*: -lppcstr405 -lgcc}            \
36
%{!mfpu=*: -lppcstr405 -lppcfp -lgcc}}                 \
37
%{!mppcperflib: -lgcc}}"
38
 
39
#undef  STARTFILE_DEFAULT_SPEC
40
#define STARTFILE_DEFAULT_SPEC "\
41
ecrti.o%s %{pg: %{!mno-clearbss: xil-pgcrt0.o%s} \
42
%{mno-clearbss: xil-sim-pgcrt0.o%s}}            \
43
%{!pg: %{!mno-clearbss: xil-crt0.o%s}           \
44
%{mno-clearbss: xil-sim-crt0.o%s}} crtbegin.o%s"
45
 
46
#undef  LINK_START_DEFAULT_SPEC
47
#define LINK_START_DEFAULT_SPEC "-T xilinx.ld%s"

powered by: WebSVN 2.1.0

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