Home | History | Annotate | Download | only in xlat
      1 /* Generated by ./xlat/gen.sh from ./xlat/sigsegv_codes.in; do not edit. */
      2 #if !(defined(SEGV_MAPERR) || (defined(HAVE_DECL_SEGV_MAPERR) && HAVE_DECL_SEGV_MAPERR))
      3 # define SEGV_MAPERR 1
      4 #endif
      5 #if !(defined(SEGV_ACCERR) || (defined(HAVE_DECL_SEGV_ACCERR) && HAVE_DECL_SEGV_ACCERR))
      6 # define SEGV_ACCERR 2
      7 #endif
      8 #if !(defined(SEGV_BNDERR) || (defined(HAVE_DECL_SEGV_BNDERR) && HAVE_DECL_SEGV_BNDERR))
      9 # define SEGV_BNDERR 3
     10 #endif
     11 #if !(defined(SEGV_PKUERR) || (defined(HAVE_DECL_SEGV_PKUERR) && HAVE_DECL_SEGV_PKUERR))
     12 # define SEGV_PKUERR 4
     13 #endif
     14 
     15 #ifdef IN_MPERS
     16 
     17 extern const struct xlat sigsegv_codes[];
     18 
     19 #else
     20 
     21 # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS)
     22 static
     23 # endif
     24 const struct xlat sigsegv_codes[] = {
     25  XLAT(SEGV_MAPERR),
     26  XLAT(SEGV_ACCERR),
     27  XLAT(SEGV_BNDERR),
     28  XLAT(SEGV_PKUERR),
     29  XLAT_END
     30 };
     31 
     32 #endif /* !IN_MPERS */
     33