From: Michael Brown Date: Tue, 6 Jun 2006 15:29:39 +0000 (+0000) Subject: Calculate _rom_size for the ROM prefix X-Git-Tag: v0.9.3~1300 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=46253ba618ee008801fa2c57328a94fef40fd60d;p=thirdparty%2Fipxe.git Calculate _rom_size for the ROM prefix --- diff --git a/src/arch/i386/scripts/i386.lds b/src/arch/i386/scripts/i386.lds index d43a68f72..4a984a956 100644 --- 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 ); + _rom_size = ( ( _load_size + 511 ) / 512 ); }