From 306a69dad49e6efb6382371a7f4eaa627ef79fab Mon Sep 17 00:00:00 2001 From: Max Filippov Date: Mon, 18 Feb 2019 08:20:35 -0800 Subject: tests/tcg/xtensa: support configs with LITBASE Configurations with LITBASE register may use absolute literals by default. Pass --no-absolute-literals option to assembler to use PC-relative literals instead. Signed-off-by: Max Filippov --- tests/tcg/xtensa/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/tcg/xtensa/Makefile b/tests/tcg/xtensa/Makefile index cd21c20287..b369380937 100644 --- a/tests/tcg/xtensa/Makefile +++ b/tests/tcg/xtensa/Makefile @@ -18,6 +18,7 @@ CC = $(CROSS)gcc AS = $(CROSS)gcc -x assembler-with-cpp LD = $(CROSS)ld +ASFLAGS = -Wa,--no-absolute-literals vectors_ASFLAGS = -mtext-section-literals XTENSA_SRC_PATH = $(SRC_PATH)/tests/tcg/xtensa -- cgit v1.2.3