Update for LINUX32 rename. The assembler didn't complain about undefined

symbols but just used 0 after the rename.
This commit is contained in:
John Baldwin 2015-10-29 15:20:47 +00:00
parent 6cea44a704
commit 2219c44a1f

View File

@ -28,7 +28,7 @@ NON_GPROF_ENTRY(linux32_sigcode)
jmp *LINUX_SIGF_HANDLER(%ebx) jmp *LINUX_SIGF_HANDLER(%ebx)
.startsigcode: .startsigcode:
popl %eax popl %eax
movl $LINUX_SYS_linux_sigreturn,%eax /* linux_sigreturn() */ movl $LINUX32_SYS_linux_sigreturn,%eax /* linux_sigreturn() */
int $0x80 /* enter kernel with args */ int $0x80 /* enter kernel with args */
.endsigcode: .endsigcode:
0: jmp 0b 0: jmp 0b
@ -44,7 +44,7 @@ NON_GPROF_ENTRY(linux32_rt_sigcode)
push %eax push %eax
jmp *LINUX_RT_SIGF_HANDLER(%edi) jmp *LINUX_RT_SIGF_HANDLER(%edi)
.startrtsigcode: .startrtsigcode:
movl $LINUX_SYS_linux_rt_sigreturn,%eax /* linux_rt_sigreturn() */ movl $LINUX32_SYS_linux_rt_sigreturn,%eax /* linux_rt_sigreturn() */
int $0x80 /* enter kernel with args */ int $0x80 /* enter kernel with args */
.endrtsigcode: .endrtsigcode:
0: jmp 0b 0: jmp 0b