mirror of
https://github.com/qemu/qemu.git
synced 2024-11-30 23:33:51 +08:00
tests/tcg/arm: fix up test-arm-iwmmxt test
We need to rename the source file to a .S so we can do a single-line assemble and link invocation. We also specify the additional CFLAGS for the compile as it's a non-standard ARM binary. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> [rth: force fpu configuration] Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
ab4aac5023
commit
65eab0f8cb
@ -8,9 +8,14 @@ ARM_SRC=$(SRC_PATH)/tests/tcg/arm
|
||||
# Set search path for all sources
|
||||
VPATH += $(ARM_SRC)
|
||||
|
||||
TESTS += hello-arm test-arm-iwmmxt
|
||||
|
||||
hello-arm: CFLAGS+=-marm -ffreestanding
|
||||
hello-arm: LDFLAGS+=-nostdlib
|
||||
|
||||
test-arm-iwmmxt: CFLAGS+=-marm -march=iwmmxt -mabi=aapcs -mfpu=fpv4-sp-d16
|
||||
test-arm-iwmmxt: test-arm-iwmmxt.S
|
||||
$(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
|
||||
|
||||
# On ARM Linux only supports 4k pages
|
||||
EXTRA_RUNS+=run-test-mmap-4096
|
||||
|
Loading…
Reference in New Issue
Block a user