summaryrefslogtreecommitdiff
path: root/src/sh/Lresume.c
diff options
context:
space:
mode:
authorTommi Rantala <tt.rantala@gmail.com>2012-08-16 13:10:29 +0300
committerTommi Rantala <tt.rantala@gmail.com>2012-09-28 14:50:03 +0300
commit8d5b1aeeffb80515197fd7aeee0b3fbfac904ecd (patch)
tree70898dc1bf11f5e99a6cb32998eb734e579da8c0 /src/sh/Lresume.c
parent7d77ef4d82b3eca8ca3a869cd313428026a122a7 (diff)
downloadlibunwind-8d5b1aeeffb80515197fd7aeee0b3fbfac904ecd.tar.gz
SuperH port
Add support for the 32bit SuperH architecture running Linux. Specifically, support is added for SH4, and support for earlier SH versions and to the 64bit SH5 are left out. This was tested in qemu with a little-endian SH4 debian image & GCC 4.7 cross compiler.
Diffstat (limited to 'src/sh/Lresume.c')
-rw-r--r--src/sh/Lresume.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sh/Lresume.c b/src/sh/Lresume.c
new file mode 100644
index 00000000..41a8cf00
--- /dev/null
+++ b/src/sh/Lresume.c
@@ -0,0 +1,5 @@
+#define UNW_LOCAL_ONLY
+#include <libunwind.h>
+#if defined(UNW_LOCAL_ONLY) && !defined(UNW_REMOTE_ONLY)
+#include "Gresume.c"
+#endif