From owner-freebsd-arch@FreeBSD.ORG Mon May 5 15:24:43 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CA8E37B401 for ; Mon, 5 May 2003 15:24:43 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id A496343FD7 for ; Mon, 5 May 2003 15:24:42 -0700 (PDT) (envelope-from eischen@pcnet1.pcnet.com) Received: from pcnet1.pcnet.com (localhost [127.0.0.1]) by mail.pcnet.com (8.12.8/8.12.1) with ESMTP id h45MOfBg005155; Mon, 5 May 2003 18:24:41 -0400 (EDT) Received: from localhost (eischen@localhost)h45MOf3t005150; Mon, 5 May 2003 18:24:41 -0400 (EDT) Date: Mon, 5 May 2003 18:24:41 -0400 (EDT) From: Daniel Eischen To: "Andrey A. Chernov" In-Reply-To: <20030505221641.GA42722@nagual.pp.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Dag-Erling Smorgrav cc: freebsd-arch@freebsd.org Subject: Re: `Hiding' libc symbols X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2003 22:24:43 -0000 On Tue, 6 May 2003, Andrey A. Chernov wrote: > On Mon, May 05, 2003 at 18:02:42 -0400, Daniel Eischen wrote: > > > > Can't you still do what you want even with the standard symbols > > hidden? > > If you mean to produce linker error for replaced standard functions in > current hiding model (i.e. for threads) - I don't know - threads > implementation is completely unknown to me to deal with. The threads libraries don't have any strong symbols that don't begin with an underscore: $ nm /usr/obj/.../lib/libc_r/libc_r.so.5 | grep " T " If libc also doesn't have any strong symbols (at least for the functions you want to check), then I suppose you can check the linked application for these (strong) definitions. I don't know how to do it myself, but this may give you some idea. -- Dan Eischen