Matt Fleming | bd35386 | 2009-08-14 01:58:43 +0900 | [diff] [blame] | 1 | #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 Mundt | 19f6b8b | 2010-02-12 15:41:45 +0900 | [diff] [blame] | 17 | #ifdef CONFIG_SUPERH64 |
| 18 | #define EXTRA_TEXT \ |
| 19 | *(.text64) \ |
| 20 | *(.text..SHmedia32) |
| 21 | #else |
| 22 | #define EXTRA_TEXT |
| 23 | #endif |
| 24 | |
Matt Fleming | bd35386 | 2009-08-14 01:58:43 +0900 | [diff] [blame] | 25 | #endif /* __ASM_SH_VMLINUX_LDS_H */ |