aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2009-05-11 04:45:27 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-05-11 05:42:14 -0400
commit53c0054c3f11b49fc09f24e46f58661def952728 (patch)
tree69dad52b6678b24b3bc2e97b47e71fbf1471a227 /arch/sh/kernel/vmlinux.lds.S
parent7bce6c2740fab36708233e998a9e53115649b193 (diff)
sh: include empty_zero_page in text
Include empty_zero_page in _text. This fixes a problem introduced by c3e2586b794b12ffcdf69b4e547030b51e18e6d9 which results in broken boot on R2D-Plus. Signed-off-by: Magnus Damm <damm@igel.co.jp> 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.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/kernel/vmlinux.lds.S b/arch/sh/kernel/vmlinux.lds.S
index d73723080fd..f53c76acaed 100644
--- a/arch/sh/kernel/vmlinux.lds.S
+++ b/arch/sh/kernel/vmlinux.lds.S
@@ -26,12 +26,13 @@ SECTIONS
26 . = CONFIG_PAGE_OFFSET + CONFIG_MEMORY_START + CONFIG_ZERO_PAGE_OFFSET; 26 . = CONFIG_PAGE_OFFSET + CONFIG_MEMORY_START + CONFIG_ZERO_PAGE_OFFSET;
27#endif 27#endif
28 28
29 _text = .; /* Text and read-only data */
30
29 .empty_zero_page : AT(ADDR(.empty_zero_page) - LOAD_OFFSET) { 31 .empty_zero_page : AT(ADDR(.empty_zero_page) - LOAD_OFFSET) {
30 *(.empty_zero_page) 32 *(.empty_zero_page)
31 } = 0 33 } = 0
32 34
33 .text : AT(ADDR(.text) - LOAD_OFFSET) { 35 .text : AT(ADDR(.text) - LOAD_OFFSET) {
34 _text = .; /* Text and read-only data */
35 HEAD_TEXT 36 HEAD_TEXT
36 TEXT_TEXT 37 TEXT_TEXT
37 38