2005-01-16 Steven G. Kargl <kargls@comcast.net>
[official-gcc.git] / gcc / config / sh / symbian-pre.h
blob53e2d92a1df5ca7b8d9656c4169572971308a821
1 /* Definitions for the Symbian OS running on an SH part.
2 This file is included before any other target specific headers.
4 Copyright (C) 2004 Free Software Foundation, Inc.
5 Contributed by Red Hat.
7 This file is part of GCC.
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 2, or (at your
12 option) any later version.
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.
19 You should have received a copy of the GNU General Public License
20 along with GCC; see the file COPYING. If not, write to the
21 Free Software Foundation, 59 Temple Place - Suite 330,
22 Boston, MA 02111-1307, USA. */
24 /* Enable Symbian specific code. */
25 #define SYMBIAN 1
27 /* Default to using the Renesas ABI. */
28 #define TARGET_ABI_DEFAULT RENESAS_BIT
30 #define SUBTARGET_CPP_SPEC ""
32 /* Get tree.c to declare merge_dllimport_decl_attributes(). */
33 #define TARGET_DLLIMPORT_DECL_ATTRIBUTES 1
35 /* The Symbian OS currently does not support exception handling. */
36 #define SUBTARGET_CC1PLUS_SPEC "-fno-exceptions"
38 /* Create constructor/destructor sections without the writable flag.
39 Symbian puts them into the text segment and munges them later on. */
40 #define CTORS_SECTION_ASM_OP "\t.section\t.ctors,\"ax\",@progbits"
41 #define DTORS_SECTION_ASM_OP "\t.section\t.dtors,\"ax\",@progbits"