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