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-r99376.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-r99376.patch')
-rw-r--r-- | recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99376.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99376.patch b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99376.patch new file mode 100644 index 0000000000..5e402a753e --- /dev/null +++ b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99376.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | 2010-08-26 Paul Brook <paul@codesourcery.com> | ||
2 | |||
3 | Merge from Sourcery G++ 4.3/4.4: | ||
4 | 2007-03-30 Paul Brook <paul@codesourcery.com> | ||
5 | gcc/ | ||
6 | * calls.c (store_one_arg): Check alignment of mode used for save. | ||
7 | |||
8 | 2010-08-26 Maciej Rozycki <macro@codesourcery.com> | ||
9 | |||
10 | Merge from Sourcery G++ 4.4: | ||
11 | |||
12 | === modified file 'gcc/calls.c' | ||
13 | --- old/gcc/calls.c 2010-08-13 10:50:45 +0000 | ||
14 | +++ new/gcc/calls.c 2010-08-26 15:44:20 +0000 | ||
15 | @@ -4048,8 +4048,17 @@ | ||
16 | /* We need to make a save area. */ | ||
17 | unsigned int size = arg->locate.size.constant * BITS_PER_UNIT; | ||
18 | enum machine_mode save_mode = mode_for_size (size, MODE_INT, 1); | ||
19 | - rtx adr = memory_address (save_mode, XEXP (arg->stack_slot, 0)); | ||
20 | - rtx stack_area = gen_rtx_MEM (save_mode, adr); | ||
21 | + rtx adr; | ||
22 | + rtx stack_area; | ||
23 | + | ||
24 | + /* We can only use save_mode if the arg is sufficiently | ||
25 | + aligned. */ | ||
26 | + if (STRICT_ALIGNMENT | ||
27 | + && GET_MODE_ALIGNMENT (save_mode) > arg->locate.boundary) | ||
28 | + save_mode = BLKmode; | ||
29 | + | ||
30 | + adr = memory_address (save_mode, XEXP (arg->stack_slot, 0)); | ||
31 | + stack_area = gen_rtx_MEM (save_mode, adr); | ||
32 | |||
33 | if (save_mode == BLKmode) | ||
34 | { | ||
35 | |||