diff options
author | Paul Mundt <lethal@linux-sh.org> | 2006-09-26 22:40:05 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-09-26 22:40:05 -0400 |
commit | 50e98e72e459e43b6b9a5449e35bb6fc54e21149 (patch) | |
tree | 7f807f70e884721535d56857a71d599ade6be9c4 /arch/sh | |
parent | 6ae5e8d7598ce01ac0e7dab1b89894c7386a2e61 (diff) |
sh: Kill off the .stack section.
We had a special .stack section in the ld script that
was being used to position r15 initially. This is
nonsensical, as we can just use a THREAD_SIZE offset
from the init_thread_union instead (as every other arch
does).
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/kernel/head.S | 2 | ||||
-rw-r--r-- | arch/sh/kernel/vmlinux.lds.S | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/arch/sh/kernel/head.S b/arch/sh/kernel/head.S index 9b9e6ef626ce..00cd4708ef46 100644 --- a/arch/sh/kernel/head.S +++ b/arch/sh/kernel/head.S | |||
@@ -69,7 +69,7 @@ ENTRY(_stext) | |||
69 | 69 | ||
70 | .balign 4 | 70 | .balign 4 |
71 | 1: .long 0x400080F0 ! MD=1, RB=0, BL=0, FD=1, IMASK=0xF | 71 | 1: .long 0x400080F0 ! MD=1, RB=0, BL=0, FD=1, IMASK=0xF |
72 | 2: .long stack | 72 | 2: .long init_thread_union+8192 |
73 | 3: .long __bss_start | 73 | 3: .long __bss_start |
74 | 4: .long _end | 74 | 4: .long _end |
75 | 5: .long start_kernel | 75 | 5: .long start_kernel |
diff --git a/arch/sh/kernel/vmlinux.lds.S b/arch/sh/kernel/vmlinux.lds.S index 95fdd9135fcf..3f3e1e0735f5 100644 --- a/arch/sh/kernel/vmlinux.lds.S +++ b/arch/sh/kernel/vmlinux.lds.S | |||
@@ -62,8 +62,6 @@ SECTIONS | |||
62 | 62 | ||
63 | . = ALIGN(8192); /* init_task */ | 63 | . = ALIGN(8192); /* init_task */ |
64 | .data.init_task : { *(.data.init_task) } | 64 | .data.init_task : { *(.data.init_task) } |
65 | /* stack */ | ||
66 | .stack : { stack = .; _stack = .; } | ||
67 | 65 | ||
68 | . = ALIGN(4096); /* Init code and data */ | 66 | . = ALIGN(4096); /* Init code and data */ |
69 | __init_begin = .; | 67 | __init_begin = .; |