aboutsummaryrefslogtreecommitdiff
path: root/nptl/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-12 21:51:52 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-12 21:51:52 +0000
commitefd56f5391638567bef3755a28be639d1a763167 (patch)
treeeb7b1fd34a25524948b684d1312744cf59ed2c6a /nptl/sysdeps
parent2ad2e1e702f5a949f58e039f7166b0920503ce39 (diff)
downloadglibc-efd56f5391638567bef3755a28be639d1a763167.tar
glibc-efd56f5391638567bef3755a28be639d1a763167.tar.gz
glibc-efd56f5391638567bef3755a28be639d1a763167.tar.bz2
glibc-efd56f5391638567bef3755a28be639d1a763167.zip
Update.
* elf/Makefile (tests): Add rules to build and run check-textrel. * elf/check-textrel.c: New file.
Diffstat (limited to 'nptl/sysdeps')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S25
1 files changed, 13 insertions, 12 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S
index 107590974c..65e39e7829 100644
--- a/nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S
+++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S
@@ -49,9 +49,9 @@ __lll_lock_wait:
orl $-1, %eax /* Load -1. */
#ifndef UP
# ifdef PIC
- call __i686.get_pc_thunk.bx
- addl $_GLOBAL_OFFSET_TABLE_, %ebx
- cmpl $0, __libc_locking_needed@GOTOFF(%ebx)
+ call __i686.get_pc_thunk.dx
+ addl $_GLOBAL_OFFSET_TABLE_, %edx
+ cmpl $0, __libc_locking_needed@GOTOFF(%edx)
# else
cmpl $0, __libc_locking_needed
# endif
@@ -84,9 +84,9 @@ lll_unlock_wake_cb:
movl 20(%esp), %ebx
#ifndef UP
# ifdef PIC
- call __i686.get_pc_thunk.bx
- addl $_GLOBAL_OFFSET_TABLE_, %ebx
- cmpl $0, __libc_locking_needed@GOTOFF(%ebx)
+ call __i686.get_pc_thunk.dx
+ addl $_GLOBAL_OFFSET_TABLE_, %edx
+ cmpl $0, __libc_locking_needed@GOTOFF(%edx)
# else
cmpl $0, __libc_locking_needed
# endif
@@ -196,10 +196,11 @@ __lll_timedwait_tid:
.size __lll_timedwait_tid,.-__lll_timedwait_tid
- .section .gnu.linkonce.t.__i686.get_pc_thunk.bx,"ax",@progbits
- .globl __i686.get_pc_thunk.bx
- .hidden __i686.get_pc_thunk.bx
- .type __i686.get_pc_thunk.bx,@function
-__i686.get_pc_thunk.bx:
- movl (%esp), %ebx
+ .section .gnu.linkonce.t.__i686.get_pc_thunk.dx,"ax",@progbits
+ .globl __i686.get_pc_thunk.dx
+ .hidden __i686.get_pc_thunk.dx
+ .type __i686.get_pc_thunk.dx,@function
+__i686.get_pc_thunk.dx:
+ movl (%esp), %edx
ret
+ .size __i686.get_pc_thunk.dx,.-__i686.get_pc_thunk.dx