diff options
author | Tim Abbott <tabbott@ksplice.com> | 2009-07-20 10:30:24 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-07-20 10:30:24 -0400 |
commit | 6bde607e699b9f3c6fa5e4a97d78c7778e643b3d (patch) | |
tree | 9b2401c452116678240dfd83a83f58f01f79dad2 /arch/sh/kernel/vmlinux.lds.S | |
parent | 6e1922bbd25fd507db05c54499726159b1614b83 (diff) |
sh: Clean up linker script using new BSS_SECTION macro.
Updated to use the fixed BSS linker script macros from this
thread:
http://www.spinics.net/lists/kernel/msg913238.html
Signed-off-by: Tim Abbott <tabbott@ksplice.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: linux-sh@vger.kernel.org
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/sh/kernel/vmlinux.lds.S | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sh/kernel/vmlinux.lds.S b/arch/sh/kernel/vmlinux.lds.S index 674ed8feb8ae..80dc9f8d9412 100644 --- a/arch/sh/kernel/vmlinux.lds.S +++ b/arch/sh/kernel/vmlinux.lds.S | |||
@@ -93,8 +93,7 @@ SECTIONS | |||
93 | 93 | ||
94 | . = ALIGN(PAGE_SIZE); | 94 | . = ALIGN(PAGE_SIZE); |
95 | __init_end = .; | 95 | __init_end = .; |
96 | BSS(PAGE_SIZE) | 96 | BSS_SECTION(0, PAGE_SIZE, 4) |
97 | . = ALIGN(4); | ||
98 | _ebss = .; /* uClinux MTD sucks */ | 97 | _ebss = .; /* uClinux MTD sucks */ |
99 | _end = . ; | 98 | _end = . ; |
100 | 99 | ||