[coreboot-gerrit] Patch merged into coreboot/master: 001056f ARM: Tell the linker memset and memcpy are functions.

gerrit at coreboot.org gerrit at coreboot.org
Wed Jul 10 21:49:46 CEST 2013


the following patch was just integrated into master:
commit 001056f560dfec46aa98659f318819cce7098e5b
Author: Gabe Black <gabeblack at google.com>
Date:   Fri Jun 14 15:53:23 2013 -0700

    ARM: Tell the linker memset and memcpy are functions.
    
    The memset and memcpy functions are assembled as ARM code, likely because
    that's the default of the assembler. Without special annotation, the assembler
    and linker don't know that those symbols are functions which need special
    handling so that ARM/thumb issues are handled properly. This change adds that
    annotation which gets those functions working in Coreboot which is compiled as
    thumb. Libpayload and depthcharge are compiled as ARM so they don't *need* the
    annotation since it just works out in ARM mode, but it's the safe thing to do
    in case we change that in the future.
    
    We should explicitly select ARM vs. thumb when assembling assembly files to be
    consistent across builds and toolchains.
    
    Change-Id: I814b137064cf46ae9e2744ff6c223b695dc1ef01
    Signed-off-by: Gabe Black <gabeblack at chromium.org>
    Reviewed-on: http://review.coreboot.org/3672
    Tested-by: build bot (Jenkins)
    Reviewed-by: Stefan Reinauer <stefan.reinauer at coreboot.org>


See http://review.coreboot.org/3672 for details.

-gerrit



More information about the coreboot-gerrit mailing list