Deleted Added
full compact
linux32_locore.s (293536) linux32_locore.s (294368)
1/* $FreeBSD: stable/10/sys/amd64/linux32/linux32_locore.s 293536 2016-01-09 16:25:30Z dchagin $ */
1/* $FreeBSD: stable/10/sys/amd64/linux32/linux32_locore.s 294368 2016-01-20 01:09:53Z jhb $ */
2
3#include "linux32_assym.h" /* system definitions */
4#include <machine/asmacros.h> /* miscellaneous asm macros */
5
6#include <amd64/linux32/linux32_syscall.h> /* system call numbers */
7
8.data
9

--- 13 unchanged lines hidden (view full) ---

23 call .getip0
24.getip0:
25 popl %eax
26 add $.startsigcode-.getip0, %eax /* ret address */
27 push %eax
28 jmp *LINUX_SIGF_HANDLER(%ebx)
29.startsigcode:
30 popl %eax
2
3#include "linux32_assym.h" /* system definitions */
4#include <machine/asmacros.h> /* miscellaneous asm macros */
5
6#include <amd64/linux32/linux32_syscall.h> /* system call numbers */
7
8.data
9

--- 13 unchanged lines hidden (view full) ---

23 call .getip0
24.getip0:
25 popl %eax
26 add $.startsigcode-.getip0, %eax /* ret address */
27 push %eax
28 jmp *LINUX_SIGF_HANDLER(%ebx)
29.startsigcode:
30 popl %eax
31 movl $LINUX_SYS_linux_sigreturn,%eax /* linux_sigreturn() */
31 movl $LINUX32_SYS_linux_sigreturn,%eax /* linux_sigreturn() */
32 int $0x80 /* enter kernel with args */
33.endsigcode:
340: jmp 0b
35
36NON_GPROF_ENTRY(linux32_rt_sigcode)
37 leal LINUX_RT_SIGF_UC(%esp),%ebx /* linux ucp */
38 leal LINUX_RT_SIGF_SC(%ebx),%ecx /* linux sigcontext */
39 movl %esp, %edi
40 call .getip1
41.getip1:
42 popl %eax
43 add $.startrtsigcode-.getip1, %eax /* ret address */
44 push %eax
45 jmp *LINUX_RT_SIGF_HANDLER(%edi)
46.startrtsigcode:
32 int $0x80 /* enter kernel with args */
33.endsigcode:
340: jmp 0b
35
36NON_GPROF_ENTRY(linux32_rt_sigcode)
37 leal LINUX_RT_SIGF_UC(%esp),%ebx /* linux ucp */
38 leal LINUX_RT_SIGF_SC(%ebx),%ecx /* linux sigcontext */
39 movl %esp, %edi
40 call .getip1
41.getip1:
42 popl %eax
43 add $.startrtsigcode-.getip1, %eax /* ret address */
44 push %eax
45 jmp *LINUX_RT_SIGF_HANDLER(%edi)
46.startrtsigcode:
47 movl $LINUX_SYS_linux_rt_sigreturn,%eax /* linux_rt_sigreturn() */
47 movl $LINUX32_SYS_linux_rt_sigreturn,%eax /* linux_rt_sigreturn() */
48 int $0x80 /* enter kernel with args */
49.endrtsigcode:
500: jmp 0b
51
52NON_GPROF_ENTRY(linux32_vsyscall)
53.startvsyscall:
54 int $0x80
55 ret

--- 101 unchanged lines hidden ---
48 int $0x80 /* enter kernel with args */
49.endrtsigcode:
500: jmp 0b
51
52NON_GPROF_ENTRY(linux32_vsyscall)
53.startvsyscall:
54 int $0x80
55 ret

--- 101 unchanged lines hidden ---