Mercurial > hg > CbC > CbC_gcc
annotate gcc/config/alpha/freebsd.h @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | f6334be47118 |
children |
rev | line source |
---|---|
0 | 1 /* Definitions for DEC Alpha/AXP running FreeBSD using the ELF format |
111 | 2 Copyright (C) 2000-2017 Free Software Foundation, Inc. |
0 | 3 Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi. |
4 | |
5 This file is part of GCC. | |
6 | |
7 GCC is free software; you can redistribute it and/or modify | |
8 it under the terms of the GNU General Public License as published by | |
9 the Free Software Foundation; either version 3, or (at your option) | |
10 any later version. | |
11 | |
12 GCC is distributed in the hope that it will be useful, | |
13 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 GNU General Public 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 | |
22 #undef EXTRA_SPECS | |
23 #define EXTRA_SPECS \ | |
24 { "fbsd_dynamic_linker", FBSD_DYNAMIC_LINKER } | |
25 | |
26 /* Provide a CPP_SPEC appropriate for FreeBSD/alpha -- dealing with | |
27 the GCC option `-posix'. */ | |
28 | |
29 #undef CPP_SPEC | |
30 #define CPP_SPEC "%{posix:-D_POSIX_SOURCE}" | |
31 | |
32 #define LINK_SPEC "%{G*} %{relax:-relax} \ | |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
33 %{p:%nconsider using '-pg' instead of '-p' with gprof(1)} \ |
0 | 34 %{assert*} %{R*} %{rpath*} %{defsym*} \ |
35 %{shared:-Bshareable %{h*} %{soname*}} \ | |
36 %{!shared: \ | |
37 %{!static: \ | |
38 %{rdynamic:-export-dynamic} \ | |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
39 -dynamic-linker %(fbsd_dynamic_linker) } \ |
0 | 40 %{static:-Bstatic}} \ |
41 %{symbolic:-Bsymbolic}" | |
42 | |
43 | |
44 /************************[ Target stuff ]***********************************/ | |
45 | |
46 /* Define the actual types of some ANSI-mandated types. | |
47 Needs to agree with <machine/ansi.h>. GCC defaults come from c-decl.c, | |
48 c-common.c, and config/<arch>/<arch>.h. */ | |
49 | |
50 /* alpha.h gets this wrong for FreeBSD. We use the GCC defaults instead. */ | |
51 #undef WCHAR_TYPE | |
52 | |
53 #undef WCHAR_TYPE_SIZE | |
54 #define WCHAR_TYPE_SIZE 32 | |
55 | |
56 #define TARGET_ELF 1 | |
57 | |
58 #undef HAS_INIT_SECTION | |
59 | |
60 /* Show that we need a GP when profiling. */ | |
61 #undef TARGET_PROFILING_NEEDS_GP | |
62 #define TARGET_PROFILING_NEEDS_GP 1 | |
63 | |
64 /* Don't default to pcc-struct-return, we want to retain compatibility with | |
65 older FreeBSD releases AND pcc-struct-return may not be reentrant. */ | |
66 | |
67 #undef DEFAULT_PCC_STRUCT_RETURN | |
68 #define DEFAULT_PCC_STRUCT_RETURN 0 |