PR rtl-optimization/88018
[official-gcc.git] / gcc / config / arm / t-symbian
blobc3fea25d3d8ea47fe551cab3faa5305f8b07ba93
1 # Copyright (C) 2004-2018 Free Software Foundation, Inc.
3 # This file is part of GCC.
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.
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.
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/>.
19 EXTRA_HEADERS += $(srcdir)/ginclude/unwind-arm-common.h
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.
26 # Reset all the multilib variables.
27 MULTILIB_OPTIONS        =
28 MULTILIB_DIRNAMES       =
29 MULTILIB_EXCEPTIONS     =
30 MULTILIB_REUSE          =
31 MULTILIB_MATCHES        =
32 MULTILIB_REQUIRED       =
34 MULTILIB_OPTIONS        += march=armv5te+fp
35 MULTILIB_DIRNAMES       += v5te
37 MULTILIB_OPTIONS        += mfloat-abi=softfp
38 MULTILIB_DIRNAMES       += softfp
40 MULTLILIB_REQUIRED      += march=armv5te+fp/mfloat-abi=softfp
42 MULTILIB_MATCHES        += $(foreach ARCH, $(all_early_arch), \
43                              march?armv5te+fp=march?$(ARCH)+fp)
45 MULTILIB_MATCHES        += $(foreach FPARCH, $(v7a_fps), \
46                              march?armv5te+fp=march?armv7-a+$(FPARCH))
48 MULTILIB_MATCHES        += $(foreach FPARCH, $(v7ve_fps), \
49                              march?armv5te+fp=march?armv7ve+$(FPARCH))
51 MULTILIB_MATCHES        += $(foreach ARCH, $(all_v7_a_r), \
52                              march?armv5te+fp=march?$(ARCH)+fp)
54 MULTILIB_MATCHES        += $(foreach ARCH, $(all_v8_archs), \
55                              $(foreach FPARCH, $(v8_fps), \
56                                march?armv5te+fp=march?$(ARCH)+$(FPARCH)))