diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-08-13 20:10:57 (GMT) |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-08-13 20:10:57 (GMT) |
commit | 718dbf376ac39b8f8c974e9162430754dbace742 (patch) | |
tree | 145b39219d1f63c01ca704f53d8abc9b31a11469 /arch/sh/include/asm/vmlinux.lds.h | |
parent | f54aab4a7486fb7947d6d746f3423f67676811c8 (diff) | |
parent | f826466772ae52f26152287fcb2259351de78f0f (diff) | |
download | linux-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.h | 17 |
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 */ |