From: Max Filippov Date: Mon, 18 Feb 2019 16:20:35 +0000 (-0800) Subject: tests/tcg/xtensa: support configs with LITBASE X-Git-Tag: v4.0.0-rc0~71^2~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=306a69dad49e6efb6382371a7f4eaa627ef79fab;p=thirdparty%2Fqemu.git 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 --- diff --git a/tests/tcg/xtensa/Makefile b/tests/tcg/xtensa/Makefile index cd21c202876..b3693809372 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