projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e1922b
)
sh: Clean up linker script using new BSS_SECTION macro.
author
Tim Abbott
<tabbott@ksplice.com>
Mon, 20 Jul 2009 14:30:24 +0000
(23:30 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Mon, 20 Jul 2009 14:30:24 +0000
(23:30 +0900)
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>
arch/sh/kernel/vmlinux.lds.S
patch
|
blob
|
history
diff --git
a/arch/sh/kernel/vmlinux.lds.S
b/arch/sh/kernel/vmlinux.lds.S
index 674ed8feb8ae830e333a0354ec42bfff762b5834..80dc9f8d94122adb015806c4191ea56f5b647787 100644
(file)
--- a/
arch/sh/kernel/vmlinux.lds.S
+++ b/
arch/sh/kernel/vmlinux.lds.S
@@
-93,8
+93,7
@@
SECTIONS
. = ALIGN(PAGE_SIZE);
__init_end = .;
- BSS(PAGE_SIZE)
- . = ALIGN(4);
+ BSS_SECTION(0, PAGE_SIZE, 4)
_ebss = .; /* uClinux MTD sucks */
_end = . ;