[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 27/46] tests/tcg/arm: fix up test-arm-iwmmxt
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [Qemu-devel] [PATCH v3 27/46] tests/tcg/arm: fix up test-arm-iwmmxt test |
Date: |
Wed, 25 Apr 2018 00:48:42 -0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
On 04/24/2018 12:23 PM, Alex Bennée wrote:
> 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 <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
> ---
> tests/tcg/arm/Makefile.target | 5 +++++
> tests/tcg/arm/{test-arm-iwmmxt.s => test-arm-iwmmxt.S} | 0
> 2 files changed, 5 insertions(+)
> rename tests/tcg/arm/{test-arm-iwmmxt.s => test-arm-iwmmxt.S} (100%)
>
> diff --git a/tests/tcg/arm/Makefile.target b/tests/tcg/arm/Makefile.target
> index bc6962ecc6..be9d3fb4a1 100644
> --- a/tests/tcg/arm/Makefile.target
> +++ b/tests/tcg/arm/Makefile.target
> @@ -8,6 +8,11 @@ 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
> +test-arm-iwmmxt: test-arm-iwmmxt.S
> + $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
> diff --git a/tests/tcg/arm/test-arm-iwmmxt.s b/tests/tcg/arm/test-arm-iwmmxt.S
> similarity index 100%
> rename from tests/tcg/arm/test-arm-iwmmxt.s
> rename to tests/tcg/arm/test-arm-iwmmxt.S
>
- Re: [Qemu-devel] [PATCH v3 36/46] tests/tcg/alpha: add Alpha specific tests, (continued)
- [Qemu-devel] [PATCH v3 43/46] tests/tcg/Makefile: update to be called from Makefile.target, Alex Bennée, 2018/04/24
- [Qemu-devel] [PATCH v3 37/46] tests/tcg/alpha: fix warnings about write(), Alex Bennée, 2018/04/24
- [Qemu-devel] [PATCH v3 26/46] tests/tcg: move ARM specific tests into subdir, Alex Bennée, 2018/04/24
- [Qemu-devel] [PATCH v3 39/46] tests/tcg: enable building for m68k, Alex Bennée, 2018/04/24
- [Qemu-devel] [PATCH v3 38/46] tests/tcg: enable building for HPPA, Alex Bennée, 2018/04/24
- [Qemu-devel] [PATCH v3 27/46] tests/tcg/arm: fix up test-arm-iwmmxt test, Alex Bennée, 2018/04/24
- Re: [Qemu-devel] [PATCH v3 27/46] tests/tcg/arm: fix up test-arm-iwmmxt test,
Philippe Mathieu-Daudé <=
- [Qemu-devel] [PATCH v3 44/46] Makefile.target: add (clean-)guest-tests targets, Alex Bennée, 2018/04/24
- [Qemu-devel] [PATCH v3 13/46] tests/tcg/multiarch: Build fix for linux-test, Alex Bennée, 2018/04/24
- [Qemu-devel] [PATCH v3 40/46] tests/tcg: enable building for sh4, Alex Bennée, 2018/04/24
- [Qemu-devel] [PATCH v3 18/46] tests/tcg: enable building for i386, Alex Bennée, 2018/04/24
- [Qemu-devel] [PATCH v3 32/46] tests/tcg/mips: include common mips hello-mips, Alex Bennée, 2018/04/24
- Re: [Qemu-devel] [PATCH v3 00/46] fix building of tests/tcg, no-reply, 2018/04/24
- Re: [Qemu-devel] [PATCH v3 00/46] fix building of tests/tcg, Philippe Mathieu-Daudé, 2018/04/24