diff options
author | Michael Brown | 2007-07-16 18:17:26 +0200 |
---|---|---|
committer | Michael Brown | 2007-07-16 18:17:26 +0200 |
commit | 84551d485e8cec0cfa5388e6a540e79c6029443d (patch) | |
tree | 598b017e3643403441e90fe788135d3c43c559a5 /src/arch/i386/scripts | |
parent | Rename _rom_size to _load_size_sect, since hdprefix.S also uses it. (diff) | |
download | ipxe-84551d485e8cec0cfa5388e6a540e79c6029443d.tar.gz ipxe-84551d485e8cec0cfa5388e6a540e79c6029443d.tar.xz ipxe-84551d485e8cec0cfa5388e6a540e79c6029443d.zip |
Update all prefixes currently referring to _load_size to include a
compressor fixup section.
Diffstat (limited to 'src/arch/i386/scripts')
-rw-r--r-- | src/arch/i386/scripts/i386.lds | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/i386/scripts/i386.lds b/src/arch/i386/scripts/i386.lds index 511353ce..8cc715d0 100644 --- a/src/arch/i386/scripts/i386.lds +++ b/src/arch/i386/scripts/i386.lds @@ -269,6 +269,12 @@ SECTIONS { */ _text16_size_pgh = ( ( _text16_size + 15 ) / 16 ); _data16_size_pgh = ( ( _data16_size + 15 ) / 16 ); + + /* + * Load sizes in paragraphs and sectors. Note that wherever the + * _load_size variables are used, there must be a corresponding + * .zinfo.fixup section. + */ _load_size_pgh = ( ( _load_size + 15 ) / 16 ); _load_size_sect = ( ( _load_size + 511 ) / 512 ); } |