summaryrefslogtreecommitdiff
path: root/gcc/config/arm/t-symbian
blob: 4a1476f6791aed115855d6dd99d228979243c8ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Copyright (C) 2004, 2005, 2006, 2008 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
# GCC is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# GCC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3.  If not see
# <http://www.gnu.org/licenses/>.

LIB1ASMFUNCS += _bb_init_func _call_via_rX _interwork_call_via_rX _clzsi2 _clzdi2

# These functions have __aeabi equivalents and will never be called by GCC.  
# By putting them in LIB1ASMFUNCS, we avoid the standard libgcc2.c code being
# used -- and we make sure that definitions are not available in lib1funcs.asm,
# either, so they end up undefined.
LIB1ASMFUNCS += \
	_ashldi3 _ashrdi3 _divdi3 _floatdidf _udivmoddi4 _umoddi3 \
	_udivdi3 _lshrdi3 _moddi3 _muldi3 _negdi2 _cmpdi2 \
	_fixdfdi _fixsfdi _fixunsdfdi _fixunssfdi _floatdisf \
	_negdf2 _addsubdf3 _muldivdf3 _cmpdf2 _unorddf2 _fixdfsi _fixunsdfsi \
	_truncdfsf2 _negsf2 _addsubsf3 _muldivsf3 _cmpsf2 _unordsf2 \
	_fixsfsi _fixunssfsi

# Include the gcc personality routine
UNWIND_H = $(srcdir)/config/arm/unwind-arm.h
LIB2ADDEH = $(srcdir)/unwind-c.c $(srcdir)/config/arm/pr-support.c
LIB2ADDEHDEP = $(UNWIND_H)

# Include half-float helpers.
LIB2FUNCS_STATIC_EXTRA = $(srcdir)/config/arm/fp16.c

# Create a multilib for processors with VFP floating-point, and a
# multilib for those without -- using the soft-float ABI in both
# cases.  Symbian OS object should be compiled with interworking
# enabled, so there are no separate thumb-mode libraries.
MULTILIB_OPTIONS     = mfloat-abi=softfp
MULTILIB_DIRNAMES    = softfp

# There is no C library to link against on Symbian OS -- at least when 
# building GCC.
SHLIB_LC = 

# Symbian OS provides its own startup code.
EXTRA_MULTILIB_PARTS=