]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
Fix building on gas versions that don't auto-insert addr32 prefixes
authorMichael Brown <mcb30@etherboot.org>
Tue, 12 Dec 2006 19:07:18 +0000 (19:07 +0000)
committerMichael Brown <mcb30@etherboot.org>
Tue, 12 Dec 2006 19:07:18 +0000 (19:07 +0000)
src/arch/i386/interface/pxe/pxe_entry.S

index 551d79002148f741aef972d0cb0457b32594ee67..065fe7556f32480da74446c8a0ac433a61dcd1a4 100644 (file)
@@ -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