summaryrefslogtreecommitdiffstats
path: root/tests/tcg/s390x
diff options
context:
space:
mode:
authorRichard Henderson2019-06-10 03:42:49 +0200
committerDavid Hildenbrand2019-06-21 15:26:53 +0200
commit62a31161ee60d6c3c62d36b2bcadcd9de8db51f5 (patch)
tree1db699530db49c81d44e007b74563bb30d15d7ab /tests/tcg/s390x
parentMerge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging (diff)
downloadqemu-62a31161ee60d6c3c62d36b2bcadcd9de8db51f5.tar.gz
qemu-62a31161ee60d6c3c62d36b2bcadcd9de8db51f5.tar.xz
qemu-62a31161ee60d6c3c62d36b2bcadcd9de8db51f5.zip
tests/tcg/s390x: Fix alignment of csst parameter list
The parameter list given in general register 1 shall be aligned on a quadword boundary. This test currently succeeds or fails depending on the compiler version used and the accidential layout of the function's stack frame. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by: David Hildenbrand <david@redhat.com>
Diffstat (limited to 'tests/tcg/s390x')
-rw-r--r--tests/tcg/s390x/csst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tcg/s390x/csst.c b/tests/tcg/s390x/csst.c
index 1dae9071fb..084d80af49 100644
--- a/tests/tcg/s390x/csst.c
+++ b/tests/tcg/s390x/csst.c
@@ -3,7 +3,7 @@
int main(void)
{
- uint64_t parmlist[] = {
+ uint64_t parmlist[] __attribute__((aligned(16))) = {
0xfedcba9876543210ull,
0,
0x7777777777777777ull,