diff options
Diffstat (limited to 'linux/signals.c')
-rw-r--r-- | linux/signals.c | 47 |
1 files changed, 31 insertions, 16 deletions
diff --git a/linux/signals.c b/linux/signals.c index 743fc89..7adc44c 100644 --- a/linux/signals.c +++ b/linux/signals.c @@ -14,7 +14,8 @@ get_linux_signals(enum libsyscalls_arch arch, const struct libsyscalls_named_num goto out switch ((int)arch) { - case LIBSYSCALLS_ARCH_ALPHA: + case LIBSYSCALLS_ARCH_ALPHA_LE: + case LIBSYSCALLS_ARCH_ALPHA_BE: #ifdef LIST_LINUX_SIGNALS_FOR_ALPHA CASE(alpha); #else @@ -30,15 +31,18 @@ get_linux_signals(enum libsyscalls_arch arch, const struct libsyscalls_named_num break; #endif - case LIBSYSCALLS_ARCH_ARM_OABI: - case LIBSYSCALLS_ARCH_ARM_EABI: + case LIBSYSCALLS_ARCH_ARM_OABI_LE: + case LIBSYSCALLS_ARCH_ARM_OABI_BE: + case LIBSYSCALLS_ARCH_ARM_EABI_LE: + case LIBSYSCALLS_ARCH_ARM_EABI_BE: #ifdef LIST_LINUX_SIGNALS_FOR_ARM CASE(arm); #else break; #endif - case LIBSYSCALLS_ARCH_IA64: + case LIBSYSCALLS_ARCH_IA64_LE: + case LIBSYSCALLS_ARCH_IA64_BE: #ifdef LIST_LINUX_SIGNALS_FOR_IA64 CASE(ia64); #else @@ -52,16 +56,20 @@ get_linux_signals(enum libsyscalls_arch arch, const struct libsyscalls_named_num break; #endif - case LIBSYSCALLS_ARCH_MICROBLAZE: -#ifdef LIST_LINUX_SIGNALS_FOR_MICROBLAZE + case LIBSYSCALLS_ARCH_MICROBLAZE_32_LE: + case LIBSYSCALLS_ARCH_MICROBLAZE_32_BE: +#ifdef LIST_LINUX_SIGNALS_FOR_MICROBLAZE_32 CASE(microblaze); #else break; #endif - case LIBSYSCALLS_ARCH_MIPS_O32: - case LIBSYSCALLS_ARCH_MIPS_N32: - case LIBSYSCALLS_ARCH_MIPS_N64: + case LIBSYSCALLS_ARCH_MIPS_O32_LE: + case LIBSYSCALLS_ARCH_MIPS_O32_BE: + case LIBSYSCALLS_ARCH_MIPS_N32_LE: + case LIBSYSCALLS_ARCH_MIPS_N32_BE: + case LIBSYSCALLS_ARCH_MIPS_N64_LE: + case LIBSYSCALLS_ARCH_MIPS_N64_BE: #ifdef LIST_LINUX_SIGNALS_FOR_MIPS CASE(mips); #else @@ -76,10 +84,14 @@ get_linux_signals(enum libsyscalls_arch arch, const struct libsyscalls_named_num break; #endif - case LIBSYSCALLS_ARCH_POWERPC_32: - case LIBSYSCALLS_ARCH_POWERPC_64: - case LIBSYSCALLS_ARCH_POWERPC_NOSPU: - case LIBSYSCALLS_ARCH_POWERPC_SPU: + case LIBSYSCALLS_ARCH_POWERPC_32_LE: + case LIBSYSCALLS_ARCH_POWERPC_32_BE: + case LIBSYSCALLS_ARCH_POWERPC_64_LE: + case LIBSYSCALLS_ARCH_POWERPC_64_BE: + case LIBSYSCALLS_ARCH_POWERPC_NOSPU_LE: + case LIBSYSCALLS_ARCH_POWERPC_NOSPU_BE: + case LIBSYSCALLS_ARCH_POWERPC_SPU_LE: + case LIBSYSCALLS_ARCH_POWERPC_SPU_BE: #ifdef LIST_LINUX_SIGNALS_FOR_POWERPC CASE(powerpc); #else @@ -94,7 +106,8 @@ get_linux_signals(enum libsyscalls_arch arch, const struct libsyscalls_named_num break; #endif - case LIBSYSCALLS_ARCH_SH: + case LIBSYSCALLS_ARCH_SH_LE: + case LIBSYSCALLS_ARCH_SH_BE: #ifdef LIST_LINUX_SIGNALS_FOR_SH CASE(sh); #else @@ -102,14 +115,16 @@ get_linux_signals(enum libsyscalls_arch arch, const struct libsyscalls_named_num #endif case LIBSYSCALLS_ARCH_SPARC_32: - case LIBSYSCALLS_ARCH_SPARC_64: + case LIBSYSCALLS_ARCH_SPARC_64_LE: + case LIBSYSCALLS_ARCH_SPARC_64_BE: #ifdef LIST_LINUX_SIGNALS_FOR_SPARC CASE(sparc); #else break; #endif - case LIBSYSCALLS_ARCH_XTENSA: + case LIBSYSCALLS_ARCH_XTENSA_LE: + case LIBSYSCALLS_ARCH_XTENSA_BE: #ifdef LIST_LINUX_SIGNALS_FOR_XTENSA CASE(xtensa); #else |