[coreboot-gerrit] Patch merged into coreboot/master: 7aafe53 timestamp: fix incremental linking error for !HAVE_MONOTONIC_TIMER

gerrit at coreboot.org gerrit at coreboot.org
Thu May 7 19:52:55 CEST 2015


the following patch was just integrated into master:
commit 7aafe5303b7cdbf4285b32e987d4f71b5615108f
Author: Aaron Durbin <adurbin at chromium.org>
Date:   Thu May 7 11:32:30 2015 -0500

    timestamp: fix incremental linking error for !HAVE_MONOTONIC_TIMER
    
    In linking ramstage a single object file is created before linking
    with the linker script. Though there is a weak timestamp_get() symbol
    in timestamp.c any of its dependent symbols need to be available
    during the incremental link. As not all platforms have
    HAVE_MONOTONIC_TIMER enabled this will create a linking error.
    Fix this by providing a hint to the compiler to remove dead code
    and thus the dependent symbols causing linking errors in the presence
    of !HAVE_MONOTONIC_TIMER.
    
    Change-Id: Ib8a5dca2c12c2edac7605f403ed91b793823c8a3
    Signed-off-by: Aaron Durbin <adurbin at chromium.org>
    Reviewed-on: http://review.coreboot.org/10138
    Tested-by: build bot (Jenkins)
    Reviewed-by: Timothy Pearson <tpearson at raptorengineeringinc.com>
    Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>


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

-gerrit



More information about the coreboot-gerrit mailing list