Author: stepan
Date: 2009-03-17 16:15:15 +0100 (Tue, 17 Mar 2009)
New Revision: 4014

Modified:
   trunk/coreboot-v2/src/arch/ppc/init/ldscript.lb
   trunk/coreboot-v2/src/config/coreboot_ram.ld
Log:
Don't know if this is the correct fix, but it fixes compilation of the PPC
targets.

Signed-off-by: Stefan Reinauer <[email protected]>
Acked-by: Stefan Reinauer <[email protected]>



Modified: trunk/coreboot-v2/src/arch/ppc/init/ldscript.lb
===================================================================
--- trunk/coreboot-v2/src/arch/ppc/init/ldscript.lb     2009-03-17 14:39:36 UTC 
(rev 4013)
+++ trunk/coreboot-v2/src/arch/ppc/init/ldscript.lb     2009-03-17 15:15:15 UTC 
(rev 4014)
@@ -79,6 +79,18 @@
                _eram = . ;
        }
 
+       .sdata : {
+               _SDA_BASE_ = .;
+               *(.sdata)
+       }
+
+       .sdata2 : {
+               _SDA2_BASE_ = .;
+               *(.sdata2)
+       }
+
+
+
        /*
         * Absolute location of where coreboot will be relocated in RAM.
         */

Modified: trunk/coreboot-v2/src/config/coreboot_ram.ld
===================================================================
--- trunk/coreboot-v2/src/config/coreboot_ram.ld        2009-03-17 14:39:36 UTC 
(rev 4013)
+++ trunk/coreboot-v2/src/config/coreboot_ram.ld        2009-03-17 15:15:15 UTC 
(rev 4014)
@@ -75,6 +75,17 @@
                *(.data)
                _edata = .;
        }
+
+       .sdata : {
+               _SDA_BASE_ = .;
+               *(.sdata)
+       }
+
+       .sdata2 : {
+               _SDA2_BASE_ = .;
+               *(.sdata2)
+       }
+
        /*
         * bss does not contain data, it is just a space that should be zero
         * initialized on startup. (typically uninitialized global variables)


-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to