Don't know if this is the correct fix, but it fixes compilation of the PPC
authorStefan Reinauer <stepan@coresystems.de>
Tue, 17 Mar 2009 15:15:15 +0000 (15:15 +0000)
committerStefan Reinauer <stepan@openbios.org>
Tue, 17 Mar 2009 15:15:15 +0000 (15:15 +0000)
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

src/arch/ppc/init/ldscript.lb
src/config/coreboot_ram.ld

index 4c48087237707d8a4072600e41eadd3b26c68d2a..a81d9b9bb8c661f718624fdc9ab42efd284f2a93 100644 (file)
@@ -79,6 +79,18 @@ SECTIONS
                _eram = . ;
        }
 
+       .sdata : {
+               _SDA_BASE_ = .;
+               *(.sdata)
+       }
+
+       .sdata2 : {
+               _SDA2_BASE_ = .;
+               *(.sdata2)
+       }
+
+
+
        /*
         * Absolute location of where coreboot will be relocated in RAM.
         */
index 2ee9ba9c55d49f3fe4d43dfc4775afa34a9cbc7a..4b41adb30df9485f707ed8465c93b69d192111c0 100644 (file)
@@ -75,6 +75,17 @@ SECTIONS
                *(.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)