Updated to fedora-glibc-20041005T0745
[kopensolaris-gnu/glibc.git] / sysdeps / unix / sysv / linux / m68k / sysdep.h
index 234ce32..091dfc9 100644 (file)
@@ -98,7 +98,7 @@
 # if RTLD_PRIVATE_ERRNO
 #  define SYSCALL_ERROR_HANDLER                                                      \
 SYSCALL_ERROR_LABEL:                                                         \
 # if RTLD_PRIVATE_ERRNO
 #  define SYSCALL_ERROR_HANDLER                                                      \
 SYSCALL_ERROR_LABEL:                                                         \
-    lea (errno, %pc), %a0;                                                   \
+    lea (rtld_errno, %pc), %a0;                                                      \
     neg.l %d0;                                                               \
     move.l %d0, (%a0);                                                       \
     move.l &-1, %d0;                                                         \
     neg.l %d0;                                                               \
     move.l %d0, (%a0);                                                       \
     move.l &-1, %d0;                                                         \