summaryrefslogtreecommitdiffstats
path: root/src/arch
diff options
context:
space:
mode:
authorMichael Brown2006-05-02 16:57:48 +0200
committerMichael Brown2006-05-02 16:57:48 +0200
commit8f62b39c03ab680e72ef991ebbe07bb7c0d57f82 (patch)
treed6acf0b466d1c324dcee8e31e98672f4a16292ad /src/arch
parentVerified as working (diff)
downloadipxe-8f62b39c03ab680e72ef991ebbe07bb7c0d57f82.tar.gz
ipxe-8f62b39c03ab680e72ef991ebbe07bb7c0d57f82.tar.xz
ipxe-8f62b39c03ab680e72ef991ebbe07bb7c0d57f82.zip
Move stack out to separate object, so that having a stack doesn't drag in
setup.S.
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/i386/core/setup.S9
-rw-r--r--src/arch/i386/core/stack.S13
2 files changed, 13 insertions, 9 deletions
diff --git a/src/arch/i386/core/setup.S b/src/arch/i386/core/setup.S
index 11b28880..e1c5a859 100644
--- a/src/arch/i386/core/setup.S
+++ b/src/arch/i386/core/setup.S
@@ -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
index 00000000..c2d138aa
--- /dev/null
+++ b/src/arch/i386/core/stack.S
@@ -0,0 +1,13 @@
+ .arch i386
+
+/****************************************************************************
+ * Internal stack
+ ****************************************************************************
+ */
+ .section ".stack"
+ .align 8
+ .globl _stack
+_stack:
+ .space 4096
+ .globl _estack
+_estack: