summary refs log tree commit diff
path: root/sysdeps/unix/alpha
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/alpha')
-rw-r--r--sysdeps/unix/alpha/sysdep.S8
1 files changed, 6 insertions, 2 deletions
diff --git a/sysdeps/unix/alpha/sysdep.S b/sysdeps/unix/alpha/sysdep.S
index 6540b80af6..2d05305ce0 100644
--- a/sysdeps/unix/alpha/sysdep.S
+++ b/sysdeps/unix/alpha/sysdep.S
@@ -20,11 +20,15 @@ Cambridge, MA 02139, USA.  */
 #define _ERRNO_H
 #include <errnos.h>
 
-       .comm errno, 4
+	.section .bss
+	.globl errno
+errno:	.space 4
 #ifdef __ELF__
-       .type errno, @object
+	.type errno, @object
+	.size errno, 4
 #endif
 
+	.text
 LEAF(__syscall_error, 0)
 	ldgp	gp, 0(t12)
 	.prologue 1