glibc/sysdeps/sparc/sparc32/sparcv9/backtrace.h
David S. Miller 7c1e01aabc Use libgcc unwinder for sparc backtraces, if available.
* sysdeps/sparc/backtrace.c: New file.
	* sysdeps/sparc/sparc32/backtrace.h: New file.
	* sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
	* sysdeps/sparc/sparc64/backtrace.h: New file.
	* sysdeps/sparc/sparc64/backtrace.c: Delete.
	* sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
	-funwind-tables.
2013-01-21 14:15:30 -08:00

8 lines
190 B
C

/* Private macros for guiding the backtrace implementation, sparc32 v9
version. */
#define backtrace_flush_register_windows() \
asm volatile ("flushw")
#define BACKTRACE_STACK_BIAS 0