aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-04-16 22:04:55 +0000
committerUlrich Drepper <drepper@redhat.com>2004-04-16 22:04:55 +0000
commitb575c52b86fe0c00adec925e356eb72cf95b23a7 (patch)
treea52b53167347aaa29aa9a712ebffbef4ef3ba0d7 /linuxthreads
parentefa8adf5f9bb4ababd27d13e37d97687dfa0a8b4 (diff)
downloadglibc-b575c52b86fe0c00adec925e356eb72cf95b23a7.tar
glibc-b575c52b86fe0c00adec925e356eb72cf95b23a7.tar.gz
glibc-b575c52b86fe0c00adec925e356eb72cf95b23a7.tar.bz2
glibc-b575c52b86fe0c00adec925e356eb72cf95b23a7.zip
Update.
2004-04-16 Ulrich Drepper <drepper@redhat.com> * sysdeps/ieee754/bits/nan.h (__nan_union): Add __attribute_used__ attribute to keep gcc quiet.
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/linuxthreads/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h b/linuxthreads/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h
index ec21949a49..7865f7165e 100644
--- a/linuxthreads/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h
+++ b/linuxthreads/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h
@@ -96,19 +96,21 @@
# define CENABLE call __pthread_enable_asynccancel;
# define CDISABLE call __pthread_disable_asynccancel
# elif defined IS_IN_librt
-# ifdef __PIC__
+# ifdef PIC
# define CENABLE pushl %ebx; \
- SETUP_PIC_REG(bx); \
+ call __i686.get_pc_thunk.bx; \
+ addl $_GLOBAL_OFFSET_TABLE_, %ebx; \
call __librt_enable_asynccancel@PLT; \
popl %ebx;
# define CDISABLE pushl %ebx; \
- SETUP_PIC_REG(bx); \
+ call __i686.get_pc_thunk.bx; \
+ addl $_GLOBAL_OFFSET_TABLE_, %ebx; \
call __librt_disable_asynccancel@PLT; \
popl %ebx;
# else
# define CENABLE call __librt_enable_asynccancel;
# define CDISABLE call __librt_disable_asynccancel
- #endif
+# endif
# else
# define CENABLE call __libc_enable_asynccancel;
# define CDISABLE call __libc_disable_asynccancel