diff options
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/posix/src/psignal.c | 4 | ||||
-rw-r--r-- | c/src/exec/posix/src/types.c | 57 |
2 files changed, 33 insertions, 28 deletions
diff --git a/c/src/exec/posix/src/psignal.c b/c/src/exec/posix/src/psignal.c index cac74021ad..9a43fc7c07 100644 --- a/c/src/exec/posix/src/psignal.c +++ b/c/src/exec/posix/src/psignal.c @@ -19,6 +19,10 @@ int kill( int sig ) { + /* SIGABRT comes from abort via assert */ + if ( sig == SIGABRT ) { + exit( 1 ); + } return POSIX_NOT_IMPLEMENTED(); } diff --git a/c/src/exec/posix/src/types.c b/c/src/exec/posix/src/types.c index 81a184c81a..647e0b7056 100644 --- a/c/src/exec/posix/src/types.c +++ b/c/src/exec/posix/src/types.c @@ -7,34 +7,6 @@ #include <rtems/system.h> -/* - * TEMPORARY - */ - -#include <assert.h> - -int POSIX_MP_NOT_IMPLEMENTED() -{ - assert( 0 ); - return 0; -} - -int POSIX_BOTTOM_REACHED() -{ - assert( 0 ); - return 0; -} - -int POSIX_NOT_IMPLEMENTED() -{ - assert( 0 ); - return 0; -} - -/* - * END OF TEMPORARY - */ - /*PAGE * * 4.1.1 Get Process and Parent Process IDs, P1003.1b-1993, p. 83 @@ -195,3 +167,32 @@ int setpgid( { return POSIX_NOT_IMPLEMENTED(); } + +/* + * TEMPORARY + */ + +#include <assert.h> + +int POSIX_MP_NOT_IMPLEMENTED() +{ + assert( 0 ); + return 0; +} + +int POSIX_BOTTOM_REACHED() +{ + assert( 0 ); + return 0; +} + +int POSIX_NOT_IMPLEMENTED() +{ + assert( 0 ); + return 0; +} + +/* + * END OF TEMPORARY + */ + |