http://git.etherboot.org
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8d0c5f3
)
Calculate _rom_size for the ROM prefix
author
Michael Brown
<mcb30@etherboot.org>
Tue, 6 Jun 2006 15:29:39 +0000
(15:29 +0000)
committer
Michael Brown
<mcb30@etherboot.org>
Tue, 6 Jun 2006 15:29:39 +0000
(15:29 +0000)
src/arch/i386/scripts/i386.lds
patch
|
blob
|
history
diff --git
a/src/arch/i386/scripts/i386.lds
b/src/arch/i386/scripts/i386.lds
index
d43a68f
..
4a984a9
100644
(file)
--- a/
src/arch/i386/scripts/i386.lds
+++ b/
src/arch/i386/scripts/i386.lds
@@
-236,4
+236,5
@@
SECTIONS {
* Values calculated to save code from doing it
*/
_load_size_pgh = ( _load_size / 16 );
* Values calculated to save code from doing it
*/
_load_size_pgh = ( _load_size / 16 );
+ _rom_size = ( ( _load_size + 511 ) / 512 );
}
}