diff options
Diffstat (limited to 'rtkaio/sysdeps/pthread')
-rw-r--r-- | rtkaio/sysdeps/pthread/Makefile | 5 | ||||
-rw-r--r-- | rtkaio/sysdeps/pthread/Versions | 7 | ||||
-rw-r--r-- | rtkaio/sysdeps/pthread/tst-mqueue8x.c | 1 |
3 files changed, 13 insertions, 0 deletions
diff --git a/rtkaio/sysdeps/pthread/Makefile b/rtkaio/sysdeps/pthread/Makefile index 99561b7659..7ced3eb5a9 100644 --- a/rtkaio/sysdeps/pthread/Makefile +++ b/rtkaio/sysdeps/pthread/Makefile @@ -14,6 +14,11 @@ $(objpfx)tst-timer: $(objpfx)librtkaio.so $(shared-thread-library) else $(objpfx)tst-timer: $(objpfx)librtkaio.a $(static-thread-library) endif + +ifeq ($(have-forced-unwind),yes) +tests += tst-mqueue8x +CFLAGS-tst-mqueue8x.c += -fexceptions +endif endif endif diff --git a/rtkaio/sysdeps/pthread/Versions b/rtkaio/sysdeps/pthread/Versions new file mode 100644 index 0000000000..7677b76687 --- /dev/null +++ b/rtkaio/sysdeps/pthread/Versions @@ -0,0 +1,7 @@ +%ifdef HAVE_FORCED_UNWIND +librtkaio { + GLIBC_2.4 { + lio_listio; lio_listio64; + } +} +%endif diff --git a/rtkaio/sysdeps/pthread/tst-mqueue8x.c b/rtkaio/sysdeps/pthread/tst-mqueue8x.c new file mode 100644 index 0000000000..1259ebdf50 --- /dev/null +++ b/rtkaio/sysdeps/pthread/tst-mqueue8x.c @@ -0,0 +1 @@ +#include_next <tst-mqueue8x.c> |