source: trunk/libs/newlib/src/newlib/libc/sys/sysvi386/sigaction.S

Last change on this file was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 551 bytes
Line 
1/
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.
8
9sigret:
10        addl    $4, %esp
11        lcall   $0xf, $0
12        .globl  sigaction
13sigaction:
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
Note: See TracBrowser for help on using the repository browser.