]> granicus.if.org Git - strace/commit
mips o32: fix build
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 8 Jan 2019 19:23:44 +0000 (19:23 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 8 Jan 2019 02:27:18 +0000 (02:27 +0000)
commit2c8b6de913973274e877639658e9e7273a012adb
tree61e7b08b1e39ab190f2e4d0d0daaadbea671907e
parentf414d9e3bae40e4eb6426a6d414f0ec2265e93ae
mips o32: fix build

Commit 917c2ccf3a67 "Refactor stack pointers" moved mips_REG_* macros
from linux/mips/arch_regs.h to linux/mips/arch_regs.c because these
macros are no longer used outside syscall.c or files included by
syscall.c, but this caused a build regression on mips o32 because
decode_syscall_subcall() uses mips_REG_SP prior to its definition.

* syscall.c (decode_syscall_subcall): Move ...
* linux/mips/get_syscall_args.c: ... here.
* NEWS: Mention this fix.

Reported-by: Baruch Siach <baruch@tkos.co.il>
Fixes: v4.26~61 "Refactor stack pointers"
NEWS
linux/mips/get_syscall_args.c
syscall.c