aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2017-10-31 17:44:28 -0700
committerPalmer Dabbelt <palmer@dabbelt.com>2017-10-31 17:44:28 -0700
commite88b0c3a2835663847befa7b141ee44eef907358 (patch)
treebf4e41ce6bc0c191eb9fe80e96b2e82974cd246d
parent00b4639a1ed00b2c02558b656e828bed49ace4f6 (diff)
downloadriscv-gnu-toolchain-e88b0c3a2835663847befa7b141ee44eef907358.zip
riscv-gnu-toolchain-e88b0c3a2835663847befa7b141ee44eef907358.tar.gz
riscv-gnu-toolchain-e88b0c3a2835663847befa7b141ee44eef907358.tar.bz2
Run the regression tests with "-mcmodel=medany" as well
-rw-r--r--Makefile.in4
-rw-r--r--regression/Makefile13
2 files changed, 15 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 5634031..21288ae 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -50,10 +50,10 @@ ASFLAGS_FOR_TARGET := $(ASFLAGS_FOR_TARGET_EXTRA) @cmodel@
GLIBC_TARGET_FLAGS := $(GLIBC_TARGET_FLAGS_EXTRA)
GLIBC_CC_FOR_TARGET ?= $(LINUX_TUPLE)-gcc
GLIBC_CXX_FOR_TARGET ?= $(LINUX_TUPLE)-g++
-GLIBC_TARGET_BOARDS ?= $(shell echo "$(GLIBC_MULTILIB_NAMES)" | sed 's@\([a-z0-9]*\)-\([a-z0-9]*\)@riscv-sim/-march=\1/-mabi=\2@g')
+GLIBC_TARGET_BOARDS ?= $(shell echo "$(GLIBC_MULTILIB_NAMES)" | sed 's!\([a-z0-9]*\)-\([a-z0-9]*\)!riscv-sim/-march=\1/-mabi=\2/@cmodel@!g')
NEWLIB_CC_FOR_TARGET ?= $(NEWLIB_TUPLE)-gcc
NEWLIB_CXX_FOR_TARGET ?= $(NEWLIB_TUPLE)-g++
-NEWLIB_TARGET_BOARDS ?= $(shell echo "$(NEWLIB_MULTILIB_NAMES)" | sed 's@\([a-z0-9]*\)-\([a-z0-9]*\)@riscv-sim/-march=\1/-mabi=\2@g')
+NEWLIB_TARGET_BOARDS ?= $(shell echo "$(NEWLIB_MULTILIB_NAMES)" | sed 's!\([a-z0-9]*\)-\([a-z0-9]*\)!riscv-sim/-march=\1/-mabi=\2/@cmodel@!g')
CONFIGURE_HOST = @configure_host@
diff --git a/regression/Makefile b/regression/Makefile
index 33d8521..e3170fc 100644
--- a/regression/Makefile
+++ b/regression/Makefile
@@ -16,6 +16,19 @@ TARGETS += linux-rv32imafdc-ilp32d-medlow
TARGETS += linux-rv64imac-lp64-medlow
TARGETS += linux-rv64imafdc-lp64-medlow
TARGETS += linux-rv64imafdc-lp64d-medlow
+TARGETS += newlib-rv32i-ilp32-medany
+TARGETS += newlib-rv32im-ilp32-medany
+TARGETS += newlib-rv32iac-ilp32-medany
+TARGETS += newlib-rv32imac-ilp32-medany
+TARGETS += newlib-rv32imafc-ilp32f-medany
+TARGETS += newlib-rv64imac-lp64-medany
+TARGETS += newlib-rv64imafdc-lp64d-medany
+TARGETS += linux-rv32imac-ilp32-medany
+TARGETS += linux-rv32imafdc-ilp32-medany
+TARGETS += linux-rv32imafdc-ilp32d-medany
+TARGETS += linux-rv64imac-lp64-medany
+TARGETS += linux-rv64imafdc-lp64-medany
+TARGETS += linux-rv64imafdc-lp64d-medany
# This is the link between the report targets and the actual testsuite
# build/test runs. It's setup with a level of indirection here to make sure