diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-04-06 14:58:23 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-04-06 14:58:23 +0000 |
commit | 68788e23b6add4661302b570bd249f086e8c46c6 (patch) | |
tree | 9ea72d957cb8cb9b0336c0d243472e9112cc7185 /dev-libs/libffi/files | |
parent | Version bump. (diff) | |
download | gentoo-2-68788e23b6add4661302b570bd249f086e8c46c6.tar.gz gentoo-2-68788e23b6add4661302b570bd249f086e8c46c6.tar.bz2 gentoo-2-68788e23b6add4661302b570bd249f086e8c46c6.zip |
old
(Portage version: 2.2.0_alpha99/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libffi/files')
-rw-r--r-- | dev-libs/libffi/files/libffi-3.0.11_rc2-fix-ppc64-compile.patch | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/dev-libs/libffi/files/libffi-3.0.11_rc2-fix-ppc64-compile.patch b/dev-libs/libffi/files/libffi-3.0.11_rc2-fix-ppc64-compile.patch deleted file mode 100644 index 6f02fec6754e..000000000000 --- a/dev-libs/libffi/files/libffi-3.0.11_rc2-fix-ppc64-compile.patch +++ /dev/null @@ -1,52 +0,0 @@ -http://sourceware.org/ml/libffi-discuss/2012/msg00100.html - ---- src/powerpc/ffi.c -+++ src/powerpc/ffi.c -@@ -146,6 +146,7 @@ - gpr_base.u = stacktop.u - ASM_NEEDS_REGISTERS - NUM_GPR_ARG_REGISTERS; - intarg_count = 0; - #ifndef __NO_FPRS__ -+ double double_tmp; - fpr_base.d = gpr_base.d - NUM_FPR_ARG_REGISTERS; - fparg_count = 0; - copy_space.c = ((flags & FLAG_FP_ARGUMENTS) ? fpr_base.c : gpr_base.c); -@@ -155,9 +156,9 @@ - next_arg.u = stack + 2; - - /* Check that everything starts aligned properly. */ -- FFI_ASSERT (((unsigned) (char *) stack & 0xF) == 0); -- FFI_ASSERT (((unsigned) copy_space.c & 0xF) == 0); -- FFI_ASSERT (((unsigned) stacktop.c & 0xF) == 0); -+ FFI_ASSERT (((unsigned long) (char *) stack & 0xF) == 0); -+ FFI_ASSERT (((unsigned long) copy_space.c & 0xF) == 0); -+ FFI_ASSERT (((unsigned long) stacktop.c & 0xF) == 0); - FFI_ASSERT ((bytes & 0xF) == 0); - FFI_ASSERT (copy_space.c >= next_arg.c); - -@@ -211,8 +212,6 @@ - - case FFI_TYPE_DOUBLE: - /* With FFI_LINUX_SOFT_FLOAT doubles are handled like UINT64. */ -- if (ecif->cif->abi == FFI_LINUX_SOFT_FLOAT) -- goto soft_double_prep; - double_tmp = **p_argv.d; - - if (fparg_count >= NUM_FPR_ARG_REGISTERS) -@@ -925,7 +924,7 @@ - */ - unsigned int smst_buffer[2]; - extended_cif ecif; -- unsigned int rsize; -+ unsigned int rsize = 0; - - ecif.cif = cif; - ecif.avalue = avalue; -@@ -1132,7 +1131,7 @@ - - if (nf < 8) - { -- temp = pfr->d; -+ double temp = pfr->d; - pfr->f = (float) temp; - avalue[i] = pfr; - nf++; |