summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2016-05-20 15:17:17 -0700
committerDuncan Laurie <dlaurie@google.com>2016-05-21 06:04:32 +0200
commitf6b1039f86fb0a8543efbed6e2060bb85688d5cd (patch)
treed733d9f4bc08a050e330a3567874a79bd155dbde
parent2e63c2a566a143b31777fb2ead6a2c8d5b76ebeb (diff)
downloadcoreboot-f6b1039f86fb0a8543efbed6e2060bb85688d5cd.tar.xz
program.ld: Don't exclude sbe region from verstage
This fixes compilation of coreboot on Glados Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> BRANCH=none TEST=emerge-glados coreboot works again BUG=none Change-Id: Ibaae68192a3dc070c6ecf79223da4a1e1f18b352 Reviewed-on: https://chromium-review.googlesource.com/346198 Reviewed-by: Stefan Reinauer <reinauer@google.com> Commit-Queue: Stefan Reinauer <reinauer@google.com> Tested-by: Stefan Reinauer <reinauer@google.com> Reviewed-by: Luigi Semenzato <semenzato@chromium.org> (cherry picked from commit d7c2c72698e81b1410f9839c77be2e77b8ed83d6) Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://review.coreboot.org/14930 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: Duncan Laurie <dlaurie@google.com>
-rw-r--r--src/lib/program.ld2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/program.ld b/src/lib/program.ld
index 993037f8a9..77adb3ced8 100644
--- a/src/lib/program.ld
+++ b/src/lib/program.ld
@@ -43,12 +43,12 @@
_cbmem_init_hooks = .;
KEEP(*(.rodata.cbmem_init_hooks));
_ecbmem_init_hooks = .;
+#endif
. = ALIGN(ARCH_POINTER_ALIGN_SIZE);
_rsbe_init_begin = .;
KEEP(*(.rsbe_init));
_ersbe_init_begin = .;
-#endif
#if ENV_RAMSTAGE
. = ALIGN(ARCH_POINTER_ALIGN_SIZE);