This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[COMMITED] Fix typo in _dl_tlsdesc_resolve_hold
- From: OndÅej BÃlka <neleai at seznam dot cz>
- To: libc-alpha at sourceware dot org
- Date: Tue, 26 Nov 2013 12:46:29 +0100
- Subject: [COMMITED] Fix typo in _dl_tlsdesc_resolve_hold
- Authentication-results: sourceware.org; auth=none
Hi, as mentioned in other thread when porting tls to x64 from x86 there
was a leftover jump that uses only lower 32bits.
Fix commited as obvious.
* sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
diff --git a/sysdeps/x86_64/dl-tlsdesc.S b/sysdeps/x86_64/dl-tlsdesc.S
index de5219a..3468045 100644
--- a/sysdeps/x86_64/dl-tlsdesc.S
+++ b/sysdeps/x86_64/dl-tlsdesc.S
@@ -239,6 +239,6 @@ _dl_tlsdesc_resolve_hold:
movq 64(%rsp), %rcx
addq $72, %rsp
cfi_adjust_cfa_offset (-72)
- jmp *(%eax)
+ jmp *(%rax)
cfi_endproc
.size _dl_tlsdesc_resolve_hold, .-_dl_tlsdesc_resolve_hold