mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-08 02:18:11 +01:00
8d5b1aeeff
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.
24 lines
787 B
C
24 lines
787 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 "tdep-arm/dwarf-config.h"
|
|
#elif defined __hppa__
|
|
# include "tdep-hppa/dwarf-config.h"
|
|
#elif defined __ia64__
|
|
# include "tdep-ia64/dwarf-config.h"
|
|
#elif defined __mips__
|
|
# include "tdep-mips/dwarf-config.h"
|
|
#elif defined __powerpc__ && !defined __powerpc64__
|
|
# include "tdep-ppc32/dwarf-config.h"
|
|
#elif defined __powerpc64__
|
|
# include "tdep-ppc64/dwarf-config.h"
|
|
#elif defined __sh__
|
|
# include "tdep-sh/dwarf-config.h"
|
|
#elif defined __i386__
|
|
# include "tdep-x86/dwarf-config.h"
|
|
#elif defined __x86_64__ || defined __amd64__
|
|
# include "tdep-x86_64/dwarf-config.h"
|
|
#else
|
|
# error "Unsupported arch"
|
|
#endif
|