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: