applied 1202_ldscript.diff from issue 45. This fixes images smaller than 64k
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2126 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
4bd0de0b2e
commit
bd25fe979b
|
@ -43,7 +43,8 @@ SECTIONS
|
|||
_eram = . ;
|
||||
}
|
||||
|
||||
. = _ROMBASE + ROM_IMAGE_SIZE - 0x10000;
|
||||
_x = .;
|
||||
. = (_x < (_ROMBASE - 0x10000 + ROM_IMAGE_SIZE)) ? (_ROMBASE - 0x10000 + ROM_IMAGE_SIZE) : _x;
|
||||
|
||||
/* This section might be better named .setup */
|
||||
.rom . : {
|
||||
|
|
Loading…
Reference in New Issue