Browse Source

Fix building on gas versions that don't auto-insert addr32 prefixes

tags/v0.9.3
Michael Brown 17 years ago
parent
commit
8a45f619a9
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      src/arch/i386/interface/pxe/pxe_entry.S

+ 3
- 3
src/arch/i386/interface/pxe/pxe_entry.S View File

140
 	pushw	%di
140
 	pushw	%di
141
 	pushw	%bx
141
 	pushw	%bx
142
 	/* Load !PXE parameters from stack into PXENV+ registers */
142
 	/* Load !PXE parameters from stack into PXENV+ registers */
143
-	movw	18(%esp), %bx
143
+	addr32 movw	18(%esp), %bx
144
 	movw	%bx, %es
144
 	movw	%bx, %es
145
-	movw	16(%esp), %di
146
-	movw	14(%esp), %bx
145
+	addr32 movw	16(%esp), %di
146
+	addr32 movw	14(%esp), %bx
147
 	/* Make call as for PXENV+ */
147
 	/* Make call as for PXENV+ */
148
 	pushw	%cs
148
 	pushw	%cs
149
 	call	pxenv_entry
149
 	call	pxenv_entry

Loading…
Cancel
Save