]> granicus.if.org Git - strace/commit
Preparatory patch for "new" x86 personality detection
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 11 Feb 2013 11:29:36 +0000 (12:29 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 11 Feb 2013 11:29:36 +0000 (12:29 +0100)
commit59aea0a7d50f19741b95ccba64b45edd7c8d0eab
treec4e2cacfb31dc924182a2785a046edf325fb4da6
parent338c069e69d24424a11ef8ec15b5ac6a8d08c03d
Preparatory patch for "new" x86 personality detection

* syscall.c: Move PT_FLAGS_COMPAT define to its only user, get_scno().
Rename arm_regs_union's fields to names less likely to collide with
system defines.
(get_regs): Use sizeof(arm_regs_union) instead of sizeof(aarch64_regs).
This should be the same, but htis way it's cleaner.
Remove __X32_SYSCALL_MASK and use __X32_SYSCALL_BIT instead.
Explain 64-bit check in X32 build better.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
syscall.c