summaryrefslogtreecommitdiff
path: root/include/tdep
diff options
context:
space:
mode:
authorZhi-Gang Liu <zliu@tilera.com>2014-09-02 17:35:41 -0400
committerZhi-Gang Liu <zliu@tilera.com>2014-09-08 16:21:53 -0400
commit790be1e40d4c27c4aa1c3160722673ac3e1bbaaf (patch)
tree660b60f35f5a2a832e120112bd62789d3317345a /include/tdep
parent4791a76d26ffb65d56aa16f6b760aa1ee7abdc14 (diff)
downloadlibunwind-790be1e40d4c27c4aa1c3160722673ac3e1bbaaf.tar.gz
Add TileGx platform support to libunwind.
"make check" passed. ====================================================== All 34 tests behaved as expected (2 expected failures) ====================================================== Zhi-Gang Liu @ Tilera
Diffstat (limited to 'include/tdep')
-rw-r--r--include/tdep/dwarf-config.h2
-rw-r--r--include/tdep/jmpbuf.h2
-rw-r--r--include/tdep/libunwind_i.h.in2
3 files changed, 6 insertions, 0 deletions
diff --git a/include/tdep/dwarf-config.h b/include/tdep/dwarf-config.h
index 5b09fc18..c759a46c 100644
--- a/include/tdep/dwarf-config.h
+++ b/include/tdep/dwarf-config.h
@@ -21,6 +21,8 @@
# include "tdep-x86/dwarf-config.h"
#elif defined __x86_64__ || defined __amd64__
# include "tdep-x86_64/dwarf-config.h"
+#elif defined __tilegx__
+# include "tdep-tilegx/dwarf-config.h"
#else
# error "Unsupported arch"
#endif
diff --git a/include/tdep/jmpbuf.h b/include/tdep/jmpbuf.h
index 684d0d95..4eae183e 100644
--- a/include/tdep/jmpbuf.h
+++ b/include/tdep/jmpbuf.h
@@ -21,6 +21,8 @@
# include "tdep-x86/jmpbuf.h"
#elif defined __x86_64__
# include "tdep-x86_64/jmpbuf.h"
+#elif defined __tilegx__
+# include "tdep-tilegx/jmpbuf.h"
#else
# error "Unsupported arch"
#endif
diff --git a/include/tdep/libunwind_i.h.in b/include/tdep/libunwind_i.h.in
index 475f8288..af05a7fb 100644
--- a/include/tdep/libunwind_i.h.in
+++ b/include/tdep/libunwind_i.h.in
@@ -23,6 +23,8 @@
# include "tdep-x86/libunwind_i.h"
#elif defined __x86_64__
# include "tdep-x86_64/libunwind_i.h"
+#elif defined __tilegx__
+# include "tdep-tilegx/libunwind_i.h"
#else
# error "Unsupported arch"
#endif