aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-10-11 19:50:07 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-10-11 19:50:07 -0400
commit8ec006c58775869175edee3d23f4525b6df2935a (patch)
treee70b8d0d191cd97276aa4b370e055485a6a98010 /arch/sh/include
parent3d4e0cfb3372ee7754f743ab90944540cef4ecc6 (diff)
parent5ab78ff693d09a6ffc7ca80ad600b2f5feb89d7f (diff)
Merge branch 'sh/dwarf-unwinder'
Conflicts: arch/sh/kernel/dwarf.c
Diffstat (limited to 'arch/sh/include')
-rw-r--r--arch/sh/include/asm/dwarf.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/sh/include/asm/dwarf.h b/arch/sh/include/asm/dwarf.h
index ced6795891a6..fc51e66f2380 100644
--- a/arch/sh/include/asm/dwarf.h
+++ b/arch/sh/include/asm/dwarf.h
@@ -241,6 +241,12 @@ struct dwarf_cie {
241 241
242 unsigned long flags; 242 unsigned long flags;
243#define DWARF_CIE_Z_AUGMENTATION (1 << 0) 243#define DWARF_CIE_Z_AUGMENTATION (1 << 0)
244
245 /*
246 * 'mod' will be non-NULL if this CIE came from a module's
247 * .eh_frame section.
248 */
249 struct module *mod;
244}; 250};
245 251
246/** 252/**
@@ -255,6 +261,12 @@ struct dwarf_fde {
255 unsigned char *instructions; 261 unsigned char *instructions;
256 unsigned char *end; 262 unsigned char *end;
257 struct list_head link; 263 struct list_head link;
264
265 /*
266 * 'mod' will be non-NULL if this FDE came from a module's
267 * .eh_frame section.
268 */
269 struct module *mod;
258}; 270};
259 271
260/** 272/**
@@ -364,6 +376,10 @@ static inline unsigned int DW_CFA_operand(unsigned long insn)
364 376
365extern struct dwarf_frame *dwarf_unwind_stack(unsigned long, 377extern struct dwarf_frame *dwarf_unwind_stack(unsigned long,
366 struct dwarf_frame *); 378 struct dwarf_frame *);
379extern void dwarf_free_frame(struct dwarf_frame *);
380extern int dwarf_parse_section(char *, char *, struct module *);
381extern void dwarf_module_unload(struct module *);
382
367#endif /* !__ASSEMBLY__ */ 383#endif /* !__ASSEMBLY__ */
368 384
369#define CFI_STARTPROC .cfi_startproc 385#define CFI_STARTPROC .cfi_startproc