coreboot-kgpe-d16/src/lib
Stefan Reinauer eec2db4da7 prog_loader: Play nice with gc-sections
With an x86_64-elf toolchain, this code that is unused
outside of ramstage, is causing undefined references.

Help the compiler along a little bit by conditionally compiling
the code in ramstage only.

Change-Id: I75518149b53c24eda4b985b0fef856447e196dec
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: http://review.coreboot.org/10585
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2015-06-26 22:43:46 +02:00
..
Makefile.inc lib: Unify log2() and related functions 2015-06-05 13:18:55 +02:00
assets.c assets: abstract away the firmware assets used for booting 2015-06-02 14:10:08 +02:00
b64_decode.c lib: add base64 decoder 2015-04-22 08:50:54 +02:00
boot_device.c coreboot: introduce boot_device 2015-05-26 22:32:47 +02:00
bootblock.ld Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
bootmem.c Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
bootmode.c Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
cbfs.c assets: abstract away the firmware assets used for booting 2015-06-02 14:10:08 +02:00
cbfs_boot_props.c cbfs: new API and better program loading 2015-06-02 14:09:31 +02:00
cbfs_spi.c cbfs: new API and better program loading 2015-06-02 14:09:31 +02:00
cbmem_common.c cbmem: add indicator to hooks if cbmem is being recovered 2015-06-09 22:03:30 +02:00
cbmem_console.c cbmem: add indicator to hooks if cbmem is being recovered 2015-06-09 22:03:30 +02:00
cbmem_stage_cache.c stage_cache: use cbmem init hooks 2015-06-09 22:06:40 +02:00
compute_ip_checksum.c lib: Fix spelling 2013-07-10 20:17:51 +02:00
coreboot_table.c cbfs: new API and better program loading 2015-06-02 14:09:31 +02:00
debug.c Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
delay.c
edid.c Unify byte order macros and clrsetbits 2015-04-21 08:23:25 +02:00
ext_stage_cache.c stage_cache: use cbmem init hooks 2015-06-09 22:06:40 +02:00
fallback_boot.c lib: Add Kconfig option to enable/disable auto fallback control 2015-03-17 04:22:23 +01:00
fmap.c fmap: new API using region_device 2015-05-26 22:33:53 +02:00
gcc.c Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
gcov-glue.c Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
gcov-io.c Implement GCC code coverage analysis 2013-01-12 19:09:55 +01:00
gcov-io.h lib: Fix spelling 2013-07-10 20:17:51 +02:00
gcov-iov.h Implement GCC code coverage analysis 2013-01-12 19:09:55 +01:00
generic_dump_spd.c misc: Drop print_ implementation from non-romcc boards 2015-01-09 06:12:22 +01:00
generic_sdram.c misc: Drop print_ implementation from non-romcc boards 2015-01-09 06:12:22 +01:00
gpio.c Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
halt.c Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
hardwaremain.c cbfs: new API and better program loading 2015-06-02 14:09:31 +02:00
hexdump.c Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
imd.c imd: don't recover on limit == 0 2015-05-11 22:39:13 +02:00
imd_cbmem.c cbmem: add indicator to hooks if cbmem is being recovered 2015-06-09 22:03:30 +02:00
jpeg.c Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
jpeg.h Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
libgcc.c lib: Unify log2() and related functions 2015-06-05 13:18:55 +02:00
libgcov.c Fix whitespace leaked into tree 2013-09-17 21:04:35 +02:00
lzma.c timestamps: You can never have enough of them! 2015-04-14 09:03:40 +02:00
lzmadecode.c RISCV: get RISCV to build again 2014-12-04 19:17:51 +01:00
lzmadecode.h
malloc.c Remove leftover smi_get_tseg_base 2015-05-29 07:06:37 +02:00
mem_pool.c coreboot: add memory pool infrastructure 2015-05-14 17:27:09 +02:00
memchr.c
memcmp.c
memcpy.c
memmove.c
memrange.c Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
memset.c
mocked_tlcl.c Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
primitive_memtest.c Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
prog_loaders.c prog_loader: Play nice with gc-sections 2015-06-26 22:43:46 +02:00
prog_ops.c Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
ramstage.ld cbmem: Unify CBMEM init tasks with CBMEM_INIT_HOOK() API 2015-06-09 17:22:17 +02:00
ramtest.c misc: Drop print_ implementation from non-romcc boards 2015-01-09 06:12:22 +01:00
reg_script.c Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
region.c regions: add more helpers 2015-05-19 10:36:43 +02:00
rmodule.c assets: abstract away the firmware assets used for booting 2015-06-02 14:10:08 +02:00
rmodule.ld cbmem: Unify CBMEM init tasks with CBMEM_INIT_HOOK() API 2015-06-09 17:22:17 +02:00
romstage.ld cbmem: Unify CBMEM init tasks with CBMEM_INIT_HOOK() API 2015-06-09 17:22:17 +02:00
selfboot.c assets: abstract away the firmware assets used for booting 2015-06-02 14:10:08 +02:00
stack.c arm: Fix checkstack() to use correct stack size 2015-04-14 09:04:04 +02:00
thread.c Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
timer.c Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
timer_queue.c Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
timestamp.c cbmem: add indicator to hooks if cbmem is being recovered 2015-06-09 22:03:30 +02:00
tlcl.c chromeos: vboot2: Add TPM PCR extension support 2015-04-20 17:06:28 +02:00
tlcl_internal.h vboot2: read secdata and nvdata 2015-03-23 19:51:47 +01:00
tlcl_structures.h vboot2: copy tlcl from vboot_reference as a preparation for vboot2 integration 2015-01-27 01:43:57 +01:00
tpm_error_messages.h TPM: Fix whitespace 2015-02-06 00:25:59 +01:00
trace.c Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
version.c build.h: remove variable for the builduser, -hostname and -domain 2015-03-09 17:53:16 +01:00