]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Define _errno as weak_alias, rewrite errno declaration.
authorUlrich Drepper <drepper@redhat.com>
Sat, 28 Nov 1998 21:00:06 +0000 (21:00 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 28 Nov 1998 21:00:06 +0000 (21:00 +0000)
sysdeps/unix/mips/sysdep.S

index 4275d664ec019c457fae55d8712f0a40f38ca6d4..fa8888663e0af5c92493d4a70f3cda7f93937dfc 100644 (file)
@@ -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).
 
 #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