blob: 8d96c4f9b35b888c03ea27db758cdb664815f445 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Matt Flemingbd353862009-08-14 01:58:43 +09002#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) { \
Masahiro Yamada2c4da1a2018-05-09 16:53:22 +090010 __start_eh_frame = .; \
Matt Flemingbd353862009-08-14 01:58:43 +090011 *(.eh_frame) \
Masahiro Yamada2c4da1a2018-05-09 16:53:22 +090012 __stop_eh_frame = .; \
Matt Flemingbd353862009-08-14 01:58:43 +090013 }
14#else
15#define DWARF_EH_FRAME
16#endif
17
Matt Flemingbd353862009-08-14 01:58:43 +090018#endif /* __ASM_SH_VMLINUX_LDS_H */