xlat: add arch-specific si_codes constants

Based on Linux commits v4.16-rc1~159^2~17, v4.16-rc1~159^2~16,
v4.16-rc1~159^2~15, and v4.16-rc1~159^2~14.

* xlat/sigbus_codes.in (BUS_OPFETCH): New constant.
* xlat/sigfpe_codes.in (FPE_MDAOVF, __FPE_DECOVF, __FPE_DECDIV,
__FPE_DECERR, __FPE_INVASC, __FPE_INVDEC): New constants.
* xlat/sigill_codes.in (ILL_ILLPARAOP, ILL_ILLEXCPT, ILL_CPLB_VI,
ILL_CPLB_MISS, ILL_CPLB_MULHIT, ILL_DBLFLT, ILL_HARDWALL, ILL_BADIADDR,
__ILL_BREAK, __ILL_BNDMOD): Likewise.
* xlat/sigsegv_codes.in (SEGV_STACKFLOW, __SEGV_PSTKOVF): Likewise.
* xlat/sigtrap_codes.in (TRAP_STEP, TRAP_TRACEFLOW, TRAP_WATCHPT,
TRAP_ILLTRAP): Likewise.
* NEWS: Mention it.
This commit is contained in:
Eugene Syromyatnikov 2018-02-12 20:45:24 +01:00 committed by Dmitry V. Levin
parent d824282814
commit a3b09b9c3b
6 changed files with 24 additions and 0 deletions

1
NEWS
View File

@ -8,6 +8,7 @@ Noteworthy changes in release ?.?? (????-??-??)
* IPv6 addresses shown in socket information in -yy mode are now printed
in brackets.
* Enhanced NETLINK_ROUTE protocol decoding.
* Updated lists of signal codes.
* Updated the list of RWF_* constants.
* Bug fixes

View File

@ -1,5 +1,6 @@
BUS_ADRALN 1
BUS_ADRERR 2
BUS_OBJERR 3
BUS_OPFETCH /* 4 - bfin */
BUS_MCEERR_AR 4
BUS_MCEERR_AO 5

View File

@ -6,3 +6,9 @@ FPE_FLTUND 5
FPE_FLTRES 6
FPE_FLTINV 7
FPE_FLTSUB 8
FPE_MDAOVF /* 9 - frv */
__FPE_DECOVF /* 9 - ia64 */
__FPE_DECDIV /* 10 - ia64 */
__FPE_DECERR /* 11 - ia64 */
__FPE_INVASC /* 12 - ia64 */
__FPE_INVDEC /* 13 - ia64 */

View File

@ -1,8 +1,18 @@
ILL_ILLOPC 1
ILL_ILLPARAOP /* 2 - bfin */
ILL_ILLOPN 2
ILL_ILLADR 3
ILL_ILLEXCPT /* 4 - bfin */
ILL_ILLTRP 4
ILL_PRVOPC 5
ILL_PRVREG 6
ILL_COPROC 7
ILL_BADSTK 8
ILL_CPLB_VI /* 9 - bfin */
ILL_CPLB_MISS /* 10 - bfin */
ILL_CPLB_MULHIT /* 11 - bfin */
ILL_DBLFLT /* 9 - tile */
ILL_HARDWALL /* 10 - tile */
ILL_BADIADDR /* 9 - ia64 */
__ILL_BREAK /* 10 - ia64 */
__ILL_BNDMOD /* 11 - ia64 */

View File

@ -1,4 +1,6 @@
SEGV_MAPERR 1
SEGV_ACCERR 2
SEGV_STACKFLOW /* 3 - bfin */
SEGV_BNDERR 3
__SEGV_PSTKOVF /* 4 - ia64 */
SEGV_PKUERR 4

View File

@ -1,4 +1,8 @@
TRAP_STEP /* 1 - bfin */
TRAP_BRKPT 1
TRAP_TRACEFLOW /* 2 - bfin */
TRAP_TRACE 2
TRAP_WATCHPT /* 3 - bfin */
TRAP_BRANCH 3
TRAP_ILLTRAP /* 4 - bfin */
TRAP_HWBKPT 4