aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/x86_64/sysdep.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/x86_64/sysdep.S')
-rw-r--r--sysdeps/unix/x86_64/sysdep.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/x86_64/sysdep.S b/sysdeps/unix/x86_64/sysdep.S
index d2c3d0916c..0d0d715052 100644
--- a/sysdeps/unix/x86_64/sysdep.S
+++ b/sysdeps/unix/x86_64/sysdep.S
@@ -67,7 +67,7 @@ notb:
# endif
#else
# if RTLD_PRIVATE_ERRNO
- leaq errno(%rip), %rcx
+ leaq rtld_errno(%rip), %rcx
movl %eax, (%rcx)
# elif !defined _LIBC_REENTRANT
movq C_SYMBOL_NAME(errno)@GOTPCREL(%rip), %rcx