summaryrefslogtreecommitdiff
path: root/src/arch/ppc
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-03-17 15:15:15 +0000
committerStefan Reinauer <stepan@openbios.org>2009-03-17 15:15:15 +0000
commitb743885b43cf735a54da6ac1eddcf81c84f28522 (patch)
treed6804c0d8b2f5a9264120e3ac1c0ffcfa8399b8c /src/arch/ppc
parent764fe40f098d010d8d41a549a2560be3b0814d42 (diff)
Don't know if this is the correct fix, but it fixes compilation of the PPC
targets. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4014 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch/ppc')
-rw-r--r--src/arch/ppc/init/ldscript.lb12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/arch/ppc/init/ldscript.lb b/src/arch/ppc/init/ldscript.lb
index 4c48087237..a81d9b9bb8 100644
--- a/src/arch/ppc/init/ldscript.lb
+++ b/src/arch/ppc/init/ldscript.lb
@@ -79,6 +79,18 @@ SECTIONS
_eram = . ;
}
+ .sdata : {
+ _SDA_BASE_ = .;
+ *(.sdata)
+ }
+
+ .sdata2 : {
+ _SDA2_BASE_ = .;
+ *(.sdata2)
+ }
+
+
+
/*
* Absolute location of where coreboot will be relocated in RAM.
*/