From 48644ee4abfb96f7243559a4d438ec3ee4a4fb2f Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 19 Nov 2015 11:56:56 +0100 Subject: python 2.7.3 bbappend: drop OE-core has dropped 2.7.3 a while ago and no bugreports came in, so drop this bbappend. Change-Id: I9cca1a40043c572d564cb6f621912369dff57e22 --- .../python/python/python_ffi_armeb_be8.patch | 34 ---------------------- .../recipes-devtools/python/python_2.7.3.bbappend | 3 -- 2 files changed, 37 deletions(-) delete mode 100644 meta-bigendian/recipes-devtools/python/python/python_ffi_armeb_be8.patch delete mode 100644 meta-bigendian/recipes-devtools/python/python_2.7.3.bbappend (limited to 'meta-bigendian') diff --git a/meta-bigendian/recipes-devtools/python/python/python_ffi_armeb_be8.patch b/meta-bigendian/recipes-devtools/python/python/python_ffi_armeb_be8.patch deleted file mode 100644 index afd090b5..00000000 --- a/meta-bigendian/recipes-devtools/python/python/python_ffi_armeb_be8.patch +++ /dev/null @@ -1,34 +0,0 @@ -Index: Python-2.7.3/Modules/_ctypes/libffi/src/arm/ffi.c -=================================================================== ---- Python-2.7.3.orig/Modules/_ctypes/libffi/src/arm/ffi.c -+++ Python-2.7.3/Modules/_ctypes/libffi/src/arm/ffi.c -@@ -272,7 +272,7 @@ ffi_prep_incoming_args_SYSV(char *stack, - } - - /* How to make a trampoline. */ -- -+#if !(defined(__ARMEB__) && defined(__ARM_ARCH_7A__)) - #define FFI_INIT_TRAMPOLINE(TRAMP,FUN,CTX) \ - ({ unsigned char *__tramp = (unsigned char*)(TRAMP); \ - unsigned int __fun = (unsigned int)(FUN); \ -@@ -284,7 +284,19 @@ ffi_prep_incoming_args_SYSV(char *stack, - *(unsigned int*) &__tramp[16] = __fun; \ - __clear_cache((&__tramp[0]), (&__tramp[19])); \ - }) -- -+#else /* armv7 big endian: be8 instructions are still little endian */ -+#define FFI_INIT_TRAMPOLINE(TRAMP,FUN,CTX) \ -+({ unsigned char *__tramp = (unsigned char*)(TRAMP); \ -+ unsigned int __fun = (unsigned int)(FUN); \ -+ unsigned int __ctx = (unsigned int)(CTX); \ -+ *(unsigned int*) &__tramp[0] = 0x0f002de9; /* swab(0xe92d000f, 4) - stmfd sp!, {r0-r3} */ \ -+ *(unsigned int*) &__tramp[4] = 0x00009fe5; /* swab(0xe59f0000, 4) - ldr r0, [pc] */ \ -+ *(unsigned int*) &__tramp[8] = 0x00f09fe5; /* swab(0xe59ff000, 4) - ldr pc, [pc] */ \ -+ *(unsigned int*) &__tramp[12] = __ctx; \ -+ *(unsigned int*) &__tramp[16] = __fun; \ -+ __clear_cache((&__tramp[0]), (&__tramp[19])); \ -+ }) -+#endif - - /* the cif must already be prep'ed */ - diff --git a/meta-bigendian/recipes-devtools/python/python_2.7.3.bbappend b/meta-bigendian/recipes-devtools/python/python_2.7.3.bbappend deleted file mode 100644 index db79a4a7..00000000 --- a/meta-bigendian/recipes-devtools/python/python_2.7.3.bbappend +++ /dev/null @@ -1,3 +0,0 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" - -SRC_URI += "file://python_ffi_armeb_be8.patch" -- cgit v1.2.3