Date: Thu, 17 Dec 1998 17:03:31 +1100 From: Bruce Evans <bde@zeta.org.au> To: committers@FreeBSD.ORG, des@flood.ping.uio.no Subject: Re: hiding symbols Message-ID: <199812170603.RAA25943@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>How can I hide these symbols so they don't pollute the consumer's >namespace? In the good old a.out days, the following would have worked >(with an appropriate libfetch.sym): > >$ ld -r -o tmp.o *.o >$ symorder -c libfetch.sym tmp.o > >and then create a shared library with tmp.o. But how do I do it on an >Elf system? Don't hide symbols. It breaks debugging. Just give them a name in the implementation namespace. (Debugging of static symbols is already broken by ld -r hacks, but this should be fixed.) Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812170603.RAA25943>