sh: DSP save/restore ordering and a0 sign extension fixups.
[safe/jmp/linux-2.6] / arch / sh / include / asm / dwarf.h
index 23eba12..d3d3837 100644 (file)
  */
 #define DWARF_ARCH_RA_REG      17
 
-/*
- * At what offset into dwarf_unwind_stack() is DWARF_ARCH_RA_REG setup?
- */
-#define DWARF_ARCH_UNWIND_OFFSET       0x20
-
 #ifndef __ASSEMBLY__
 /*
  * Read either the frame pointer (r14) or the stack pointer (r15).
@@ -345,6 +340,10 @@ struct dwarf_stack {
 #define DW_CFA_lo_user         0x1c
 #define DW_CFA_hi_user         0x3f
 
+/* GNU extension opcodes  */
+#define DW_CFA_GNU_args_size   0x2e
+#define DW_CFA_GNU_negative_offset_extended 0x2f
+
 /*
  * Some call frame instructions encode their operands in the opcode. We
  * need some helper functions to extract both the opcode and operands