Re: [kvm-unit-tests PATCH v1 1/6] s390x: initial infrastructure

Christian Borntraeger
2017-05-15T09:19:16Z

Nice to see somebody doing this for s390x.

On 05/12/2017 12:58 PM, David Hildenbrand wrote:
[...]

> diff --git a/s390x/Makefile b/s390x/Makefile
> new file mode 100644
> index 0000000..f9468bb
> --- /dev/null
> +++ b/s390x/Makefile
> @@ -0,0 +1,32 @@
> +all: test_cases
> +
> +test_cases: $(tests)
> +
> +CFLAGS += -std=gnu99
> +CFLAGS += -ffreestanding
> +CFLAGS += -Wextra
> +CFLAGS += -I lib
> +CFLAGS += -O2
> +CFLAGS += -msoft-float

If you enable the AFP register control bit in your startup code, you can probably
avoid the soft-float thing.