mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-30 02:27:38 +01:00
b483ea3f0e
This is useful when packaging for multiple target architectures. Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
22 lines
646 B
C
22 lines
646 B
C
/* Provide a real file - not a symlink - as it would cause multiarch conflicts
|
|
when multiple different arch releases are installed simultaneously. */
|
|
|
|
#if defined __arm__
|
|
# include "libunwind-arm.h"
|
|
#elif defined __hppa__
|
|
# include "libunwind-hppa.h"
|
|
#elif defined __ia64__
|
|
# include "libunwind-ia64.h"
|
|
#elif defined __mips__
|
|
# include "libunwind-mips.h"
|
|
#elif defined __powerpc__ && !defined __powerpc64__
|
|
# include "libunwind-ppc32.h"
|
|
#elif defined __powerpc64__
|
|
# include "libunwind-ppc64.h"
|
|
#elif defined __i386__
|
|
# include "libunwind-x86.h"
|
|
#elif defined __x86_64__
|
|
# include "libunwind-x86_64.h"
|
|
#else
|
|
# error "Unsupported arch"
|
|
#endif
|