about summary refs log tree commit diff
path: root/nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-04-12 20:32:01 +0000
committerUlrich Drepper <drepper@redhat.com>2003-04-12 20:32:01 +0000
commit177d1ad3ac9aab9b8ae7e7f70c2c66b6bdb876ee (patch)
tree14a7365c1e51d7195303a37d0b8fc17677a5b831 /nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h
parent68107ec092e7cc3fcd1f56edf9da8085cffed00d (diff)
downloadglibc-177d1ad3ac9aab9b8ae7e7f70c2c66b6bdb876ee.tar.gz
glibc-177d1ad3ac9aab9b8ae7e7f70c2c66b6bdb876ee.tar.xz
glibc-177d1ad3ac9aab9b8ae7e7f70c2c66b6bdb876ee.zip
Update.
2003-04-12  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/x86_64/tls.h (THREAD_SETMEM): Word around compiler bug
	which mishandles loading of global object addresses in PIC.
	(THREAD_SETMEM_NC): Likewise.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h b/nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h
index b7009d753f..09a294b458 100644
--- a/nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h
+++ b/nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h
@@ -105,7 +105,7 @@
    cancellation state value is saved.  */
 # define EH_FRAME_0(name) \
     .byte 4;								      \
-    .long L(PUSHSTATE)-name;						      \
+    .long L(PUSHSTATE)-L(name##START);					      \
     .byte 14;								      \
     .uleb128 8;								      \
     .byte 4;								      \
@@ -122,7 +122,7 @@
    also to save the content of the %ebx register.  */
 # define EH_FRAME_3(name) \
     .byte 4;								      \
-    .long L(PUSHBX1)-name;						      \
+    .long L(PUSHBX1)-L(name##START);					      \
     .byte 14;								      \
     .uleb128 8;								      \
     .byte 4;								      \
@@ -149,7 +149,7 @@
 /* With four parameters the syscall wrappers have to save %ebx and %esi.  */
 # define EH_FRAME_4(name) \
     .byte 4;								      \
-    .long L(PUSHSI1)-name;						      \
+    .long L(PUSHSI1)-L(name##START);					      \
     .byte 14;								      \
     .uleb128 8;								      \
     .byte 4;								      \
@@ -193,7 +193,7 @@
    and %edi.  */
 # define EH_FRAME_5(name) \
     .byte 4;								      \
-    .long L(PUSHDI1)-name;						      \
+    .long L(PUSHDI1)-L(name##START);					      \
     .byte 14;								      \
     .uleb128 8;								      \
     .byte 4;								      \