summaryrefslogtreecommitdiff
path: root/payloads/bayou/bayou.ldscript
diff options
context:
space:
mode:
authorUlf Jordan <jordan@chalmers.se>2009-02-10 21:09:03 +0000
committerMyles Watson <mylesgw@gmail.com>2009-02-10 21:09:03 +0000
commit3ba0ce5f58265e95d5b667ab7ec8a3a180bff4d0 (patch)
treed4126cf21a38878853173701f07701546e5ae625 /payloads/bayou/bayou.ldscript
parent94e340b22aa97821333b26dfcd29ac692ffc961e (diff)
downloadcoreboot-3ba0ce5f58265e95d5b667ab7ec8a3a180bff4d0.tar.xz
Fix bayou payload execution.
Bayou must link with its own ldscript to end up at a load address that doesn't interfere with payloads. Make Bayou's ldscript MB compatible, so the link with libpayload/lib/i386/head.o succeeds. Signed-off-by: Ulf Jordan <jordan@chalmers.se> Acked-by: Jordan Crouse <jordan@cosmicpenguin.net> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3934 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/bayou/bayou.ldscript')
-rw-r--r--payloads/bayou/bayou.ldscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/payloads/bayou/bayou.ldscript b/payloads/bayou/bayou.ldscript
index c4123a64cc..86baaecb2e 100644
--- a/payloads/bayou/bayou.ldscript
+++ b/payloads/bayou/bayou.ldscript
@@ -60,6 +60,8 @@ SECTIONS
*(.data.*)
}
+ _edata = .;
+
.bss : {
*(.bss)
*(.bss.*)