aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/arm/sysdep.S
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-06-01 13:37:18 +0000
committerUlrich Drepper <drepper@redhat.com>1998-06-01 13:37:18 +0000
commitc61de13d2c39df8cfd82e832fbaf2dda8c317e64 (patch)
tree4fd082fe7b7b8235f28894ae3b5bf9a3dd6f63af /sysdeps/unix/sysv/linux/arm/sysdep.S
parente0ebc3b2efdd8ed600598fa589a151c7b74bfd03 (diff)
downloadglibc-c61de13d2c39df8cfd82e832fbaf2dda8c317e64.tar
glibc-c61de13d2c39df8cfd82e832fbaf2dda8c317e64.tar.gz
glibc-c61de13d2c39df8cfd82e832fbaf2dda8c317e64.tar.bz2
glibc-c61de13d2c39df8cfd82e832fbaf2dda8c317e64.zip
Use C_SYMBOL_NAME when referring to errno and _errno.
Diffstat (limited to 'sysdeps/unix/sysv/linux/arm/sysdep.S')
-rw-r--r--sysdeps/unix/sysv/linux/arm/sysdep.S16
1 files changed, 9 insertions, 7 deletions
diff --git a/sysdeps/unix/sysv/linux/arm/sysdep.S b/sysdeps/unix/sysv/linux/arm/sysdep.S
index 482535bea5..f6cb3e4648 100644
--- a/sysdeps/unix/sysv/linux/arm/sysdep.S
+++ b/sysdeps/unix/sysv/linux/arm/sysdep.S
@@ -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.