OSDN Git Service

* config/rs6000/sysv4.h (LINK_TARGET_SPEC): Use two dashes for
[pf3gnuchains/gcc-fork.git] / gcc / config / rs6000 / sysv4le.h
1 /* Target definitions for GNU compiler for a little endian PowerPC
2    running System V.4
3    Copyright (C) 1995, 2000 Free Software Foundation, Inc.
4    Contributed by Cygnus Support.
5
6 This file is part of GNU CC.
7
8 GNU CC is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
11 any later version.
12
13 GNU CC is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with GNU CC; see the file COPYING.  If not, write to
20 the Free Software Foundation, 59 Temple Place - Suite 330,
21 Boston, MA 02111-1307, USA.  */
22
23 #undef TARGET_DEFAULT
24 #define TARGET_DEFAULT (MASK_POWERPC | MASK_NEW_MNEMONICS | MASK_LITTLE_ENDIAN)
25
26 #undef  CPP_ENDIAN_DEFAULT_SPEC
27 #define CPP_ENDIAN_DEFAULT_SPEC "%(cpp_endian_little)"
28
29 #undef  CC1_ENDIAN_DEFAULT_SPEC
30 #define CC1_ENDIAN_DEFAULT_SPEC "%(cc1_endian_little)"
31
32 #undef  LINK_TARGET_SPEC
33 #define LINK_TARGET_SPEC "\
34 %{mbig: --oformat elf32-powerpc } %{mbig-endian: --oformat elf32-powerpc } \
35 %{!mlittle: %{!mlittle-endian: %{!mbig: %{!mbig-endian: \
36     %{mcall-linux: --oformat elf32-powerpc} \
37   }}}}"
38
39 /* Define this macro as a C expression for the initializer of an
40    array of string to tell the driver program which options are
41    defaults for this target and thus do not need to be handled
42    specially when using `MULTILIB_OPTIONS'.
43
44    Do not define this macro if `MULTILIB_OPTIONS' is not defined in
45    the target makefile fragment or if none of the options listed in
46    `MULTILIB_OPTIONS' are set by default.  *Note Target Fragment::.  */
47
48 #undef  MULTILIB_DEFAULTS
49 #define MULTILIB_DEFAULTS { "mlittle", "mcall-sysv" }