diff options
author | Khem Raj <raj.khem@gmail.com> | 2013-04-25 20:38:23 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-08 15:41:13 +0100 |
commit | edcae40bf61109a63d43f59147b3de6c51750e14 (patch) | |
tree | 87e3444d2bdf0733e6ea6453a0bb5330030c70bf /meta/recipes-devtools/binutils/binutils-2.23.2/binutils-fix-over-array-bounds-issue.patch | |
parent | 4bf8253af7f5d28e81dd0c5d150712b36b14e741 (diff) | |
download | poky-edcae40bf61109a63d43f59147b3de6c51750e14.tar.gz |
binutils: Upgrade 2.23.1 -> 2.23.2
(From OE-Core rev: 202f46b139ab20079e97cdeb147d59e23bcdfe01)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils-2.23.2/binutils-fix-over-array-bounds-issue.patch')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils-2.23.2/binutils-fix-over-array-bounds-issue.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-fix-over-array-bounds-issue.patch b/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-fix-over-array-bounds-issue.patch new file mode 100644 index 0000000000..aacbfef7d6 --- /dev/null +++ b/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-fix-over-array-bounds-issue.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | binutils build fails on Fedora18+ due to over array bounds issue: | ||
4 | binutils-2.23.1/opcodes/rl78-dis.c:230:13: error: array subscript is above array bounds [-Werror=array-bounds] | ||
5 | if (oper->use_es && indirect_type (oper->type)) | ||
6 | ^ | ||
7 | |||
8 | Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> | ||
9 | |||
10 | --- binutils-2.23.1/opcodes/rl78-dis.c.orig 2013-03-12 22:17:47.664361066 -0500 | ||
11 | +++ binutils-2.23.1/opcodes/rl78-dis.c 2013-03-12 23:39:51.383460914 -0500 | ||
12 | @@ -221,7 +221,7 @@ | ||
13 | |||
14 | case '0': | ||
15 | case '1': | ||
16 | - oper = opcode.op + *s - '0'; | ||
17 | + oper = &opcode.op[*s - '0']; | ||
18 | if (do_bang) | ||
19 | PC ('!'); | ||
20 | |||