mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 05:50:14 +00:00
Use C_SYMBOL_NAME when referring to errno and _errno.
This commit is contained in:
parent
e0ebc3b2ef
commit
c61de13d2c
@ -20,13 +20,15 @@
|
||||
|
||||
/* We define errno here, to be consistent with Linux/i386. */
|
||||
.bss
|
||||
.globl errno
|
||||
.type errno,%object
|
||||
.size errno,4
|
||||
errno: .zero 4
|
||||
.globl _errno
|
||||
.type _errno,%object
|
||||
_errno = errno /* This name is expected by hj's libc.so.5 startup code. */
|
||||
.globl C_SYMBOL_NAME(errno)
|
||||
.type C_SYMBOL_NAME(errno),%object
|
||||
.size C_SYMBOL_NAME(errno),4
|
||||
C_SYMBOL_NAME(errno): .zero 4
|
||||
.globl C_SYMBOL_NAME(_errno)
|
||||
.type C_SYMBOL_NAME(_errno),%object
|
||||
/* This name is expected by hj's libc.so.5 startup code. It seems to be needed
|
||||
by pthreads as well. */
|
||||
C_SYMBOL_NAME(_errno) = C_SYMBOL_NAME(errno)
|
||||
.text
|
||||
|
||||
/* The syscall stubs jump here when they detect an error.
|
||||
|
Loading…
Reference in New Issue
Block a user