Browse Source

[libprefix] Fix building on 64-bit FreeBSD 8.4

Reported-by: Pavel Antonov <holly@istu.edu>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 9 years ago
parent
commit
a3c00d8d3b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/arch/i386/prefix/libprefix.S

+ 1
- 1
src/arch/i386/prefix/libprefix.S View File

851
 #endif /* KEEP_IT_REAL */
851
 #endif /* KEEP_IT_REAL */
852
 
852
 
853
 	/* Switch back to original stack and zero .bss16 */
853
 	/* Switch back to original stack and zero .bss16 */
854
-	lss	%ss:(%esp), %esp
854
+	addr32 lss %ss:(%esp), %esp
855
 	pushl	%edi
855
 	pushl	%edi
856
 	pushw	%es
856
 	pushw	%es
857
 	movw	%bx, %es
857
 	movw	%bx, %es

Loading…
Cancel
Save