linux-yocto/3.2/3.4: arm: Fix linking errors with binutils 2.23
authorBruce Ashfield <bruce.ashfield@windriver.com>
Tue, 4 Sep 2012 12:40:37 +0000 (08:40 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 4 Sep 2012 13:46:18 +0000 (14:46 +0100)
commitc8fdb41181178dc3f73e4e0dfffa6afe40333ba0
treecb289f81c462e2191d14f154ddec6c1b9edcff62
parent283d41f2742ea095421e3f6ed41efd1881b3796e
linux-yocto/3.2/3.4: arm: Fix linking errors with binutils 2.23

Updating the 3.2/3.4 linux-yocto SRCREVs to pickup the following fix:

    arm: Fix linking errors with binutils 2.23

    We end up with linking errors on arm using latest binutils
    because we are linking asm generated objects which use -march=all
    generating different attributes into object and use some c objects
    e.g. misc.o which use different march therefore generating a
    different set of attributes into object. When linking is done
    the ld complains since it finds incompatible attributes and ends
    up with errors like

    error: DIV usage mismatch between arch/arm/boot/compressed/head.o and
    output
    error: DIV usage mismatch between arch/arm/boot/compressed/misc.o and
    output
    error: DIV usage mismatch between arch/arm/boot/compressed/decompress.o
    and output
    error: DIV usage mismatch between arch/arm/boot/compressed/lib1funcs.o
    and output

    This patch fixes it by providing correct march to assembly routines
    which than matches with output of ld.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(From OE-Core rev: e67ffb708522a622d149641ea09b249259ed3fb4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/linux/linux-yocto-rt_3.2.bb
meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb
meta/recipes-kernel/linux/linux-yocto-tiny_3.2.bb
meta/recipes-kernel/linux/linux-yocto_3.2.bb
meta/recipes-kernel/linux/linux-yocto_3.4.bb