From: Roland McGrath Date: Wed, 11 Mar 1992 02:28:48 +0000 (+0000) Subject: Formerly unix/bsd/sun/sparc/sethostid.S.~5~ X-Git-Tag: glibc-2.16-ports-before-merge~4406 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b12f81969618c478e5a1619403b92e63078448f5;p=thirdparty%2Fglibc.git Formerly unix/bsd/sun/sparc/sethostid.S.~5~ --- diff --git a/sysdeps/unix/bsd/sun/sparc/sethostid.S b/sysdeps/unix/bsd/sun/sparc/sethostid.S index e7981e9cde1..04e6e981be2 100644 --- a/sysdeps/unix/bsd/sun/sparc/sethostid.S +++ b/sysdeps/unix/bsd/sun/sparc/sethostid.S @@ -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