xref: /openbmc/linux/arch/sh/include/asm/vmlinux.lds.h (revision 12eb4683)
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 
17 #ifdef CONFIG_SUPERH64
18 #define EXTRA_TEXT		\
19 	*(.text64)		\
20 	*(.text..SHmedia32)
21 #else
22 #define EXTRA_TEXT
23 #endif
24 
25 #endif /* __ASM_SH_VMLINUX_LDS_H */
26