generic-poky/meta/recipes-devtools/binutils/binutils-2.23.1
Zhenhua Luo d350bb8489 binutils: fix ineffectual zero of cache and array bounds issue
binutils build fails on Fedora18+:
1. binutils-2.23.1/bfd/elf32-xtensa.c:6078:36: error: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess]
       memset (sec_cache, 0, sizeof (sec_cache));
                                    ^
2. binutils-2.23.1/bfd/elf32-xtensa.c:6120:32: error: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess]
   memset (sec_cache, 0, sizeof (sec_cache));
                                ^
3. binutils-2.23.1/opcodes/arc-dis.c:430:13: error: argument to 'sizeof' in '__builtin_strncat' call is the same expression as the destination; did you mean to provide an explicit length? [-Werror=sizeof-pointer-memaccess]
       sizeof (state->commentBuffer));
              ^
4. binutils-2.23.1/opcodes/rl78-dis.c:230:13: error: array subscript is above array bounds [-Werror=array-bounds]
      if (oper->use_es && indirect_type (oper->type))
              ^

(From OE-Core rev: 5445e12e5a32cc5c51ce8a29f2800692ed831115)

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-15 01:53:04 +00:00
..
backport binutils: fix ineffectual zero of cache and array bounds issue 2013-03-15 01:53:04 +00:00
binutils-armv5e.patch binutils-2.23.1: Add recipes 2012-12-06 12:31:00 +00:00
binutils-fix-over-array-bounds-issue.patch binutils: fix ineffectual zero of cache and array bounds issue 2013-03-15 01:53:04 +00:00
binutils-poison.patch binutils-2.23.1: Add recipes 2012-12-06 12:31:00 +00:00
binutils-uclibc-100-uclibc-conf.patch binutils-2.23.1: Add recipes 2012-12-06 12:31:00 +00:00
binutils-uclibc-300-001_ld_makefile_patch.patch binutils-2.23.1: Add recipes 2012-12-06 12:31:00 +00:00
binutils-uclibc-300-006_better_file_error.patch binutils-2.23.1: Add recipes 2012-12-06 12:31:00 +00:00
binutils-uclibc-300-012_check_ldrunpath_length.patch binutils-2.23.1: Add recipes 2012-12-06 12:31:00 +00:00
binutils-uclibc-gas-needs-libm.patch binutils-2.23.1: Add recipes 2012-12-06 12:31:00 +00:00
binutils-x86_64_i386_biarch.patch binutils-2.23.1: Add recipes 2012-12-06 12:31:00 +00:00
libiberty_path_fix.patch binutils-2.23.1: Add recipes 2012-12-06 12:31:00 +00:00
libtool-2.4-update.patch binutils-2.23.1: Add recipes 2012-12-06 12:31:00 +00:00
libtool-rpath-fix.patch binutils-2.23.1: Add recipes 2012-12-06 12:31:00 +00:00
mips64-default-ld-emulation.patch binutils-2.23.1: Add recipes 2012-12-06 12:31:00 +00:00
relocatable_sdk.patch binutils-2.23.1: Add recipes 2012-12-06 12:31:00 +00:00