1 /* Generated by ./src/xlat/gen.sh from ./src/xlat/sigemt_codes.in; do not edit. */
2
3 #include "gcc_compat.h"
4 #include "static_assert.h"
5
6 #if defined(EMT_TAGOVF) || (defined(HAVE_DECL_EMT_TAGOVF) && HAVE_DECL_EMT_TAGOVF)
7 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
8 static_assert((EMT_TAGOVF) == (1), "EMT_TAGOVF != 1");
9 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
10 #else
11 # define EMT_TAGOVF 1
12 #endif
13 #undef XLAT_PREV_VAL
14
15 #ifndef XLAT_MACROS_ONLY
16
17 # ifdef IN_MPERS
18
19 extern const struct xlat sigemt_codes[];
20
21 # else
22
23 DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
24 static const struct xlat_data sigemt_codes_xdata[] = {
25 XLAT(EMT_TAGOVF),
26 #define XLAT_VAL_0 ((unsigned) (EMT_TAGOVF))
27 #define XLAT_STR_0 STRINGIFY(EMT_TAGOVF)
28 };
29 # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS)
30 static
31 # endif
32 const struct xlat sigemt_codes[1] = { {
33 .data = sigemt_codes_xdata,
34 .size = ARRAY_SIZE(sigemt_codes_xdata),
35 .type = XT_NORMAL,
36 .flags_mask = 0
37 # ifdef XLAT_VAL_0
38 | XLAT_VAL_0
39 # endif
40 ,
41 .flags_strsz = 0
42 # ifdef XLAT_STR_0
43 + sizeof(XLAT_STR_0)
44 # endif
45 ,
46 } };
47 DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
48
49 # undef XLAT_STR_0
50 # undef XLAT_VAL_0
51 # endif /* !IN_MPERS */
52
53 #endif /* !XLAT_MACROS_ONLY */