]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Make _errno a weak alias, not a strong alias.
authorUlrich Drepper <drepper@redhat.com>
Wed, 1 Jul 1998 09:33:01 +0000 (09:33 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 1 Jul 1998 09:33:01 +0000 (09:33 +0000)
sysdeps/unix/sysv/linux/arm/sysdep.S

index f6cb3e4648c2974f1155ed3940343fbcb4c9c999..872ed4b555c6ca9e5ddae03311d0523ead44adba 100644 (file)
        .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.