summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/dwarf.h
diff options
context:
space:
mode:
authorMatt Fleming <matt@console-pimps.org>2009-08-16 15:56:35 +0100
committerMatt Fleming <matt@console-pimps.org>2009-08-21 13:02:44 +0100
commit97efbbd5886e27b61c19c77d41f6491f5d96fbd0 (patch)
tree02fbb8fcedfcb1a3e6bff73b1cd5da133cea5957 /arch/sh/include/asm/dwarf.h
parentfb3f3e7fc6d4afb32f9eba32124beaf40313de3c (diff)
sh: unwinder: Set the flags for DW_CFA_val_offset ops as DWARF_VAL_OFFSET
The handling of DW_CFA_val_offset ops was incorrectly using the DWARF_REG_OFFSET flag but the register's value cannot be calculated using the DWARF_REG_OFFSET method. Create a new flag to indicate that a different method must be used to calculate the register's value even though there is no implementation for DWARF_VAL_OFFSET yet; it's mainly just a place holder. Signed-off-by: Matt Fleming <matt@console-pimps.org>
Diffstat (limited to 'arch/sh/include/asm/dwarf.h')
-rw-r--r--arch/sh/include/asm/dwarf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/include/asm/dwarf.h b/arch/sh/include/asm/dwarf.h
index a22fbe98303..8b0bcc08738 100644
--- a/arch/sh/include/asm/dwarf.h
+++ b/arch/sh/include/asm/dwarf.h
@@ -296,6 +296,7 @@ struct dwarf_reg {
unsigned long addr;
unsigned long flags;
#define DWARF_REG_OFFSET (1 << 0)
+#define DWARF_VAL_OFFSET (1 << 1)
};
/*