f582ca0fd7
This patch adds a new multilib for armv8.1-m.main+mve with hard float abi. For armv8.1-m.main+mve soft and softfp, the v8-M multilibs will be reused. The following mappings are also updated: "-mfloat-abi=hard -march=armv8.1-m.main+mve.fp -> armv8-m.main+fp/hard" "-mfloat-abi=softfp -march=armv8.1-m.main+mve.fp -> armv8-m.main+fp/softfp" "-mfloat-abi=soft -march=armv8.1-m.main+mve.fp -> armv8-m.main/nofp" gcc/ChangeLog: 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com> * config/arm/t-rmprofile: create new multilib for armv8.1-m.main+mve hard float and reuse v8-m.main ones for v8.1-m.main+mve . gcc/testsuite/ChangeLog: 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com> * gcc.target/arm/multilib.exp: Add new v8.1-M entry. libgcc/ChangLog: 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com> * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
21 lines
684 B
Plaintext
21 lines
684 B
Plaintext
LIB1ASMSRC = arm/lib1funcs.S
|
|
LIB1ASMFUNCS = _thumb1_case_sqi _thumb1_case_uqi _thumb1_case_shi \
|
|
_thumb1_case_uhi _thumb1_case_si _speculation_barrier
|
|
|
|
HAVE_CMSE:=$(findstring __ARM_FEATURE_CMSE,$(shell $(gcc_compile_bare) -dM -E - </dev/null))
|
|
HAVE_V81M:=$(findstring armv8.1-m.main,$(gcc_compile_bare))
|
|
ifeq ($(shell $(gcc_compile_bare) -E -mcmse - </dev/null >/dev/null 2>/dev/null; echo $?),0)
|
|
CMSE_OPTS:=-mcmse
|
|
endif
|
|
|
|
ifdef HAVE_CMSE
|
|
ifndef HAVE_V81M
|
|
libgcc-objects += cmse.o cmse_nonsecure_call.o
|
|
|
|
cmse.o: $(srcdir)/config/arm/cmse.c
|
|
$(gcc_compile) -c $(CMSE_OPTS) $<
|
|
cmse_nonsecure_call.o: $(srcdir)/config/arm/cmse_nonsecure_call.S
|
|
$(gcc_compile) -c $<
|
|
endif
|
|
endif
|