Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/sh/symbian-pre.h @ 0:a06113de4d67
first commit
author | kent <kent@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 17 Jul 2009 14:47:48 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:a06113de4d67 |
---|---|
1 /* Definitions for the Symbian OS running on an SH part. | |
2 This file is included before any other target specific headers. | |
3 | |
4 Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc. | |
5 Contributed by Red Hat. | |
6 | |
7 This file is part of GCC. | |
8 | |
9 GCC is free software; you can redistribute it and/or modify it | |
10 under the terms of the GNU General Public License as published | |
11 by the Free Software Foundation; either version 3, or (at your | |
12 option) any later version. | |
13 | |
14 GCC is distributed in the hope that it will be useful, but WITHOUT | |
15 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | |
16 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public | |
17 License for more details. | |
18 | |
19 You should have received a copy of the GNU General Public License | |
20 along with GCC; see the file COPYING3. If not see | |
21 <http://www.gnu.org/licenses/>. */ | |
22 | |
23 /* Enable Symbian specific code. */ | |
24 #define SYMBIAN 1 | |
25 | |
26 /* Default to using the Renesas ABI. */ | |
27 #define TARGET_ABI_DEFAULT MASK_HITACHI | |
28 | |
29 #define SUBTARGET_CPP_SPEC "" | |
30 | |
31 /* Get tree.c to declare merge_dllimport_decl_attributes(). */ | |
32 #define TARGET_DLLIMPORT_DECL_ATTRIBUTES 1 | |
33 | |
34 /* The Symbian OS currently does not support exception handling. */ | |
35 #define SUBTARGET_CC1PLUS_SPEC "-fno-exceptions" | |
36 | |
37 /* Create constructor/destructor sections without the writable flag. | |
38 Symbian puts them into the text segment and munges them later on. */ | |
39 #define CTORS_SECTION_ASM_OP "\t.section\t.ctors,\"ax\",@progbits" | |
40 #define DTORS_SECTION_ASM_OP "\t.section\t.dtors,\"ax\",@progbits" |