git: 85706c256e65 - main - devel/arm-none-eabi-gcc: More flexible multilib options

From: Joerg Wunsch <joerg_at_FreeBSD.org>
Date: Fri, 12 Nov 2021 16:54:36 UTC
The branch main has been updated by joerg:

URL: https://cgit.FreeBSD.org/ports/commit/?id=85706c256e654ea2a4dee044d7812a5008e80e12

commit 85706c256e654ea2a4dee044d7812a5008e80e12
Author:     Joerg Wunsch <joerg@FreeBSD.org>
AuthorDate: 2021-11-12 16:51:16 +0000
Commit:     Joerg Wunsch <joerg@FreeBSD.org>
CommitDate: 2021-11-12 16:54:32 +0000

    devel/arm-none-eabi-gcc: More flexible multilib options
    
    This patch introduces port build options to control GCC's multilib
    layout. It defaults to "disable multilib" as the port used to be set
    before.
    
    In order to build a compiler suitable for Cortex-M devices, select the
    "Optimized for Cortex-M/R" option instead.
    
    A subsequent patch to devel/arm-none-eabi-newlib will automatically
    create their pkg-plist which now depends on the multilib option
    chosen.
    
    Reviewed by:    manu
    Differential Revision:  <https://reviews.freebsd.org/D32638>
---
 devel/aarch64-none-elf-gcc/Makefile |   2 +-
 devel/arm-none-eabi-gcc/Makefile    |  40 +++++-
 devel/arm-none-eabi-gcc/pkg-plist   | 252 ++++++++++++++++++++++++++++++++++++
 3 files changed, 291 insertions(+), 3 deletions(-)

