Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/sparc/openbsd64.h @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | f6334be47118 |
children | 84e7813d76e9 |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* Configuration file for sparc64 OpenBSD target. | 1 /* Configuration file for sparc64 OpenBSD target. |
2 Copyright (C) 1999, 2005, 2007, 2010 Free Software Foundation, Inc. | 2 Copyright (C) 1999-2017 Free Software Foundation, Inc. |
3 | 3 |
4 This file is part of GCC. | 4 This file is part of GCC. |
5 | 5 |
6 GCC is free software; you can redistribute it and/or modify | 6 GCC is free software; you can redistribute it and/or modify |
7 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
14 GNU General Public License for more details. | 14 GNU General Public License for more details. |
15 | 15 |
16 You should have received a copy of the GNU General Public License | 16 You should have received a copy of the GNU General Public License |
17 along with GCC; see the file COPYING3. If not see | 17 along with GCC; see the file COPYING3. If not see |
18 <http://www.gnu.org/licenses/>. */ | 18 <http://www.gnu.org/licenses/>. */ |
19 | |
20 #undef TARGET_VERSION | |
21 #define TARGET_VERSION fprintf (stderr, " (sparc64 OpenBSD ELF)") | |
22 | 19 |
23 /* XXX - do we really want HARD_QUAD? */ | 20 /* XXX - do we really want HARD_QUAD? */ |
24 #undef TARGET_DEFAULT | 21 #undef TARGET_DEFAULT |
25 #define TARGET_DEFAULT \ | 22 #define TARGET_DEFAULT \ |
26 (MASK_V9 + MASK_PTR64 + MASK_64BIT + MASK_HARD_QUAD \ | 23 (MASK_V9 + MASK_PTR64 + MASK_64BIT + MASK_HARD_QUAD \ |
42 builtin_define ("__sparc_v9__"); \ | 39 builtin_define ("__sparc_v9__"); \ |
43 builtin_define ("__arch64__"); \ | 40 builtin_define ("__arch64__"); \ |
44 } \ | 41 } \ |
45 while (0) | 42 while (0) |
46 | 43 |
47 #undef CPP_SUBTARGET_SPEC | |
48 #define CPP_SUBTARGET_SPEC "" | |
49 | |
50 /* Inherited from sp64-elf. */ | 44 /* Inherited from sp64-elf. */ |
51 #undef NO_IMPLICIT_EXTERN_C | 45 #undef NO_IMPLICIT_EXTERN_C |
52 | 46 |
53 #undef ASM_SPEC | 47 #undef ASM_SPEC |
54 #define ASM_SPEC "\ | 48 #define ASM_SPEC "\ |
55 -s %{fpic|fPIC|fpie|fPIE:-K PIC} \ | 49 -s %{" FPIE_OR_FPIC_SPEC ":-K PIC} \ |
56 %{mlittle-endian:-EL} \ | |
57 %(asm_cpu) %(asm_arch) \ | 50 %(asm_cpu) %(asm_arch) \ |
58 " | 51 " |
59 | 52 |
60 /* Layout of source language data types. */ | 53 /* Layout of source language data types. */ |
61 #undef WCHAR_TYPE | 54 #undef WCHAR_TYPE |