annotate gcc/config/powerpcspe/xilinx.h @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* Support for GCC on Xilinx embedded PowerPC systems
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
2 Copyright (C) 2008-2018 Free Software Foundation, Inc.
111
kono
parents:
diff changeset
3 Contributed by Michael Eager, eager@eagercon.com
kono
parents:
diff changeset
4
kono
parents:
diff changeset
5 This file is part of GCC.
kono
parents:
diff changeset
6
kono
parents:
diff changeset
7 GCC is free software; you can redistribute it and/or modify it
kono
parents:
diff changeset
8 under the terms of the GNU General Public License as published
kono
parents:
diff changeset
9 by the Free Software Foundation; either version 3, or (at your
kono
parents:
diff changeset
10 option) any later version.
kono
parents:
diff changeset
11
kono
parents:
diff changeset
12 GCC is distributed in the hope that it will be useful, but WITHOUT
kono
parents:
diff changeset
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
kono
parents:
diff changeset
14 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
kono
parents:
diff changeset
15 License for more details.
kono
parents:
diff changeset
16
kono
parents:
diff changeset
17 You should have received a copy of the GNU General Public License
kono
parents:
diff changeset
18 along with GCC; see the file COPYING3. If not see
kono
parents:
diff changeset
19 <http://www.gnu.org/licenses/>. */
kono
parents:
diff changeset
20
kono
parents:
diff changeset
21 /* Set defaults for Xilinx embedded target boards. */
kono
parents:
diff changeset
22
kono
parents:
diff changeset
23 #undef CPP_SPEC
kono
parents:
diff changeset
24 #define CPP_SPEC "\
kono
parents:
diff changeset
25 -mxilinx-fpu \
kono
parents:
diff changeset
26 %{mfpu=sp_lite: -DHAVE_XFPU_SP_LITE} \
kono
parents:
diff changeset
27 %{mfpu=sp_full: -DHAVE_XFPU_SP_FULL} \
kono
parents:
diff changeset
28 %{mfpu=dp_lite: -DHAVE_XFPU_DP_LITE} \
kono
parents:
diff changeset
29 %{mfpu=dp_full: -DHAVE_XFPU_DP_FULL} \
kono
parents:
diff changeset
30 %{mfpu=*: -DHAVE_XFPU}"
kono
parents:
diff changeset
31
kono
parents:
diff changeset
32 #undef LIB_DEFAULT_SPEC
kono
parents:
diff changeset
33 #define LIB_DEFAULT_SPEC "\
kono
parents:
diff changeset
34 %{!nostdlib: --start-group -lxil -lc -lm --end-group \
kono
parents:
diff changeset
35 %{mppcperflib: %{mfpu=*: -lppcstr405 -lgcc} \
kono
parents:
diff changeset
36 %{!mfpu=*: -lppcstr405 -lppcfp -lgcc}} \
kono
parents:
diff changeset
37 %{!mppcperflib: -lgcc}}"
kono
parents:
diff changeset
38
kono
parents:
diff changeset
39 #undef STARTFILE_DEFAULT_SPEC
kono
parents:
diff changeset
40 #define STARTFILE_DEFAULT_SPEC "\
kono
parents:
diff changeset
41 ecrti.o%s %{pg: %{!mno-clearbss: xil-pgcrt0.o%s} \
kono
parents:
diff changeset
42 %{mno-clearbss: xil-sim-pgcrt0.o%s}} \
kono
parents:
diff changeset
43 %{!pg: %{!mno-clearbss: xil-crt0.o%s} \
kono
parents:
diff changeset
44 %{mno-clearbss: xil-sim-crt0.o%s}} crtbegin.o%s"
kono
parents:
diff changeset
45
kono
parents:
diff changeset
46 #undef LINK_START_DEFAULT_SPEC
kono
parents:
diff changeset
47 #define LINK_START_DEFAULT_SPEC "-T xilinx.ld%s"