diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2019-02-18 08:20:35 -0800 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2019-02-28 04:43:22 -0800 |
commit | 306a69dad49e6efb6382371a7f4eaa627ef79fab (patch) | |
tree | 6c305bb45d2dbeb580973ba77e2e8a10f5b1715c | |
parent | 906da882911415b493378ed1f8d7925d1871a02e (diff) |
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 <jcmvbkbc@gmail.com>
-rw-r--r-- | tests/tcg/xtensa/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
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 |