]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Formerly unix/bsd/sun/sparc/sethostid.S.~5~
authorRoland McGrath <roland@gnu.org>
Wed, 11 Mar 1992 02:28:48 +0000 (02:28 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 11 Mar 1992 02:28:48 +0000 (02:28 +0000)
sysdeps/unix/bsd/sun/sparc/sethostid.S

index e7981e9cde13557d2060e49a1476117b20e3ebec..04e6e981be2701796467b3a4581da93eac9bbbb7 100644 (file)
@@ -32,9 +32,9 @@ ENTRY (sethostid)
        sethi %hi(___errno), %g1
        st %o0, [%g1 + %lo(___errno)]
        retl
-       sub 0, 1, %o0
+       sub %g0, 1, %o0
 
-#ifdef __GNU_STAB__
+#ifdef HAVE_GNU_LD
 
 .stabs "warning: sethostid is not implemented and will always fail",30,0,0,0
 .stabs "_sethostid",1,0,0,0