Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adjust the high bit here as this is for 32bit mips

commit d62553b108aa27c0c020dbb771d29f8673807a3b 1 parent 2cb4df3
@seanbruno authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  bsd-user/mips/target_arch_sigtramp.h
View
2  bsd-user/mips/target_arch_sigtramp.h
@@ -8,7 +8,7 @@ static inline abi_long setup_sigtramp(abi_ulong offset, unsigned sigf_uc,
{
int i;
uint32_t sigtramp_code[TARGET_SZSIGCODE/TARGET_INSN_SIZE] = {
- /* 1 */ 0x67A40000 + sigf_uc, /* daddu $a0, $sp, (sigf_uc) */
+ /* 1 */ 0x27A40000 + sigf_uc, /* daddu $a0, $sp, (sigf_uc) */
/* 2 */ 0x24020000 + sys_sigreturn, /* li $v0, (sys_sigreturn) */
/* 3 */ 0x0000000C, /* syscall */
/* 4 */ 0x0000000D /* break */
Please sign in to comment.
Something went wrong with that request. Please try again.