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 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 2, 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 COPYING. If not, write to the 21 Free Software Foundation, 51 Franklin Street, Fifth Floor, 22 Boston, MA 02110-1301, USA. */ 23 24 /* Enable Symbian specific code. */ 25 #define SYMBIAN 1 26 27 /* Default to using the Renesas ABI. */ 28 #define TARGET_ABI_DEFAULT MASK_HITACHI 29 30 #define SUBTARGET_CPP_SPEC "" 31 32 /* Get tree.c to declare merge_dllimport_decl_attributes(). */ 33 #define TARGET_DLLIMPORT_DECL_ATTRIBUTES 1 34 35 /* The Symbian OS currently does not support exception handling. */ 36 #define SUBTARGET_CC1PLUS_SPEC "-fno-exceptions" 37 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" 42