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 | |
Arun Sharma | b483ea3 | 2009-04-13 12:00:31 -0700 | [diff] [blame] | 6 | #if defined __arm__ |
| 7 | # include "libunwind-arm.h" |
| 8 | #elif defined __hppa__ |
| 9 | # include "libunwind-hppa.h" |
| 10 | #elif defined __ia64__ |
| 11 | # include "libunwind-ia64.h" |
| 12 | #elif defined __mips__ |
| 13 | # include "libunwind-mips.h" |
| 14 | #elif defined __powerpc__ && !defined __powerpc64__ |
| 15 | # include "libunwind-ppc32.h" |
| 16 | #elif defined __powerpc64__ |
| 17 | # include "libunwind-ppc64.h" |
| 18 | #elif defined __i386__ |
| 19 | # include "libunwind-x86.h" |
| 20 | #elif defined __x86_64__ |
| 21 | # include "libunwind-x86_64.h" |
| 22 | #else |
| 23 | # error "Unsupported arch" |
| 24 | #endif |
Arun Sharma | d20df8b | 2011-10-31 22:21:34 -0700 | [diff] [blame^] | 25 | |
| 26 | #else /* UNW_REMOTE_ONLY */ |
| 27 | |
| 28 | # include "libunwind-@arch@.h" |
| 29 | |
| 30 | #endif /* UNW_REMOTE_ONLY */ |