]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
binutils: backport patch to fix build with gcc-4.9 obi/denzil
authorMartin Jansa <martin.jansa@gmail.com>
Fri, 10 Apr 2015 11:34:29 +0000 (13:34 +0200)
committerAndreas Oberritter <obi@opendreambox.org>
Mon, 22 Jun 2015 10:49:06 +0000 (12:49 +0200)
commite2c05a0595db0e1913b2c26be79846b43d7a9e3b
treeedbf10ba4b8da633ca5a7f8910467417d3b7e1e9
parent4378a28c3a26b8b537c37d14c1489d5a2c6afaae
binutils: backport patch to fix build with gcc-4.9

* backported from 2.23.2, fixes:
work/x86_64-linux/binutils-native/2.23.1-r3/binutils-2.23.1/gas/write.c:409:24:
  error: 'dummy.fr_type' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   gas_assert (prev_frag->fr_type != 0);
                        ^
work/x86_64-linux/binutils-native/2.23.1-r3/binutils-2.23.1/gas/write.c:392:9: note: 'dummy' was declared here
   fragS dummy, *prev_frag = &dummy;
         ^

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8c5396bd3b7f1eef3d53ebf0404189fd75f1d5e1)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
meta/recipes-devtools/binutils/binutils/0001-write.c-chain_frchains_together_1-Reorder-assertion-.patch [new file with mode: 0644]
meta/recipes-devtools/binutils/binutils_2.22.bb