annotate toolchain/t-arm-elf @ 261:7f14d7c789a7

fc-tmsh ffs2: most commands implemented
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Wed, 05 Feb 2014 05:48:47 +0000
parents 53b8d61c16a0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
47
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 # This is a modified version of the gcc/config/arm/t-arm-elf file
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2 # from gcc-4.5.4. It has been modified by Spacefalcon the Outlaw
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3 # for the FreeCalypso project; the changes are in the multilib
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4 # configuration:
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5 #
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6 # a) The fpu multilib has been commented out
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
7 # b) The -mthumb-interwork multilib has been uncommented
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
8
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9 # Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10 # 2008 Free Software Foundation, Inc.
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11 #
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12 # This file is part of GCC.
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
13 #
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
14 # GCC is free software; you can redistribute it and/or modify
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
15 # it under the terms of the GNU General Public License as published by
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
16 # the Free Software Foundation; either version 3, or (at your option)
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
17 # any later version.
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
18 #
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
19 # GCC is distributed in the hope that it will be useful,
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
22 # GNU General Public License for more details.
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
23 #
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
24 # You should have received a copy of the GNU General Public License
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
25 # along with GCC; see the file COPYING3. If not see
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
26 # <http://www.gnu.org/licenses/>.
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
27
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
28 # For most CPUs we have an assembly soft-float implementations.
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
29 # However this is not true for ARMv6M. Here we want to use the soft-fp C
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
30 # implementation. The soft-fp code is only build for ARMv6M. This pulls
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
31 # in the asm implementation for other CPUs.
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
32 LIB1ASMFUNCS += _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _bb_init_func \
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
33 _call_via_rX _interwork_call_via_rX \
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
34 _lshrdi3 _ashrdi3 _ashldi3 \
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
35 _arm_negdf2 _arm_addsubdf3 _arm_muldivdf3 _arm_cmpdf2 _arm_unorddf2 \
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
36 _arm_fixdfsi _arm_fixunsdfsi \
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
37 _arm_truncdfsf2 _arm_negsf2 _arm_addsubsf3 _arm_muldivsf3 \
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
38 _arm_cmpsf2 _arm_unordsf2 _arm_fixsfsi _arm_fixunssfsi \
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
39 _arm_floatdidf _arm_floatdisf _arm_floatundidf _arm_floatundisf \
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
40 _clzsi2 _clzdi2
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
41
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
42 MULTILIB_OPTIONS = marm/mthumb
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
43 MULTILIB_DIRNAMES = arm thumb
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
44 MULTILIB_EXCEPTIONS =
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
45 MULTILIB_MATCHES =
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
46
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
47 #MULTILIB_OPTIONS += march=armv7
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
48 #MULTILIB_DIRNAMES += thumb2
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
49 #MULTILIB_EXCEPTIONS += march=armv7* marm/*march=armv7*
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
50 #MULTILIB_MATCHES += march?armv7=march?armv7-a
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
51 #MULTILIB_MATCHES += march?armv7=march?armv7-r
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
52 #MULTILIB_MATCHES += march?armv7=march?armv7-m
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
53 #MULTILIB_MATCHES += march?armv7=mcpu?cortex-a8
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
54 #MULTILIB_MATCHES += march?armv7=mcpu?cortex-r4
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
55 #MULTILIB_MATCHES += march?armv7=mcpu?cortex-m3
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
56
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
57 # Not quite true. We can support hard-vfp calling in Thumb2, but how do we
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
58 # express that here? Also, we really need architecture v5e or later
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
59 # (mcrr etc).
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
60 # MULTILIB_OPTIONS += mfloat-abi=hard
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
61 # MULTILIB_DIRNAMES += fpu
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
62 # MULTILIB_EXCEPTIONS += *mthumb/*mfloat-abi=hard*
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
63
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
64 # MULTILIB_OPTIONS += mcpu=ep9312
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
65 # MULTILIB_DIRNAMES += ep9312
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
66 # MULTILIB_EXCEPTIONS += *mthumb/*mcpu=ep9312*
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
67 #
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
68 # MULTILIB_OPTIONS += mlittle-endian/mbig-endian
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
69 # MULTILIB_DIRNAMES += le be
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
70 # MULTILIB_MATCHES += mbig-endian=mbe mlittle-endian=mle
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
71 #
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
72 # MULTILIB_OPTIONS += mhard-float/msoft-float
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
73 # MULTILIB_DIRNAMES += fpu soft
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
74 # MULTILIB_EXCEPTIONS += *mthumb/*mhard-float*
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
75 #
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
76 MULTILIB_OPTIONS += mno-thumb-interwork/mthumb-interwork
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
77 MULTILIB_DIRNAMES += normal interwork
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
78 #
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
79 # MULTILIB_OPTIONS += fno-leading-underscore/fleading-underscore
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
80 # MULTILIB_DIRNAMES += elf under
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
81 #
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
82 # MULTILIB_OPTIONS += mcpu=arm7
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
83 # MULTILIB_DIRNAMES += nofmult
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
84 # MULTILIB_EXCEPTIONS += *mthumb*/*mcpu=arm7*
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
85 # # Note: the multilib_exceptions matches both -mthumb and
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
86 # # -mthumb-interwork
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
87 # #
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
88 # # We have to match all the arm cpu variants which do not have the
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
89 # # multiply instruction and treat them as if the user had specified
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
90 # # -mcpu=arm7. Note that in the following the ? is interpreted as
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
91 # # an = for the purposes of matching command line options.
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
92 # # FIXME: There ought to be a better way to do this.
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
93 # MULTILIB_MATCHES += mcpu?arm7=mcpu?arm7d
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
94 # MULTILIB_MATCHES += mcpu?arm7=mcpu?arm7di
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
95 # MULTILIB_MATCHES += mcpu?arm7=mcpu?arm70
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
96 # MULTILIB_MATCHES += mcpu?arm7=mcpu?arm700
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
97 # MULTILIB_MATCHES += mcpu?arm7=mcpu?arm700i
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
98 # MULTILIB_MATCHES += mcpu?arm7=mcpu?arm710
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
99 # MULTILIB_MATCHES += mcpu?arm7=mcpu?arm710c
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
100 # MULTILIB_MATCHES += mcpu?arm7=mcpu?arm7100
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
101 # MULTILIB_MATCHES += mcpu?arm7=mcpu?arm7500
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
102 # MULTILIB_MATCHES += mcpu?arm7=mcpu?arm7500fe
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
103 # MULTILIB_MATCHES += mcpu?arm7=mcpu?arm6
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
104 # MULTILIB_MATCHES += mcpu?arm7=mcpu?arm60
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
105 # MULTILIB_MATCHES += mcpu?arm7=mcpu?arm600
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
106 # MULTILIB_MATCHES += mcpu?arm7=mcpu?arm610
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
107 # MULTILIB_MATCHES += mcpu?arm7=mcpu?arm620
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
108
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
109 EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o crti.o crtn.o
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
110
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
111 # If EXTRA_MULTILIB_PARTS is not defined above then define EXTRA_PARTS here
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
112 # EXTRA_PARTS = crtbegin.o crtend.o crti.o crtn.o
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
113
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
114 LIBGCC = stmp-multilib
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
115 INSTALL_LIBGCC = install-multilib
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
116
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
117 # Currently there is a bug somewhere in GCC's alias analysis
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
118 # or scheduling code that is breaking _fpmul_parts in fp-bit.c.
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
119 # Disabling function inlining is a workaround for this problem.
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
120 TARGET_LIBGCC2_CFLAGS = -fno-inline
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
121
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
122 # Assemble startup files.
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
123 $(T)crti.o: $(srcdir)/config/arm/crti.asm $(GCC_PASSES)
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
124 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
125 -c -o $(T)crti.o -x assembler-with-cpp $(srcdir)/config/arm/crti.asm
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
126
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
127 $(T)crtn.o: $(srcdir)/config/arm/crtn.asm $(GCC_PASSES)
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
128 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
129 -c -o $(T)crtn.o -x assembler-with-cpp $(srcdir)/config/arm/crtn.asm
53b8d61c16a0 toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
130