Arun Sharma | b483ea3 | 2009-04-13 12:00:31 -0700 | [diff] [blame] | 1 | /* Provide a real file - not a symlink - as it would cause multiarch conflicts |
| 2 | when multiple different arch releases are installed simultaneously. */ |
| 3 | |
Arun Sharma | d20df8b | 2011-10-31 22:21:34 -0700 | [diff] [blame] | 4 | #ifndef UNW_REMOTE_ONLY |
| 5 | |
Yvan Roux | ac6c0a6 | 2013-05-11 09:18:23 -0600 | [diff] [blame] | 6 | #if defined __aarch64__ |
| 7 | #include "libunwind-aarch64.h" |
| 8 | #elif defined __arm__ |
Arun Sharma | b483ea3 | 2009-04-13 12:00:31 -0700 | [diff] [blame] | 9 | # include "libunwind-arm.h" |
| 10 | #elif defined __hppa__ |
| 11 | # include "libunwind-hppa.h" |
| 12 | #elif defined __ia64__ |
| 13 | # include "libunwind-ia64.h" |
| 14 | #elif defined __mips__ |
| 15 | # include "libunwind-mips.h" |
| 16 | #elif defined __powerpc__ && !defined __powerpc64__ |
| 17 | # include "libunwind-ppc32.h" |
| 18 | #elif defined __powerpc64__ |
| 19 | # include "libunwind-ppc64.h" |
Tommi Rantala | 8d5b1ae | 2012-08-16 13:10:29 +0300 | [diff] [blame] | 20 | #elif defined __sh__ |
| 21 | # include "libunwind-sh.h" |
Arun Sharma | b483ea3 | 2009-04-13 12:00:31 -0700 | [diff] [blame] | 22 | #elif defined __i386__ |
| 23 | # include "libunwind-x86.h" |
| 24 | #elif defined __x86_64__ |
| 25 | # include "libunwind-x86_64.h" |
| 26 | #else |
| 27 | # error "Unsupported arch" |
| 28 | #endif |
Arun Sharma | d20df8b | 2011-10-31 22:21:34 -0700 | [diff] [blame] | 29 | |
| 30 | #else /* UNW_REMOTE_ONLY */ |
| 31 | |
| 32 | # include "libunwind-@arch@.h" |
| 33 | |
| 34 | #endif /* UNW_REMOTE_ONLY */ |