]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
Move stack out to separate object, so that having a stack doesn't drag in
authorMichael Brown <mcb30@etherboot.org>
Tue, 2 May 2006 14:57:48 +0000 (14:57 +0000)
committerMichael Brown <mcb30@etherboot.org>
Tue, 2 May 2006 14:57:48 +0000 (14:57 +0000)
setup.S.

src/arch/i386/core/setup.S
src/arch/i386/core/stack.S [new file with mode: 0644]

index 11b288800d81614e2ae6af3367ac0b70e5fafa5f..e1c5a859b7ee79e0422d77477ca08f597ed8e3a2 100644 (file)
@@ -158,12 +158,3 @@ setup:
        popfl
        lret
 
-/****************************************************************************
- * Internal stack
- ****************************************************************************
- */
-       .section ".stack"
-       .align 8
-_stack:
-       .space 4096
-_estack:
diff --git a/src/arch/i386/core/stack.S b/src/arch/i386/core/stack.S
new file mode 100644 (file)
index 0000000..c2d138a
--- /dev/null
@@ -0,0 +1,13 @@
+       .arch i386
+
+/****************************************************************************
+ * Internal stack
+ ****************************************************************************
+ */
+       .section ".stack"
+       .align 8
+       .globl _stack
+_stack:
+       .space 4096
+       .globl _estack
+_estack: