fixed bash/dash/sh issue (Ubuntu)
[zpugcc/jano.git] / toolchain / gcc / newlib / libc / sys / sysvi386 / sigaction.s
blob35a1b8d2a0e876fe449cfd0ac7ce4efa5c734cdc
2 / The SCO signal stuff seems to be weird. The POSIX stuff appears to
3 / "extended" system calls, and use values in eax and edx.
4 / Like most of the other signal routines, it takes a function pointer
5 / in %edx. Since this function is terribly small, I am including it
6 / in all of the ones that need it, for now at least. Seems silly to include
7 / a whole file for two instructions.
9 sigret:
10 addl $4, %esp
11 lcall $0xf, $0
12 .globl sigaction
13 sigaction:
14 movl $0x2728, %eax
15 movl sigret, %edx
16 lcall $7,$0
17 jb _cerror
18 ret
19 addl $4, %esp
20 lcall $0xf,$0