1 |
282 |
jeremybenn |
# Copyright (C) 2004, 2005, 2006, 2008 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 |
|
|
# .
|
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 |
|
|
# Include the gcc personality routine
|
34 |
|
|
UNWIND_H = $(srcdir)/config/arm/unwind-arm.h
|
35 |
|
|
LIB2ADDEH = $(srcdir)/unwind-c.c $(srcdir)/config/arm/pr-support.c
|
36 |
|
|
LIB2ADDEHDEP = $(UNWIND_H)
|
37 |
|
|
|
38 |
|
|
# Include half-float helpers.
|
39 |
|
|
LIB2FUNCS_STATIC_EXTRA = $(srcdir)/config/arm/fp16.c
|
40 |
|
|
|
41 |
|
|
# Create a multilib for processors with VFP floating-point, and a
|
42 |
|
|
# multilib for those without -- using the soft-float ABI in both
|
43 |
|
|
# cases. Symbian OS object should be compiled with interworking
|
44 |
|
|
# enabled, so there are no separate thumb-mode libraries.
|
45 |
|
|
MULTILIB_OPTIONS = mfloat-abi=softfp
|
46 |
|
|
MULTILIB_DIRNAMES = softfp
|
47 |
|
|
|
48 |
|
|
# There is no C library to link against on Symbian OS -- at least when
|
49 |
|
|
# building GCC.
|
50 |
|
|
SHLIB_LC =
|
51 |
|
|
|
52 |
|
|
# Symbian OS provides its own startup code.
|
53 |
|
|
EXTRA_MULTILIB_PARTS=
|