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
This commit is contained in:
Stefan Reinauer 2009-03-17 15:15:15 +00:00 committed by Stefan Reinauer
parent 764fe40f09
commit b743885b43
2 changed files with 23 additions and 0 deletions

View 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.
*/

View 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)