diff options
author | Jakub Jelinek <jakub@redhat.com> | 2006-09-07 10:36:13 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2006-09-07 10:36:13 +0000 |
commit | 8021fca5412b5b1664e806556205d5cede365974 (patch) | |
tree | d5679d310773db142bf35e6cde274fa398b6190b /rtkaio/sysdeps/pthread | |
parent | bdae5218097f2181710cf9058248e4c549c6ec84 (diff) | |
download | glibc-8021fca5412b5b1664e806556205d5cede365974.tar.gz glibc-8021fca5412b5b1664e806556205d5cede365974.tar.xz glibc-8021fca5412b5b1664e806556205d5cede365974.zip |
Forward port of rtkaio.
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> |