aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/vmlinux.lds.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-02-12 01:41:45 -0500
committerPaul Mundt <lethal@linux-sh.org>2010-02-12 01:41:45 -0500
commit19f6b8b44e3f633d5d7d1ed68848b1eb89a1e800 (patch)
tree4d2bacbf4a1ae3f3cbbb9c32a0c9d126731b89f3 /arch/sh/include/asm/vmlinux.lds.h
parentb0f3ae03aca0f331b851ae94bc066124e7f104df (diff)
sh64: fix up memory offset calculation.
The linker script offsets were broken by the recent 29/32-bit integration, so this fixes it up for sh64. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/vmlinux.lds.h')
-rw-r--r--arch/sh/include/asm/vmlinux.lds.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/sh/include/asm/vmlinux.lds.h b/arch/sh/include/asm/vmlinux.lds.h
index 244ec4ad9a79..d58ad493b3a6 100644
--- a/arch/sh/include/asm/vmlinux.lds.h
+++ b/arch/sh/include/asm/vmlinux.lds.h
@@ -14,4 +14,12 @@
14#define DWARF_EH_FRAME 14#define DWARF_EH_FRAME
15#endif 15#endif
16 16
17#ifdef CONFIG_SUPERH64
18#define EXTRA_TEXT \
19 *(.text64) \
20 *(.text..SHmedia32)
21#else
22#define EXTRA_TEXT
23#endif
24
17#endif /* __ASM_SH_VMLINUX_LDS_H */ 25#endif /* __ASM_SH_VMLINUX_LDS_H */