diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2012-03-23 08:22:26 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-03-24 07:35:22 +0100 |
commit | ff0f815593c33f1a82ba4d1cbe41e6b987da1f47 (patch) | |
tree | 22b43fa2e84f25cc948df79f9e9de07e8ec57418 /toolchain-layer/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106870.patch | |
parent | 6b22bd198a87b5f113971d8fcd0e7211cd143c7d (diff) | |
download | meta-openembedded-ff0f815593c33f1a82ba4d1cbe41e6b987da1f47.tar.gz |
toolchain-layer: move binutils and gcc from meta-oe into here
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Eric Bénard <eric@eukrea.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'toolchain-layer/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106870.patch')
-rw-r--r-- | toolchain-layer/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106870.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/toolchain-layer/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106870.patch b/toolchain-layer/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106870.patch new file mode 100644 index 0000000000..1a5448403e --- /dev/null +++ b/toolchain-layer/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106870.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | 2012-02-20 Andrew Stubbs <ams@codesourcery.com> | ||
2 | |||
3 | gcc/ | ||
4 | * config/arm/arm.c (arm_print_operand): Avoid null-pointer | ||
5 | dereference from MEM_SIZE. | ||
6 | |||
7 | === modified file 'gcc/config/arm/arm.c' | ||
8 | --- old/gcc/config/arm/arm.c 2012-02-09 00:47:59 +0000 | ||
9 | +++ new/gcc/config/arm/arm.c 2012-02-20 15:32:26 +0000 | ||
10 | @@ -17446,6 +17446,7 @@ | ||
11 | rtx addr; | ||
12 | bool postinc = FALSE; | ||
13 | unsigned align, memsize, align_bits; | ||
14 | + rtx memsize_rtx; | ||
15 | |||
16 | gcc_assert (GET_CODE (x) == MEM); | ||
17 | addr = XEXP (x, 0); | ||
18 | @@ -17460,7 +17461,8 @@ | ||
19 | instruction (for some alignments) as an aid to the memory subsystem | ||
20 | of the target. */ | ||
21 | align = MEM_ALIGN (x) >> 3; | ||
22 | - memsize = INTVAL (MEM_SIZE (x)); | ||
23 | + memsize_rtx = MEM_SIZE (x); | ||
24 | + memsize = memsize_rtx ? INTVAL (memsize_rtx) : 0; | ||
25 | |||
26 | /* Only certain alignment specifiers are supported by the hardware. */ | ||
27 | if (memsize == 16 && (align % 32) == 0) | ||
28 | |||