From: Max Filippov Date: Mon, 18 Feb 2019 16:20:35 +0000 (-0800) Subject: tests/tcg/xtensa: support configs with LITBASE X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=306a69dad49e6efb6382371a7f4eaa627ef79fab;p=qemu.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 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