]> code.ossystems Code Review - openembedded-core.git/commit
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:45:37 +0000 (14:45 +0100)
commite67ffb708522a622d149641ea09b249259ed3fb4
tree3e47dacefc03e84a360bc20960d1d9171caa87a2
parent696252de3a8e5c1bdc0e2c8c2c92cdeefd0babe2
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>
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