diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2013-02-08 12:38:51 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-02-08 12:38:51 +0100 |
commit | 28ac68f2ab90e85663ecedcf9b56847290cd1ed4 (patch) | |
tree | 66a3171b1f15747d364f2f19be5146d83c8ebbad /file.c | |
parent | 89804ec3e1a5c912474d43438059aef3893d2e82 (diff) | |
download | strace-28ac68f2ab90e85663ecedcf9b56847290cd1ed4.tar.gz |
Optimize AArch64 handling of 32-bit personality
By putting aarch64_regs and arm_regs into a union,
register copying is eliminated.
No need to check and change personality on syscall exit.
* defs.h: Remove unused NUM_ARM_REGS define. Fix indentation.
* syscall.c: Put aarch64_regs and arm_regs into a union.
(update_personality): Shorten bitness message.
(printcall): Add commented-out PC printing.
(get_regs): Remove now-unnecessary 64-to-32 bits register copying.
(get_syscall_result): Drop personality changing code.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'file.c')
0 files changed, 0 insertions, 0 deletions