From: Roland McGrath Date: Thu, 18 Jul 1996 08:41:25 +0000 (+0000) Subject: Wed Jul 17 10:54:20 1996 David Mosberger-Tang X-Git-Tag: glibc-2.16-ports-before-merge~3751 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7cc46c197625caabaa012dc6c48ae86a98e92510;p=thirdparty%2Fglibc.git Wed Jul 17 10:54:20 1996 David Mosberger-Tang * sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a common symbol (makes errno accessible from gdb). --- diff --git a/sysdeps/unix/alpha/sysdep.S b/sysdeps/unix/alpha/sysdep.S index 6540b80af64..2d05305ce06 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 - .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