]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR libffi/45677 (Bad stack allocation for ffi function calls on x86-64)
authorJakub Jelinek <jakub@redhat.com>
Fri, 1 Oct 2010 12:45:25 +0000 (14:45 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 1 Oct 2010 12:45:25 +0000 (14:45 +0200)
commit1e1677391f61717372da6b616fa64966789b257b
tree01fd973aa1fa0ba5bcb76567908704089f000611
parentdce08698ed9173168d92966b92dde3f8368103f8
re PR libffi/45677 (Bad stack allocation for ffi function calls on x86-64)

PR libffi/45677
* src/x86/ffi64.c (ffi_prep_cif_machdep): Ensure cif->bytes is
a multiple of 8.
* testsuite/libffi.call/many2.c: New test.

From-SVN: r164882
libffi/ChangeLog
libffi/src/x86/ffi64.c
libffi/testsuite/libffi.call/many2.c [new file with mode: 0644]