vmlinux.lds.h (3eb66e91a25497065c5322b1268cbc3953642227) vmlinux.lds.h (37744feebc086908fd89760650f458ab19071750)
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __ASM_SH_VMLINUX_LDS_H
3#define __ASM_SH_VMLINUX_LDS_H
4
5#include <asm-generic/vmlinux.lds.h>
6
7#ifdef CONFIG_DWARF_UNWINDER
8#define DWARF_EH_FRAME \
9 .eh_frame : AT(ADDR(.eh_frame) - LOAD_OFFSET) { \
10 __start_eh_frame = .; \
11 *(.eh_frame) \
12 __stop_eh_frame = .; \
13 }
14#else
15#define DWARF_EH_FRAME
16#endif
17
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __ASM_SH_VMLINUX_LDS_H
3#define __ASM_SH_VMLINUX_LDS_H
4
5#include <asm-generic/vmlinux.lds.h>
6
7#ifdef CONFIG_DWARF_UNWINDER
8#define DWARF_EH_FRAME \
9 .eh_frame : AT(ADDR(.eh_frame) - LOAD_OFFSET) { \
10 __start_eh_frame = .; \
11 *(.eh_frame) \
12 __stop_eh_frame = .; \
13 }
14#else
15#define DWARF_EH_FRAME
16#endif
17
18#ifdef CONFIG_SUPERH64
19#define EXTRA_TEXT \
20 *(.text64) \
21 *(.text..SHmedia32)
22#else
23#define EXTRA_TEXT
24#endif
25
26#endif /* __ASM_SH_VMLINUX_LDS_H */
18#endif /* __ASM_SH_VMLINUX_LDS_H */