diff --git a/devel/aarch64-none-elf-gcc/Makefile b/devel/aarch64-none-elf-gcc/Makefile
index e6d1e217aa33..f4edfb660b52 100644
--- a/devel/aarch64-none-elf-gcc/Makefile
+++ b/devel/aarch64-none-elf-gcc/Makefile
@@ -24,7 +24,7 @@ RUN_DEPENDS=	${GCC_TARGET}-as:devel/binutils@${PKGNAMEPREFIX:C/-$//:C/-/_/g}
 USES=		cpe gmake iconv libtool tar:xz makeinfo compiler:c++11-lang
 CPE_VENDOR=	gnu
 
-PLIST_SUB=	TARGETARCH=${PKGNAMEPREFIX:C/-//g} \
+PLIST_SUB+=	TARGETARCH=${PKGNAMEPREFIX:C/-//g} \
 		OPSYS=${OPSYS:tl} \
 		GCC_TARGET=${GCC_TARGET} \
 		GCC_VERSION=${PORTVERSION}
diff --git a/devel/arm-none-eabi-gcc/Makefile b/devel/arm-none-eabi-gcc/Makefile
index c1775229792e..fe6b49b49476 100644
--- a/devel/arm-none-eabi-gcc/Makefile
+++ b/devel/arm-none-eabi-gcc/Makefile
@@ -1,3 +1,6 @@
+# PORTNAME and CATEGORIES duplicated here, otherwise <bsd.port.options.mk> fails
+PORTNAME=	gcc
+CATEGORIES=	devel
 PORTVERSION=	8.4.0
 PKGNAMEPREFIX=	arm-none-eabi-
 GCC_TARGET=	arm-none-eabi
@@ -5,9 +8,42 @@ PLIST=	${.CURDIR}/pkg-plist
 DISTINFO_FILE=	${.CURDIR}/distinfo
 COMMENT=	GNU Compiler Collection for bare metal arm cross-development
 
-# libstdcxx won't build, but we don't need it or multiple float-abi libs.
+OPTIONS_SINGLE=	ML
+OPTIONS_SINGLE_ML=	ML_NONE ML_DEFAULT ML_CORTEXA ML_CORTEXRM
+OPTIONS_DEFAULT=	ML_NONE
+
+ML_DESC=		Multilib options
+ML_NONE_DESC=		Disable multilib
+ML_DEFAULT_DESC=	Default multilib configuration
+ML_CORTEXA_DESC=	Multilib configuration optimized for Cortex-A
+ML_CORTEXRM_DESC=	Multilib configuration optimized for Cortex-M/R
+
+# building libstdcxx would require a two-stage process
 CONFIGURE_ARGS=	--disable-libstdcxx \
-		--disable-multilib
+	--without-headers
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MML_NONE}
+CONFIGURE_ARGS+=	--disable-multilib
+PLIST_SUB+=		ML_DEFAULT="@comment " ML_CORTEX="@comment " ML_CORTEXA="@comment " ML_CORTEXRM="@comment "
+SUB_LIST+=		ML_DEFAULT="@comment " ML_CORTEX="@comment " ML_CORTEXA="@comment " ML_CORTEXRM="@comment "
+.endif
+.if ${PORT_OPTIONS:MML_DEFAULT}
+CONFIGURE_ARGS+=	--enable-multilib
+PLIST_SUB+=		ML_DEFAULT="" ML_CORTEX="@comment " ML_CORTEXA="@comment " ML_CORTEXRM="@comment "
+SUB_LIST+=		ML_DEFAULT="" ML_CORTEX="@comment " ML_CORTEXA="@comment " ML_CORTEXRM="@comment "
+.endif
+.if ${PORT_OPTIONS:MML_CORTEXA}
+CONFIGURE_ARGS+=	--enable-multilib --with-multilib-list=aprofile
+PLIST_SUB+=		ML_DEFAULT="@comment " ML_CORTEX="" ML_CORTEXA="" ML_CORTEXRM="@comment "
+SUB_LIST+=		ML_DEFAULT="@comment " ML_CORTEX="" ML_CORTEXA="" ML_CORTEXRM="@comment "
+.endif
+.if ${PORT_OPTIONS:MML_CORTEXRM}
+CONFIGURE_ARGS+=	--enable-multilib --with-multilib-list=rmprofile
+PLIST_SUB+=		ML_DEFAULT="@comment " ML_CORTEX="" ML_CORTEXA="@comment " ML_CORTEXRM=""
+SUB_LIST+=		ML_DEFAULT="@comment " ML_CORTEX="" ML_CORTEXA="@comment " ML_CORTEXRM=""
+.endif
 
 MASTERDIR=	${.CURDIR}/../aarch64-none-elf-gcc
 
diff --git a/devel/arm-none-eabi-gcc/pkg-plist b/devel/arm-none-eabi-gcc/pkg-plist
index bb1ee3f34f41..0b1adb363b8c 100644
--- a/devel/arm-none-eabi-gcc/pkg-plist
+++ b/devel/arm-none-eabi-gcc/pkg-plist
@@ -9,6 +9,27 @@ bin/%%GCC_TARGET%%-gcc-ranlib
 bin/%%GCC_TARGET%%-gcov
 bin/%%GCC_TARGET%%-gcov-dump
 bin/%%GCC_TARGET%%-gcov-tool
+%%ML_DEFAULT%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/arm/autofp/v5te/fpu/crtbegin.o
+%%ML_DEFAULT%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/arm/autofp/v5te/fpu/crtend.o
+%%ML_DEFAULT%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/arm/autofp/v5te/fpu/crtfastmath.o
+%%ML_DEFAULT%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/arm/autofp/v5te/fpu/crti.o
+%%ML_DEFAULT%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/arm/autofp/v5te/fpu/crtn.o
+%%ML_DEFAULT%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/arm/autofp/v5te/fpu/libgcc.a
+%%ML_DEFAULT%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/arm/autofp/v5te/fpu/libgcov.a
+%%ML_CORTEX%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/arm/v5te/hard/crtbegin.o
+%%ML_CORTEX%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/arm/v5te/hard/crtend.o
+%%ML_CORTEX%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/arm/v5te/hard/crtfastmath.o
+%%ML_CORTEX%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/arm/v5te/hard/crti.o
+%%ML_CORTEX%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/arm/v5te/hard/crtn.o
+%%ML_CORTEX%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/arm/v5te/hard/libgcc.a
+%%ML_CORTEX%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/arm/v5te/hard/libgcov.a
+%%ML_CORTEX%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/arm/v5te/softfp/crtbegin.o
+%%ML_CORTEX%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/arm/v5te/softfp/crtend.o
+%%ML_CORTEX%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/arm/v5te/softfp/crtfastmath.o
+%%ML_CORTEX%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/arm/v5te/softfp/crti.o
+%%ML_CORTEX%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/arm/v5te/softfp/crtn.o
+%%ML_CORTEX%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/arm/v5te/softfp/libgcc.a
+%%ML_CORTEX%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/arm/v5te/softfp/libgcov.a
 lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/crtbegin.o
 lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/crtend.o
 lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/crtfastmath.o
@@ -454,6 +475,237 @@ lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/wide-int-print.h
 lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/wide-int.h
 lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/xcoff.h
 lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/xcoffout.h
+%%ML_DEFAULT%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/autofp/v7/fpu/crtbegin.o
+%%ML_DEFAULT%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/autofp/v7/fpu/crtend.o
+%%ML_DEFAULT%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/autofp/v7/fpu/crtfastmath.o
+%%ML_DEFAULT%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/autofp/v7/fpu/crti.o
+%%ML_DEFAULT%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/autofp/v7/fpu/crtn.o
+%%ML_DEFAULT%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/autofp/v7/fpu/libgcc.a
+%%ML_DEFAULT%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/autofp/v7/fpu/libgcov.a
+%%ML_DEFAULT%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/crtbegin.o
+%%ML_DEFAULT%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/crtend.o
+%%ML_DEFAULT%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/crtfastmath.o
+%%ML_DEFAULT%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/crti.o
+%%ML_DEFAULT%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/crtn.o
+%%ML_DEFAULT%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/libgcc.a
+%%ML_DEFAULT%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/libgcov.a
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/nofp/crtbegin.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/nofp/crtend.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/nofp/crtfastmath.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/nofp/crti.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/nofp/crtn.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/nofp/libgcc.a
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/nofp/libgcov.a
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7+fp/hard/crtbegin.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7+fp/hard/crtend.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7+fp/hard/crtfastmath.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7+fp/hard/crti.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7+fp/hard/crtn.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7+fp/hard/libgcc.a
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7+fp/hard/libgcov.a
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7+fp/softfp/crtbegin.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7+fp/softfp/crtend.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7+fp/softfp/crtfastmath.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7+fp/softfp/crti.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7+fp/softfp/crtn.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7+fp/softfp/libgcc.a
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7+fp/softfp/libgcov.a
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a+fp/hard/crtbegin.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a+fp/hard/crtend.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a+fp/hard/crtfastmath.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a+fp/hard/crti.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a+fp/hard/crtn.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a+fp/hard/libgcc.a
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a+fp/hard/libgcov.a
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a+fp/softfp/crtbegin.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a+fp/softfp/crtend.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a+fp/softfp/crtfastmath.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a+fp/softfp/crti.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a+fp/softfp/crtn.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a+fp/softfp/libgcc.a
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a+fp/softfp/libgcov.a
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a+simd/hard/crtbegin.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a+simd/hard/crtend.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a+simd/hard/crtfastmath.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a+simd/hard/crti.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a+simd/hard/crtn.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a+simd/hard/libgcc.a
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a+simd/hard/libgcov.a
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a+simd/softfp/crtbegin.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a+simd/softfp/crtend.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a+simd/softfp/crtfastmath.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a+simd/softfp/crti.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a+simd/softfp/crtn.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a+simd/softfp/libgcc.a
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a+simd/softfp/libgcov.a
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a/nofp/crtbegin.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a/nofp/crtend.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a/nofp/crtfastmath.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a/nofp/crti.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a/nofp/crtn.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a/nofp/libgcc.a
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-a/nofp/libgcov.a
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7/nofp/crtbegin.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7/nofp/crtend.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7/nofp/crtfastmath.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7/nofp/crti.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7/nofp/crtn.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7/nofp/libgcc.a
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7/nofp/libgcov.a
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7ve+simd/hard/crtbegin.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7ve+simd/hard/crtend.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7ve+simd/hard/crtfastmath.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7ve+simd/hard/crti.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7ve+simd/hard/crtn.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7ve+simd/hard/libgcc.a
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7ve+simd/hard/libgcov.a
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7ve+simd/softfp/crtbegin.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7ve+simd/softfp/crtend.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7ve+simd/softfp/crtfastmath.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7ve+simd/softfp/crti.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7ve+simd/softfp/crtn.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7ve+simd/softfp/libgcc.a
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7ve+simd/softfp/libgcov.a
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-a+simd/hard/crtbegin.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-a+simd/hard/crtend.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-a+simd/hard/crtfastmath.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-a+simd/hard/crti.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-a+simd/hard/crtn.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-a+simd/hard/libgcc.a
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-a+simd/hard/libgcov.a
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-a+simd/softfp/crtbegin.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-a+simd/softfp/crtend.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-a+simd/softfp/crtfastmath.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-a+simd/softfp/crti.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-a+simd/softfp/crtn.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-a+simd/softfp/libgcc.a
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-a+simd/softfp/libgcov.a
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-a/nofp/crtbegin.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-a/nofp/crtend.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-a/nofp/crtfastmath.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-a/nofp/crti.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-a/nofp/crtn.o
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-a/nofp/libgcc.a
+%%ML_CORTEXA%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-a/nofp/libgcov.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/nofp/crtbegin.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/nofp/crtend.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/nofp/crtfastmath.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/nofp/crti.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/nofp/crtn.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/nofp/libgcc.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/nofp/libgcov.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v6-m/nofp/crtbegin.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v6-m/nofp/crtend.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v6-m/nofp/crtfastmath.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v6-m/nofp/crti.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v6-m/nofp/crtn.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v6-m/nofp/libgcc.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v6-m/nofp/libgcov.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7+fp/hard/crtbegin.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7+fp/hard/crtend.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7+fp/hard/crtfastmath.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7+fp/hard/crti.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7+fp/hard/crtn.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7+fp/hard/libgcc.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7+fp/hard/libgcov.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7+fp/softfp/crtbegin.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7+fp/softfp/crtend.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7+fp/softfp/crtfastmath.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7+fp/softfp/crti.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7+fp/softfp/crtn.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7+fp/softfp/libgcc.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7+fp/softfp/libgcov.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-m/nofp/crtbegin.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-m/nofp/crtend.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-m/nofp/crtfastmath.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-m/nofp/crti.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-m/nofp/crtn.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-m/nofp/libgcc.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7-m/nofp/libgcov.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7/nofp/crtbegin.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7/nofp/crtend.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7/nofp/crtfastmath.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7/nofp/crti.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7/nofp/crtn.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7/nofp/libgcc.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7/nofp/libgcov.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m+dp/hard/crtbegin.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m+dp/hard/crtend.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m+dp/hard/crtfastmath.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m+dp/hard/crti.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m+dp/hard/crtn.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m+dp/hard/libgcc.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m+dp/hard/libgcov.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m+dp/softfp/crtbegin.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m+dp/softfp/crtend.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m+dp/softfp/crtfastmath.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m+dp/softfp/crti.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m+dp/softfp/crtn.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m+dp/softfp/libgcc.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m+dp/softfp/libgcov.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m+fp/hard/crtbegin.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m+fp/hard/crtend.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m+fp/hard/crtfastmath.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m+fp/hard/crti.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m+fp/hard/crtn.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m+fp/hard/libgcc.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m+fp/hard/libgcov.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m+fp/softfp/crtbegin.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m+fp/softfp/crtend.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m+fp/softfp/crtfastmath.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m+fp/softfp/crti.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m+fp/softfp/crtn.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m+fp/softfp/libgcc.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m+fp/softfp/libgcov.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m/nofp/crtbegin.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m/nofp/crtend.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m/nofp/crtfastmath.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m/nofp/crti.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m/nofp/crtn.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m/nofp/libgcc.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v7e-m/nofp/libgcov.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.base/nofp/crtbegin.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.base/nofp/crtend.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.base/nofp/crtfastmath.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.base/nofp/crti.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.base/nofp/crtn.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.base/nofp/libgcc.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.base/nofp/libgcov.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main+dp/hard/crtbegin.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main+dp/hard/crtend.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main+dp/hard/crtfastmath.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main+dp/hard/crti.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main+dp/hard/crtn.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main+dp/hard/libgcc.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main+dp/hard/libgcov.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main+dp/softfp/crtbegin.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main+dp/softfp/crtend.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main+dp/softfp/crtfastmath.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main+dp/softfp/crti.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main+dp/softfp/crtn.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main+dp/softfp/libgcc.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main+dp/softfp/libgcov.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main+fp/hard/crtbegin.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main+fp/hard/crtend.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main+fp/hard/crtfastmath.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main+fp/hard/crti.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main+fp/hard/crtn.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main+fp/hard/libgcc.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main+fp/hard/libgcov.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main+fp/softfp/crtbegin.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main+fp/softfp/crtend.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main+fp/softfp/crtfastmath.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main+fp/softfp/crti.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main+fp/softfp/crtn.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main+fp/softfp/libgcc.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main+fp/softfp/libgcov.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main/nofp/crtbegin.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main/nofp/crtend.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main/nofp/crtfastmath.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main/nofp/crti.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main/nofp/crtn.o
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main/nofp/libgcc.a
+%%ML_CORTEXRM%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/thumb/v8-m.main/nofp/libgcov.a
 libexec/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/cc1
 libexec/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/cc1plus
 libexec/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/collect2