mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-08 14:20:07 +00:00
linux: mips: Fix syscall_cancell build for __mips_isa_rev >= 6
Use beqzc instead of bnel. Checked with a mipsisa64r6el-n64-linux-gnu build and some nptl cancellation tests on qemu.
This commit is contained in:
parent
3844cdc330
commit
1927f718fc
@ -77,7 +77,11 @@ __syscall_cancel_arch_end:
|
|||||||
|
|
||||||
.set noreorder
|
.set noreorder
|
||||||
.set nomacro
|
.set nomacro
|
||||||
|
#if __mips_isa_rev >= 6
|
||||||
|
beqzc $7, 1f
|
||||||
|
#else
|
||||||
bnel a3, zero, 1f
|
bnel a3, zero, 1f
|
||||||
|
#endif
|
||||||
SUBU v0, zero, v0
|
SUBU v0, zero, v0
|
||||||
.set macro
|
.set macro
|
||||||
.set reorder
|
.set reorder
|
||||||
|
Loading…
Reference in New Issue
Block a user