diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2010-11-02 22:03:58 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2010-11-02 22:12:02 +0100 |
commit | be10a6b1321f250b1034c7d9d0a8ef18b296eef1 (patch) | |
tree | 9249025cbfbfbee4cc430d62b27f75301dd4dfde /recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99313.patch | |
parent | 93b28937ac67ba46d65f55637e42552e224aa7e2 (diff) | |
download | meta-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-r99313.patch')
-rw-r--r-- | recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99313.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99313.patch b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99313.patch new file mode 100644 index 0000000000..eadce6ec6c --- /dev/null +++ b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99313.patch | |||
@@ -0,0 +1,37 @@ | |||
1 | 2010-07-15 Yao Qi <yao@codesourcery.com> | ||
2 | |||
3 | Merge from Sourcery G++ 4.4: | ||
4 | |||
5 | 2010-02-25 Maxim Kuvyrkov <maxim@codesourcery.com> | ||
6 | |||
7 | gcc/ | ||
8 | * tree.c (initializer_zerop): Handle STRING_CST. | ||
9 | |||
10 | 2010-07-15 Sandra Loosemore <sandra@codesourcery.com> | ||
11 | |||
12 | Backport from mainline: | ||
13 | |||
14 | === modified file 'gcc/tree.c' | ||
15 | --- old/gcc/tree.c 2010-04-01 15:18:07 +0000 | ||
16 | +++ new/gcc/tree.c 2010-08-02 16:32:37 +0000 | ||
17 | @@ -9335,6 +9335,19 @@ | ||
18 | return true; | ||
19 | } | ||
20 | |||
21 | + case STRING_CST: | ||
22 | + { | ||
23 | + int i; | ||
24 | + | ||
25 | + /* We need to loop through all elements to handle cases like | ||
26 | + "\0" and "\0foobar". */ | ||
27 | + for (i = 0; i < TREE_STRING_LENGTH (init); ++i) | ||
28 | + if (TREE_STRING_POINTER (init)[i] != '\0') | ||
29 | + return false; | ||
30 | + | ||
31 | + return true; | ||
32 | + } | ||
33 | + | ||
34 | default: | ||
35 | return false; | ||
36 | } | ||
37 | |||