Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>

* sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a
	common symbol (makes errno accessible from gdb).
This commit is contained in:
Roland McGrath 1996-07-18 08:41:25 +00:00
parent aa6ab54663
commit 7cc46c1976

View 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