diff options
| author | Michael Brown | 2006-12-12 20:07:18 +0100 |
|---|---|---|
| committer | Michael Brown | 2006-12-12 20:07:18 +0100 |
| commit | 8a45f619a91851a38bcc7f569f0c8ccad7b62746 (patch) | |
| tree | 6d93980552444684fefc560004272387c8b9e29e /src | |
| parent | Automatically select between the "10" and "16" variants of command set, (diff) | |
| download | ipxe-8a45f619a91851a38bcc7f569f0c8ccad7b62746.tar.gz ipxe-8a45f619a91851a38bcc7f569f0c8ccad7b62746.tar.xz ipxe-8a45f619a91851a38bcc7f569f0c8ccad7b62746.zip | |
Fix building on gas versions that don't auto-insert addr32 prefixes
Diffstat (limited to 'src')
| -rw-r--r-- | src/arch/i386/interface/pxe/pxe_entry.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/i386/interface/pxe/pxe_entry.S b/src/arch/i386/interface/pxe/pxe_entry.S index 551d79002..065fe7556 100644 --- a/src/arch/i386/interface/pxe/pxe_entry.S +++ b/src/arch/i386/interface/pxe/pxe_entry.S @@ -140,10 +140,10 @@ pxe_entry_common: pushw %di pushw %bx /* Load !PXE parameters from stack into PXENV+ registers */ - movw 18(%esp), %bx + addr32 movw 18(%esp), %bx movw %bx, %es - movw 16(%esp), %di - movw 14(%esp), %bx + addr32 movw 16(%esp), %di + addr32 movw 14(%esp), %bx /* Make call as for PXENV+ */ pushw %cs call pxenv_entry |
