]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
The cmpxchg16b tests in this need to have 16-aligned addresses;
authorJulian Seward <jseward@acm.org>
Sun, 24 Jul 2011 21:41:41 +0000 (21:41 +0000)
committerJulian Seward <jseward@acm.org>
Sun, 24 Jul 2011 21:41:41 +0000 (21:41 +0000)
make it so.  Else they die with segfaults on F15.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11912

none/tests/amd64/bug127521-64.c

index fefc9815cf29732c27cdfa70bac26f5d917beed8..97bcc15e29bdd9a3fad7ddcb65fa0ae5324907d0 100644 (file)
@@ -66,7 +66,7 @@ void do_cmpxchg16b ( /*OUT*/
                      ULong memHiIn, ULong memLoIn,
                      ULong rcxIn,   ULong rbxIn )
 {
-   ULong mem[2];
+   ULong mem[2] __attribute__((aligned(16)));
    ULong block[6];
    mem[0] = memLoIn;
    mem[1] = memHiIn;