diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-13 00:26:31 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-13 00:26:31 +0000 |
commit | 3daca00b0e371733b230ab277d4374bc3eaf3ee8 (patch) | |
tree | fc5783558f47574bee5406df749d92aae7c7e870 /libffi | |
parent | 8626705760446bb97ae5f7c51bbfe258b7a947cc (diff) | |
download | gcc-3daca00b0e371733b230ab277d4374bc3eaf3ee8.tar.gz |
Fix libjava failures on i686-linux
* src/x86/ffi.c (ffi_raw_call): Fill in frame.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219505 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi')
-rw-r--r-- | libffi/ChangeLog | 4 | ||||
-rw-r--r-- | libffi/src/x86/ffi.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog index 741679386a4..2ca6aac7918 100644 --- a/libffi/ChangeLog +++ b/libffi/ChangeLog @@ -1,5 +1,9 @@ 2015-01-12 Richard Henderson <rth@redhat.com> + * src/x86/ffi.c (ffi_raw_call): Fill in frame. + +2015-01-12 Richard Henderson <rth@redhat.com> + Merge to upstream commit c82cc159426d8d4402375fa1ae3f045b9cf82e16. 2014-11-21 H.J. Lu <hongjiu.lu@intel.com> diff --git a/libffi/src/x86/ffi.c b/libffi/src/x86/ffi.c index 3885e399501..feb5cbbb4ac 100644 --- a/libffi/src/x86/ffi.c +++ b/libffi/src/x86/ffi.c @@ -675,6 +675,10 @@ ffi_raw_call(ffi_cif *cif, void (*fn)(void), void *rvalue, ffi_raw *avalue) if (rsize) rvalue = frame + 1; + frame->fn = fn; + frame->flags = flags; + frame->rvalue = rvalue; + narg_reg = 0; switch (flags) { |