Browse Source

nptl: fix x86 assembly PIC relocations

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>
Timo Teräs 13 years ago
parent
commit
a49b3a18e4

+ 1 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S

@@ -648,7 +648,7 @@ __condvar_tw_cleanup:
 
 	movl	%esi, (%esp)
 .LcallUR:
-	call	_Unwind_Resume
+	call	_Unwind_Resume@PLT
 	hlt
 .LENDCODE:
 	cfi_endproc

+ 1 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S

@@ -535,7 +535,7 @@ __condvar_w_cleanup:
 
 	movl	%esi, (%esp)
 .LcallUR:
-	call	_Unwind_Resume
+	call	_Unwind_Resume@PLT
 	hlt
 .LENDCODE:
 	cfi_endproc