glibc/sysdeps/sparc/sparc32/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
213 B
C

/* 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