mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-18 00:41:06 +00:00
Define _errno as weak_alias, rewrite errno declaration.
This commit is contained in:
parent
ea0499d2b8
commit
598f68bf68
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1992, 1993, 1994, 1997 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1992, 1993, 1994, 1997, 1998 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Brendan Kehoe (brendan@zen.org).
|
||||
|
||||
@ -21,10 +21,16 @@
|
||||
#define _ERRNO_H
|
||||
#include <bits/errno.h>
|
||||
|
||||
.comm errno, 4
|
||||
.bss
|
||||
.globl errno
|
||||
#ifdef __ELF__
|
||||
.type errno, @object
|
||||
.type errno, @object
|
||||
#endif
|
||||
.size errno, 4
|
||||
errno:
|
||||
.space 4
|
||||
|
||||
weak_alias (errno, _errno)
|
||||
|
||||
.set noreorder
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user