Browse Source

Move stack out to separate object, so that having a stack doesn't drag in

setup.S.
tags/v0.9.3
Michael Brown 18 years ago
parent
commit
8f62b39c03
2 changed files with 13 additions and 9 deletions
  1. 0
    9
      src/arch/i386/core/setup.S
  2. 13
    0
      src/arch/i386/core/stack.S

+ 0
- 9
src/arch/i386/core/setup.S View File

@@ -158,12 +158,3 @@ setup:
158 158
 	popfl
159 159
 	lret
160 160
 
161
-/****************************************************************************
162
- * Internal stack
163
- ****************************************************************************
164
- */
165
-	.section ".stack"
166
-	.align 8
167
-_stack:
168
-	.space 4096
169
-_estack:

+ 13
- 0
src/arch/i386/core/stack.S View File

@@ -0,0 +1,13 @@
1
+	.arch i386
2
+
3
+/****************************************************************************
4
+ * Internal stack
5
+ ****************************************************************************
6
+ */
7
+	.section ".stack"
8
+	.align 8
9
+	.globl _stack
10
+_stack:
11
+	.space 4096
12
+	.globl _estack
13
+_estack:

Loading…
Cancel
Save