1 /* Generated by ./xlat/gen.sh from ./xlat/sigill_codes.in; do not edit. */ 2 3 #include "gcc_compat.h" 4 #include "static_assert.h" 5 6 #if defined(ILL_ILLOPC) || (defined(HAVE_DECL_ILL_ILLOPC) && HAVE_DECL_ILL_ILLOPC) 7 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 8 static_assert((ILL_ILLOPC) == (1), "ILL_ILLOPC != 1"); 9 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 10 #else 11 # define ILL_ILLOPC 1 12 #endif 13 #if defined(ILL_ILLOPN) || (defined(HAVE_DECL_ILL_ILLOPN) && HAVE_DECL_ILL_ILLOPN) 14 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 15 static_assert((ILL_ILLOPN) == (2), "ILL_ILLOPN != 2"); 16 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 17 #else 18 # define ILL_ILLOPN 2 19 #endif 20 #if defined(ILL_ILLADR) || (defined(HAVE_DECL_ILL_ILLADR) && HAVE_DECL_ILL_ILLADR) 21 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 22 static_assert((ILL_ILLADR) == (3), "ILL_ILLADR != 3"); 23 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 24 #else 25 # define ILL_ILLADR 3 26 #endif 27 #if defined(ILL_ILLTRP) || (defined(HAVE_DECL_ILL_ILLTRP) && HAVE_DECL_ILL_ILLTRP) 28 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 29 static_assert((ILL_ILLTRP) == (4), "ILL_ILLTRP != 4"); 30 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 31 #else 32 # define ILL_ILLTRP 4 33 #endif 34 #if defined(ILL_PRVOPC) || (defined(HAVE_DECL_ILL_PRVOPC) && HAVE_DECL_ILL_PRVOPC) 35 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 36 static_assert((ILL_PRVOPC) == (5), "ILL_PRVOPC != 5"); 37 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 38 #else 39 # define ILL_PRVOPC 5 40 #endif 41 #if defined(ILL_PRVREG) || (defined(HAVE_DECL_ILL_PRVREG) && HAVE_DECL_ILL_PRVREG) 42 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 43 static_assert((ILL_PRVREG) == (6), "ILL_PRVREG != 6"); 44 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 45 #else 46 # define ILL_PRVREG 6 47 #endif 48 #if defined(ILL_COPROC) || (defined(HAVE_DECL_ILL_COPROC) && HAVE_DECL_ILL_COPROC) 49 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 50 static_assert((ILL_COPROC) == (7), "ILL_COPROC != 7"); 51 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 52 #else 53 # define ILL_COPROC 7 54 #endif 55 #if defined(ILL_BADSTK) || (defined(HAVE_DECL_ILL_BADSTK) && HAVE_DECL_ILL_BADSTK) 56 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 57 static_assert((ILL_BADSTK) == (8), "ILL_BADSTK != 8"); 58 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 59 #else 60 # define ILL_BADSTK 8 61 #endif 62 63 #ifndef XLAT_MACROS_ONLY 64 65 # ifdef IN_MPERS 66 67 extern const struct xlat sigill_codes[]; 68 69 # else 70 71 # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) 72 static 73 # endif 74 const struct xlat sigill_codes[] = { 75 XLAT(ILL_ILLOPC), 76 #if defined(ILL_ILLPARAOP) || (defined(HAVE_DECL_ILL_ILLPARAOP) && HAVE_DECL_ILL_ILLPARAOP) 77 XLAT(ILL_ILLPARAOP), 78 #endif 79 XLAT(ILL_ILLOPN), 80 XLAT(ILL_ILLADR), 81 #if defined(ILL_ILLEXCPT) || (defined(HAVE_DECL_ILL_ILLEXCPT) && HAVE_DECL_ILL_ILLEXCPT) 82 XLAT(ILL_ILLEXCPT), 83 #endif 84 XLAT(ILL_ILLTRP), 85 XLAT(ILL_PRVOPC), 86 XLAT(ILL_PRVREG), 87 XLAT(ILL_COPROC), 88 XLAT(ILL_BADSTK), 89 #if defined(ILL_CPLB_VI) || (defined(HAVE_DECL_ILL_CPLB_VI) && HAVE_DECL_ILL_CPLB_VI) 90 XLAT(ILL_CPLB_VI), 91 #endif 92 #if defined(ILL_CPLB_MISS) || (defined(HAVE_DECL_ILL_CPLB_MISS) && HAVE_DECL_ILL_CPLB_MISS) 93 XLAT(ILL_CPLB_MISS), 94 #endif 95 #if defined(ILL_CPLB_MULHIT) || (defined(HAVE_DECL_ILL_CPLB_MULHIT) && HAVE_DECL_ILL_CPLB_MULHIT) 96 XLAT(ILL_CPLB_MULHIT), 97 #endif 98 #if defined(ILL_DBLFLT) || (defined(HAVE_DECL_ILL_DBLFLT) && HAVE_DECL_ILL_DBLFLT) 99 XLAT(ILL_DBLFLT), 100 #endif 101 #if defined(ILL_HARDWALL) || (defined(HAVE_DECL_ILL_HARDWALL) && HAVE_DECL_ILL_HARDWALL) 102 XLAT(ILL_HARDWALL), 103 #endif 104 #if defined(ILL_BADIADDR) || (defined(HAVE_DECL_ILL_BADIADDR) && HAVE_DECL_ILL_BADIADDR) 105 XLAT(ILL_BADIADDR), 106 #endif 107 #if defined(__ILL_BREAK) || (defined(HAVE_DECL___ILL_BREAK) && HAVE_DECL___ILL_BREAK) 108 XLAT(__ILL_BREAK), 109 #endif 110 #if defined(__ILL_BNDMOD) || (defined(HAVE_DECL___ILL_BNDMOD) && HAVE_DECL___ILL_BNDMOD) 111 XLAT(__ILL_BNDMOD), 112 #endif 113 XLAT_END 114 }; 115 116 # endif /* !IN_MPERS */ 117 118 #endif /* !XLAT_MACROS_ONLY */ 119