OSDN Git Service

2011-09-13 Paul Brook <paul@codesourcery.com>
[pf3gnuchains/gcc-fork.git] / gcc / config / arm / t-symbian
1 # Copyright (C) 2004, 2005, 2006, 2008, 2011 Free Software Foundation, Inc.
2 #
3 # This file is part of GCC.
4 #
5 # GCC is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3, or (at your option)
8 # any later version.
9 #
10 # GCC is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with GCC; see the file COPYING3.  If not see
17 # <http://www.gnu.org/licenses/>.
18
19 LIB1ASMFUNCS += _bb_init_func _call_via_rX _interwork_call_via_rX _clzsi2 _clzdi2
20
21 # These functions have __aeabi equivalents and will never be called by GCC.  
22 # By putting them in LIB1ASMFUNCS, we avoid the standard libgcc2.c code being
23 # used -- and we make sure that definitions are not available in lib1funcs.asm,
24 # either, so they end up undefined.
25 LIB1ASMFUNCS += \
26         _ashldi3 _ashrdi3 _divdi3 _floatdidf _udivmoddi4 _umoddi3 \
27         _udivdi3 _lshrdi3 _moddi3 _muldi3 _negdi2 _cmpdi2 \
28         _fixdfdi _fixsfdi _fixunsdfdi _fixunssfdi _floatdisf \
29         _negdf2 _addsubdf3 _muldivdf3 _cmpdf2 _unorddf2 _fixdfsi _fixunsdfsi \
30         _truncdfsf2 _negsf2 _addsubsf3 _muldivsf3 _cmpsf2 _unordsf2 \
31         _fixsfsi _fixunssfsi
32
33 EXTRA_HEADERS += $(srcdir)/ginclude/unwind-arm-common.h
34 # Include half-float helpers.
35 LIB2FUNCS_STATIC_EXTRA = $(srcdir)/config/arm/fp16.c
36
37 # Create a multilib for processors with VFP floating-point, and a
38 # multilib for those without -- using the soft-float ABI in both
39 # cases.  Symbian OS object should be compiled with interworking
40 # enabled, so there are no separate thumb-mode libraries.
41 MULTILIB_OPTIONS     = mfloat-abi=softfp
42 MULTILIB_DIRNAMES    = softfp
43
44 # There is no C library to link against on Symbian OS -- at least when 
45 # building GCC.
46 SHLIB_LC = 
47
48 # Symbian OS provides its own startup code.
49 EXTRA_MULTILIB_PARTS=