diff options
Diffstat (limited to 'toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99367.patch')
-rw-r--r-- | toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99367.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99367.patch b/toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99367.patch deleted file mode 100644 index 2d572b1bb0..0000000000 --- a/toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99367.patch +++ /dev/null @@ -1,49 +0,0 @@ -2010-08-18 Jie Zhang <jie@codesourcery.com> - - Backport from mainline: - - gcc/testsuite/ - 2010-08-18 Jie Zhang <jie@codesourcery.com> - * gcc.dg/builtin-apply2.c (STACK_ARGUMENTS_SIZE): Define to - 20 if __ARM_PCS is defined otherwise 64. - (bar): Use STACK_ARGUMENTS_SIZE for the third argument - instead of hard coded 64. - - 2010-08-13 Jie Zhang <jie@codesourcery.com> - - Backport from mainline: - -=== modified file 'gcc/testsuite/gcc.dg/builtin-apply2.c' ---- old/gcc/testsuite/gcc.dg/builtin-apply2.c 2009-08-06 13:27:45 +0000 -+++ new/gcc/testsuite/gcc.dg/builtin-apply2.c 2010-08-23 13:59:02 +0000 -@@ -8,10 +8,19 @@ - /* Verify that __builtin_apply behaves correctly on targets - with pre-pushed arguments (e.g. SPARC). */ - -- -+ - - #define INTEGER_ARG 5 - -+#ifdef __ARM_PCS -+/* For Base AAPCS, NAME is passed in r0. D is passed in r2 and r3. -+ E, F and G are passed on stack. So the size of the stack argument -+ data is 20. */ -+#define STACK_ARGUMENTS_SIZE 20 -+#else -+#define STACK_ARGUMENTS_SIZE 64 -+#endif -+ - extern void abort(void); - - void foo(char *name, double d, double e, double f, int g) -@@ -22,7 +31,7 @@ - - void bar(char *name, ...) - { -- __builtin_apply(foo, __builtin_apply_args(), 64); -+ __builtin_apply(foo, __builtin_apply_args(), STACK_ARGUMENTS_SIZE); - } - - int main(void) - |