diff options
| author | Michael Brown | 2007-07-15 03:52:02 +0200 |
|---|---|---|
| committer | Michael Brown | 2007-07-15 03:52:02 +0200 |
| commit | ab859a53557d4b92026894e5d55c015fff245ecb (patch) | |
| tree | 1c8078d10131327419024df89ed20765cef51ae4 /src/arch/i386/scripts | |
| parent | Reverting unintended change caused by merge of indolent/natsemi branch. (diff) | |
| download | ipxe-ab859a53557d4b92026894e5d55c015fff245ecb.tar.gz ipxe-ab859a53557d4b92026894e5d55c015fff245ecb.tar.xz ipxe-ab859a53557d4b92026894e5d55c015fff245ecb.zip | |
Use a single _payload_offset linker-defined variable to locate the
start of the non-prefix blocks in the loaded image, and rely on the
image ordering. This should make introducing compression much easier.
Diffstat (limited to 'src/arch/i386/scripts')
| -rw-r--r-- | src/arch/i386/scripts/i386.lds | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/i386/scripts/i386.lds b/src/arch/i386/scripts/i386.lds index 287c6bae1..7b7b95dae 100644 --- a/src/arch/i386/scripts/i386.lds +++ b/src/arch/i386/scripts/i386.lds @@ -215,6 +215,8 @@ SECTIONS { _load_size = . - _load_addr; + _payload_offset = _text16_load_offset; + /* * Alignment checks. ALIGN() can only operate on the location * counter, so we set the location counter to each value we want |
