summaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/vmlinux.lds.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-08-13 20:10:57 (GMT)
committerPaul Mundt <lethal@linux-sh.org>2009-08-13 20:10:57 (GMT)
commit718dbf376ac39b8f8c974e9162430754dbace742 (patch)
tree145b39219d1f63c01ca704f53d8abc9b31a11469 /arch/sh/include/asm/vmlinux.lds.h
parentf54aab4a7486fb7947d6d746f3423f67676811c8 (diff)
parentf826466772ae52f26152287fcb2259351de78f0f (diff)
downloadlinux-fsl-qoriq-718dbf376ac39b8f8c974e9162430754dbace742.tar.xz
Merge branch 'sh/dwarf-unwinder'
Diffstat (limited to 'arch/sh/include/asm/vmlinux.lds.h')
-rw-r--r--arch/sh/include/asm/vmlinux.lds.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/sh/include/asm/vmlinux.lds.h b/arch/sh/include/asm/vmlinux.lds.h
new file mode 100644
index 0000000..244ec4a
--- /dev/null
+++ b/arch/sh/include/asm/vmlinux.lds.h
@@ -0,0 +1,17 @@
+#ifndef __ASM_SH_VMLINUX_LDS_H
+#define __ASM_SH_VMLINUX_LDS_H
+
+#include <asm-generic/vmlinux.lds.h>
+
+#ifdef CONFIG_DWARF_UNWINDER
+#define DWARF_EH_FRAME \
+ .eh_frame : AT(ADDR(.eh_frame) - LOAD_OFFSET) { \
+ VMLINUX_SYMBOL(__start_eh_frame) = .; \
+ *(.eh_frame) \
+ VMLINUX_SYMBOL(__stop_eh_frame) = .; \
+ }
+#else
+#define DWARF_EH_FRAME
+#endif
+
+#endif /* __ASM_SH_VMLINUX_LDS_H */