OSDN Git Service

nptl: fix x86 assembly PIC relocations
authorTimo Teräs <timo.teras@iki.fi>
Thu, 5 Aug 2010 10:21:33 +0000 (13:21 +0300)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 5 Aug 2010 16:17:52 +0000 (18:17 +0200)
Unwind_Resume needs to be called via PLT. Most calls are already proper,
this fix the remaining two problems.

Signed-off-by: Timo Teräs <timo.teras@iki.fi>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S
libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S

index 8a0c3fb..ac7983c 100644 (file)
@@ -648,7 +648,7 @@ __condvar_tw_cleanup:
 
        movl    %esi, (%esp)
 .LcallUR:
-       call    _Unwind_Resume
+       call    _Unwind_Resume@PLT
        hlt
 .LENDCODE:
        cfi_endproc
index 006fc51..abc963f 100644 (file)
@@ -535,7 +535,7 @@ __condvar_w_cleanup:
 
        movl    %esi, (%esp)
 .LcallUR:
-       call    _Unwind_Resume
+       call    _Unwind_Resume@PLT
        hlt
 .LENDCODE:
        cfi_endproc