summaryrefslogtreecommitdiff
path: root/gcc/config/arm/t-symbian
blob: 26c5232071b5014fda497dfcd88c7d185c2dd565 (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
54
55
56
# Copyright (C) 2004-2019 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/>.

EXTRA_HEADERS += $(srcdir)/ginclude/unwind-arm-common.h

# 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.

# Reset all the multilib variables.
MULTILIB_OPTIONS	=
MULTILIB_DIRNAMES	=
MULTILIB_EXCEPTIONS	=
MULTILIB_REUSE		=
MULTILIB_MATCHES	=
MULTILIB_REQUIRED	=

MULTILIB_OPTIONS	+= march=armv5te+fp
MULTILIB_DIRNAMES	+= v5te

MULTILIB_OPTIONS	+= mfloat-abi=softfp
MULTILIB_DIRNAMES	+= softfp

MULTLILIB_REQUIRED	+= march=armv5te+fp/mfloat-abi=softfp

MULTILIB_MATCHES	+= $(foreach ARCH, $(all_early_arch), \
			     march?armv5te+fp=march?$(ARCH)+fp)

MULTILIB_MATCHES	+= $(foreach FPARCH, $(v7a_fps), \
		             march?armv5te+fp=march?armv7-a+$(FPARCH))

MULTILIB_MATCHES	+= $(foreach FPARCH, $(v7ve_fps), \
		             march?armv5te+fp=march?armv7ve+$(FPARCH))

MULTILIB_MATCHES	+= $(foreach ARCH, $(all_v7_a_r), \
			     march?armv5te+fp=march?$(ARCH)+fp)

MULTILIB_MATCHES	+= $(foreach ARCH, $(all_v8_archs), \
			     $(foreach FPARCH, $(v8_fps), \
			       march?armv5te+fp=march?$(ARCH)+$(FPARCH)))