2010-08-20 06:09:47 +00:00
|
|
|
#if defined(__i386__)
|
|
|
|
#include "./i386/setjmp.S"
|
|
|
|
#elif defined(__x86_64__)
|
|
|
|
#include "./x86_64/setjmp.S"
|
|
|
|
#elif defined(__sparc__)
|
|
|
|
#include "./sparc64/setjmp.S"
|
|
|
|
#elif defined(__mips__)
|
|
|
|
#include "./mips/setjmp.S"
|
2012-01-18 13:04:52 +00:00
|
|
|
#elif defined(__powerpc__) || defined(__PPC__)
|
2010-08-20 06:09:47 +00:00
|
|
|
#include "./powerpc/setjmp.S"
|
2010-09-01 01:03:15 +00:00
|
|
|
#elif defined(__ia64__)
|
|
|
|
#include "./ia64/setjmp.S"
|
2011-10-23 21:34:30 +00:00
|
|
|
#include "./ia64/longjmp.S"
|
2013-04-07 00:41:07 +00:00
|
|
|
#elif defined(__arm__)
|
|
|
|
#include "./arm/setjmp.S"
|
2013-11-16 19:52:55 +00:00
|
|
|
#elif defined(__aarch64__)
|
|
|
|
#include "./arm64/setjmp.S"
|
2019-02-12 10:31:07 +00:00
|
|
|
#elif defined(__riscv)
|
|
|
|
#include "./riscv/setjmp.S"
|
2010-08-20 06:09:47 +00:00
|
|
|
#else
|
2010-09-01 01:03:15 +00:00
|
|
|
#error "Unknown target cpu type"
|
2010-08-20 06:09:47 +00:00
|
|
|
#endif
|