summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 11b288800..e1c5a859b 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 000000000..c2d138aaf
--- /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: