From 4c01c1dcf2a424ba5dd592f4f5faf913e14038eb Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 1 Jul 1998 09:33:01 +0000 Subject: [PATCH] Make _errno a weak alias, not a strong alias. --- sysdeps/unix/sysv/linux/arm/sysdep.S | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sysdeps/unix/sysv/linux/arm/sysdep.S b/sysdeps/unix/sysv/linux/arm/sysdep.S index f6cb3e4..872ed4b 100644 --- a/sysdeps/unix/sysv/linux/arm/sysdep.S +++ b/sysdeps/unix/sysv/linux/arm/sysdep.S @@ -24,11 +24,7 @@ .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) +weak_alias (C_SYMBOL_NAME(errno), C_SYMBOL_NAME(_errno)) .text /* The syscall stubs jump here when they detect an error. -- 2.7.4