summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99414.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2010-11-02 22:03:58 +0100
committerKoen Kooi <koen@dominion.thruhere.net>2010-11-02 22:12:02 +0100
commitbe10a6b1321f250b1034c7d9d0a8ef18b296eef1 (patch)
tree9249025cbfbfbee4cc430d62b27f75301dd4dfde /recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99414.patch
parent93b28937ac67ba46d65f55637e42552e224aa7e2 (diff)
downloadmeta-openembedded-be10a6b1321f250b1034c7d9d0a8ef18b296eef1.tar.gz
angstrom-layers: meta-openembedded: replace poky gcc 4.5 sources with OE ones
This needs further investigation, but for now we can get the tested sources into the poky gcc harness Signed-off-by: Koen Kooi <k-kooi@ti.com>
Diffstat (limited to 'recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99414.patch')
-rw-r--r--recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99414.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99414.patch b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99414.patch
new file mode 100644
index 0000000000..648ea5fa5e
--- /dev/null
+++ b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99414.patch
@@ -0,0 +1,36 @@
12010-10-15 Yao Qi <yao@codesourcery.com>
2
3 Backport from mainline:
4
5 2010-10-14 Yao Qi <yao@codesourcery.com>
6
7 gcc/
8 PR target/45447
9 * config/arm/arm.c (arm_build_builtin_va_list): Assign
10 va_list_name to TYPE_STUB_DECL (va_list_type).
11
12 gcc/testsuite/
13 PR target/45447
14 * gcc.target/arm/pr45447.c: New test.
15
16=== modified file 'gcc/config/arm/arm.c'
17Index: gcc-4.5/gcc/config/arm/arm.c
18===================================================================
19--- gcc-4.5.orig/gcc/config/arm/arm.c
20+++ gcc-4.5/gcc/config/arm/arm.c
21@@ -1166,6 +1166,7 @@ arm_build_builtin_va_list (void)
22 va_list_type);
23 DECL_ARTIFICIAL (va_list_name) = 1;
24 TYPE_NAME (va_list_type) = va_list_name;
25+ TYPE_STUB_DECL (va_list_type) = va_list_name;
26 /* Create the __ap field. */
27 ap_field = build_decl (BUILTINS_LOCATION,
28 FIELD_DECL,
29Index: gcc-4.5/gcc/testsuite/gcc.target/arm/pr45447.c
30===================================================================
31--- /dev/null
32+++ gcc-4.5/gcc/testsuite/gcc.target/arm/pr45447.c
33@@ -0,0 +1,3 @@
34+/* { dg-do compile } */
35+/* { dg-options "-g -femit-struct-debug-baseonly" } */
36+typedef __builtin_va_list x;