about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/i386/sysdep.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/sysdep.S')
-rw-r--r--sysdeps/unix/sysv/linux/i386/sysdep.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/sysdep.S b/sysdeps/unix/sysv/linux/i386/sysdep.S
index 180c42506e..2d099f94af 100644
--- a/sysdeps/unix/sysv/linux/i386/sysdep.S
+++ b/sysdeps/unix/sysv/linux/i386/sysdep.S
@@ -31,8 +31,7 @@
 	.size errno,4
 errno:
 	.space	4
-	.globl	_errno
-_errno = errno
+weak_alias (errno, _errno)
 
 /* The following code is only used in the shared library when we
    compile the reentrant version.  Otherwise each system call defines