summaryrefslogtreecommitdiff
path: root/libffi
diff options
context:
space:
mode:
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-20 04:25:32 +0000
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-20 04:25:32 +0000
commit51c5f96c4ee42b8a974dafbf263b4a0d1f80937f (patch)
tree2640064b00ac3ecdf51f97da81250a9b16dd6911 /libffi
parent53d477ba89540eca97e2f3a7275c5c7fbc8d0c0f (diff)
downloadgcc-51c5f96c4ee42b8a974dafbf263b4a0d1f80937f.tar.gz
2003-10-19 Andreas Tobler <a.tobler@schweiz.ch>
* src/powerpc/ffi_darwin.c (ffi_prep_args): Declare bytes again. Used when FFI_DEBUG = 1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72691 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi')
-rw-r--r--libffi/ChangeLog5
-rw-r--r--libffi/src/powerpc/ffi_darwin.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog
index abf31898739..627a5f81711 100644
--- a/libffi/ChangeLog
+++ b/libffi/ChangeLog
@@ -1,3 +1,8 @@
+2003-10-19 Andreas Tobler <a.tobler@schweiz.ch>
+
+ * src/powerpc/ffi_darwin.c (ffi_prep_args): Declare bytes again.
+ Used when FFI_DEBUG = 1.
+
2003-10-14 Alan Modra <amodra@bigpond.net.au>
* src/types.c (double, longdouble): Default POWERPC64 to 8 byte size
diff --git a/libffi/src/powerpc/ffi_darwin.c b/libffi/src/powerpc/ffi_darwin.c
index 73653cd43c6..aafe1aa704e 100644
--- a/libffi/src/powerpc/ffi_darwin.c
+++ b/libffi/src/powerpc/ffi_darwin.c
@@ -81,6 +81,7 @@ enum { ASM_NEEDS_REGISTERS = 4 };
void ffi_prep_args(extended_cif *ecif, unsigned *const stack)
/*@=exportheader@*/
{
+ const unsigned bytes = ecif->cif->bytes;
const unsigned flags = ecif->cif->flags;
/* 'stacktop' points at the previous backchain pointer. */