From owner-freebsd-commit Tue Mar 28 07:52:27 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id HAA16802 for commit-outgoing; Tue, 28 Mar 1995 07:52:27 -0800 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id HAA16789 for cvs-lib-outgoing; Tue, 28 Mar 1995 07:52:22 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.223.46]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id HAA16779; Tue, 28 Mar 1995 07:52:09 -0800 Received: from trout.sri.MT.net (trout.sri.MT.net [204.182.243.12]) by time.cdrom.com (8.6.11/8.6.9) with ESMTP id HAA22315; Tue, 28 Mar 1995 07:52:02 -0800 Received: (from nate@localhost) by trout.sri.MT.net (8.6.9/8.6.9) id IAA06964; Tue, 28 Mar 1995 08:56:00 -0700 Date: Tue, 28 Mar 1995 08:56:00 -0700 Message-Id: <199503281556.IAA06964@trout.sri.MT.net> To: "Jordan K. Hubbard" Cc: Bruce Evans , CVS-commiters@time.cdrom.com, cvs-lib@time.cdrom.com, jkh@freebsd.org Subject: Re: cvs commit: src/lib/libc/stdlib strhash.c In-Reply-To: <6298.796386190@freefall.cdrom.com> References: <199503281005.UAA18620@godzilla.zeta.org.au> <6298.796386190@freefall.cdrom.com> Reply-To: nate@sneezy.sri.com (Nate Williams) From: nate@sneezy.sri.com (Nate Williams) Sender: commit-owner@freebsd.org Precedence: bulk > > You never needed to rename hash() to _hash(). It is static so it doesn't > > contribute to namespace pollution. Adding a leading underscore just moves > > it into the implementation's namespace and might cause problems if the > > Well, then we have a problem because the friggin' thing DOES clash when > you try to link anything with it otherwise! :-( :-( > > Give it a try. Perhaps Nate should look into this too, since it's > possibly something suspicious with the new ld stuff. I'll look into it this evening. However, it shouldn't be a ld issue, but it may be a compiler/strip issue. If the routine is declared static, it's symbol should never be seen in the symbol table. That feature is a function of the compiler, not of the linker/loader. (Except when it was compiled with debugging I believe, though I'm not positive on that account) Nate