about summary refs log tree commit diff
path: root/sysdeps/sparc/sparc32/backtrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc/sparc32/backtrace.h')
-rw-r--r--sysdeps/sparc/sparc32/backtrace.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/sparc/sparc32/backtrace.h b/sysdeps/sparc/sparc32/backtrace.h
new file mode 100644
index 0000000000..089f8b4d28
--- /dev/null
+++ b/sysdeps/sparc/sparc32/backtrace.h
@@ -0,0 +1,7 @@
+/* Private macros for guiding the backtrace implementation, sparc32
+   version.  */
+
+#define backtrace_flush_register_windows() \
+	asm volatile ("ta %0" : : "i" (ST_FLUSH_WINDOWS))
+
+#define BACKTRACE_STACK_BIAS	0