]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
authorRoland McGrath <roland@gnu.org>
Thu, 18 Jul 1996 08:41:25 +0000 (08:41 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 18 Jul 1996 08:41:25 +0000 (08:41 +0000)
* sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a
common symbol (makes errno accessible from gdb).

sysdeps/unix/alpha/sysdep.S

index 6540b80af64e36a4fab916f918bfb368ed2aace9..2d05305ce0609950b097fb8079160fe1e91389b1 100644 (file)
@@ -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