From b12f81969618c478e5a1619403b92e63078448f5 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 11 Mar 1992 02:28:48 +0000 Subject: [PATCH] Formerly unix/bsd/sun/sparc/sethostid.S.~5~ --- sysdeps/unix/bsd/sun/sparc/sethostid.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sysdeps/unix/bsd/sun/sparc/sethostid.S b/sysdeps/unix/bsd/sun/sparc/sethostid.S index e7981e9cde..04e6e981be 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 -- 2.43.5