summaryrefslogtreecommitdiff
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.S9
1 files changed, 8 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/sysdep.S b/sysdeps/unix/sysv/linux/i386/sysdep.S
index 42f4854797..0130ad02a9 100644
--- a/sysdeps/unix/sysv/linux/i386/sysdep.S
+++ b/sysdeps/unix/sysv/linux/i386/sysdep.S
@@ -23,8 +23,15 @@ Cambridge, MA 02139, USA. */
it somewhere else.
...and this place is here. */
-.comm errno,4,4
+ .bss
+ .globl errno
+ .type errno,@object
+ .size errno,4
+errno: .space 4
+ .globl _errno
+ .type _errno,@object
_errno = errno /* This name is expected by hj libc.so.5 startup code. */
+ .text
/* The following code is not used at all in the shared library.
The PIC system call stubs set errno themselves. */