diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-10-11 19:42:46 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-10-11 19:42:46 -0400 |
commit | 5ab78ff693d09a6ffc7ca80ad600b2f5feb89d7f (patch) | |
tree | 5be171179a73ffe9f3fe7a5aa825acd74ffe47e8 /arch/sh/include | |
parent | 74db2479c1fecefd0a190f282f28f00565309807 (diff) | |
parent | c2d474d6f8b48b6698343cfc1a3630c4647aa7b2 (diff) |
Merge branch 'sh/dwarf-unwinder' of git://github.com/mfleming/linux-2.6 into sh/dwarf-unwinder
Diffstat (limited to 'arch/sh/include')
-rw-r--r-- | arch/sh/include/asm/dwarf.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/sh/include/asm/dwarf.h b/arch/sh/include/asm/dwarf.h index c367ed3373c..eef87539963 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 | ||
365 | extern struct dwarf_frame *dwarf_unwind_stack(unsigned long, | 377 | extern struct dwarf_frame *dwarf_unwind_stack(unsigned long, |
366 | struct dwarf_frame *); | 378 | struct dwarf_frame *); |
379 | extern void dwarf_free_frame(struct dwarf_frame *); | ||
380 | extern int dwarf_parse_section(char *, char *, struct module *); | ||
381 | extern 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 |