diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-06-18 01:19:50 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-06-26 22:43:46 +0200 |
commit | eec2db4da7685ad5eccd4fca261fdc8a146ed45d (patch) | |
tree | c73cdbfbf796513dc999b03ae8c1ab0baefcd9b7 /src/arch | |
parent | 3e5bc1feabd58f1d6f37f8b50156778caa00bfea (diff) | |
download | coreboot-eec2db4da7685ad5eccd4fca261fdc8a146ed45d.tar.xz |
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>
Diffstat (limited to 'src/arch')
0 files changed, 0 insertions, 0 deletions