diff options
| author | Michael Brown | 2006-05-02 16:57:48 +0200 |
|---|---|---|
| committer | Michael Brown | 2006-05-02 16:57:48 +0200 |
| commit | 8f62b39c03ab680e72ef991ebbe07bb7c0d57f82 (patch) | |
| tree | d6acf0b466d1c324dcee8e31e98672f4a16292ad | |
| parent | Verified as working (diff) | |
| download | ipxe-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.
| -rw-r--r-- | src/arch/i386/core/setup.S | 9 | ||||
| -rw-r--r-- | src/arch/i386/core/stack.S | 13 |
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: |
