blob: d58ad493b3a6767000f8fd9c430c31f9a6131420 [file] [log] [blame]
Matt Flemingbd353862009-08-14 01:58:43 +09001#ifndef __ASM_SH_VMLINUX_LDS_H
2#define __ASM_SH_VMLINUX_LDS_H
3
4#include <asm-generic/vmlinux.lds.h>
5
6#ifdef CONFIG_DWARF_UNWINDER
7#define DWARF_EH_FRAME \
8 .eh_frame : AT(ADDR(.eh_frame) - LOAD_OFFSET) { \
9 VMLINUX_SYMBOL(__start_eh_frame) = .; \
10 *(.eh_frame) \
11 VMLINUX_SYMBOL(__stop_eh_frame) = .; \
12 }
13#else
14#define DWARF_EH_FRAME
15#endif
16
Paul Mundt19f6b8b2010-02-12 15:41:45 +090017#ifdef CONFIG_SUPERH64
18#define EXTRA_TEXT \
19 *(.text64) \
20 *(.text..SHmedia32)
21#else
22#define EXTRA_TEXT
23#endif
24
Matt Flemingbd353862009-08-14 01:58:43 +090025#endif /* __ASM_SH_VMLINUX_LDS_H */