coreboot-kgpe-d16/src
Aaron Durbin 7aafe5303b 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@chromium.org>
Reviewed-on: http://review.coreboot.org/10138
Tested-by: build bot (Jenkins)
Reviewed-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
2015-05-07 19:52:50 +02:00
..
arch arch/arm64: provide boot_cpu() 2015-05-05 17:49:31 +02:00
console console: rename do_vtxprintf to do_printk_va_list and use it 2015-05-05 17:46:35 +02:00
cpu 3rdparty: move to 3rdparty/blobs 2015-05-05 22:49:18 +02:00
device resource: Adjust memory resources high earlier 2015-05-05 01:26:02 +02:00
drivers kbuild: Use wildcard for driver subdirectories 2015-05-07 19:41:42 +02:00
ec kbuild: automatically include ECs 2015-04-29 18:10:41 +02:00
include cbfs: make cbfs_load_prog_stage_by_offset() public 2015-05-05 17:49:27 +02:00
lib timestamp: fix incremental linking error for !HAVE_MONOTONIC_TIMER 2015-05-07 19:52:50 +02:00
mainboard 3rdparty: move to 3rdparty/blobs 2015-05-05 22:49:18 +02:00
northbridge 3rdparty: move to 3rdparty/blobs 2015-05-05 22:49:18 +02:00
soc imgtec/pistachio: Add comment on the unusual memory layout 2015-05-07 13:53:15 +02:00
southbridge 3rdparty: move to 3rdparty/blobs 2015-05-05 22:49:18 +02:00
superio kconfig: drop intermittend forwarder files 2015-04-07 17:40:28 +02:00
vendorcode vboot2: Replace hard coded 'fallback' prefix with Kconfig variable 2015-05-07 13:53:34 +02:00
Kconfig Kconfig whitespace fixes 2015-04-28 21:14:56 +02:00