OSDN Git Service

* target.h (enum opt_levels, struct default_options): New.
[pf3gnuchains/gcc-fork.git] / gcc / config / alpha / gnu.h
1 /* Configuration for an Alpha running GNU with ELF as the target machine.
2
3 Copyright (C) 2002, 2003, 2004, 2010 Free Software Foundation, Inc.
4
5 This file is part of GCC.
6
7 GCC is free software; you can redistribute it and/or modify it under
8 the terms of the GNU General Public License as published by the Free
9 Software Foundation; either version 3, or (at your option) any later
10 version.
11
12 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13 WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15 for more details.
16
17 Under Section 7 of GPL version 3, you are granted additional
18 permissions described in the GCC Runtime Library Exception, version
19 3.1, as published by the Free Software Foundation.
20
21 You should have received a copy of the GNU General Public License and
22 a copy of the GCC Runtime Library Exception along with this program;
23 see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
24 <http://www.gnu.org/licenses/>.  */
25
26 #undef TARGET_VERSION
27 #define TARGET_VERSION fprintf (stderr, " (Alpha GNU)");
28
29 #undef TARGET_OS_CPP_BUILTINS /* config.gcc includes alpha/linux.h.  */
30 #define TARGET_OS_CPP_BUILTINS()                \
31     do {                                        \
32         LINUX_TARGET_OS_CPP_BUILTINS();         \
33         builtin_define ("_LONGLONG");           \
34     } while (0)
35
36 #undef ELF_DYNAMIC_LINKER
37 #define ELF_DYNAMIC_LINKER      "/lib/ld.so"
38
39 #undef  STARTFILE_SPEC
40 #define STARTFILE_SPEC \
41   "%{!shared: \
42      %{!static: \
43        %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
44      %{static:crt0.o%s}} \
45    crti.o%s \
46    %{!static:%{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"
47
48 /* FIXME: Is a Hurd-specific fallback mechanism necessary?  */
49 #undef MD_UNWIND_SUPPORT