xref: /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/arm/t-symbian (revision 8feb0f0b7eaff0608f8350bbfa3098827b4bb91b)
1# Copyright (C) 2004-2020 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
19EXTRA_HEADERS += $(srcdir)/ginclude/unwind-arm-common.h
20
21# Create a multilib for processors with VFP floating-point, and a
22# multilib for those without -- using the soft-float ABI in both
23# cases.  Symbian OS object should be compiled with interworking
24# enabled, so there are no separate thumb-mode libraries.
25
26# Reset all the multilib variables.
27MULTILIB_OPTIONS	=
28MULTILIB_DIRNAMES	=
29MULTILIB_EXCEPTIONS	=
30MULTILIB_REUSE		=
31MULTILIB_MATCHES	=
32MULTILIB_REQUIRED	=
33
34MULTILIB_OPTIONS	+= march=armv5te+fp
35MULTILIB_DIRNAMES	+= v5te
36
37MULTILIB_OPTIONS	+= mfloat-abi=softfp
38MULTILIB_DIRNAMES	+= softfp
39
40MULTLILIB_REQUIRED	+= march=armv5te+fp/mfloat-abi=softfp
41
42MULTILIB_MATCHES	+= $(foreach ARCH, $(all_early_arch), \
43			     march?armv5te+fp=march?$(ARCH)+fp)
44
45MULTILIB_MATCHES	+= $(foreach FPARCH, $(v7a_fps), \
46		             march?armv5te+fp=march?armv7-a+$(FPARCH))
47
48MULTILIB_MATCHES	+= $(foreach FPARCH, $(v7ve_fps), \
49		             march?armv5te+fp=march?armv7ve+$(FPARCH))
50
51MULTILIB_MATCHES	+= $(foreach ARCH, $(all_v7_a_r), \
52			     march?armv5te+fp=march?$(ARCH)+fp)
53
54MULTILIB_MATCHES	+= $(foreach ARCH, $(all_v8_archs), \
55			     $(foreach FPARCH, $(v8_fps), \
56			       march?armv5te+fp=march?$(ARCH)+$(FPARCH)))
57