]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
Update for LINUX32 rename. The assembler didn't complain about undefined
authorjhb <jhb@FreeBSD.org>
Thu, 29 Oct 2015 15:20:47 +0000 (15:20 +0000)
committerjhb <jhb@FreeBSD.org>
Thu, 29 Oct 2015 15:20:47 +0000 (15:20 +0000)
symbols but just used 0 after the rename.

sys/amd64/linux32/linux32_locore.s

index 4edbdf3db6309280d354afff08e80ec0862dd3e9..7bbd69a566fc19ae36dabcd3ee4e2d2e59c427ee 100644 (file)
@@ -28,7 +28,7 @@ NON_GPROF_ENTRY(linux32_sigcode)
        jmp     *LINUX_SIGF_HANDLER(%ebx)
 .startsigcode:
        popl    %eax
-       movl    $LINUX_SYS_linux_sigreturn,%eax /* linux_sigreturn() */
+       movl    $LINUX32_SYS_linux_sigreturn,%eax       /* linux_sigreturn() */
        int     $0x80                           /* enter kernel with args */
 .endsigcode:
 0:     jmp     0b
@@ -44,7 +44,7 @@ NON_GPROF_ENTRY(linux32_rt_sigcode)
        push    %eax
        jmp     *LINUX_RT_SIGF_HANDLER(%edi)
 .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 */
 .endrtsigcode:
 0:     jmp     0b