This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: hiding of (global) C++ symbols in shared object
- To: Michael Matz <matz at ifh dot de>
- Subject: Re: hiding of (global) C++ symbols in shared object
- From: Jakub Jelinek <jakub at redhat dot com>
- Date: Mon, 15 May 2000 13:00:29 +0200
- Cc: libtool at gnu dot org, binutils at sourceware dot cygnus dot com
- References: <telnet.0005151205040.5582-100000@juno.ifh.de>
- Reply-To: Jakub Jelinek <jakub at redhat dot com>
On Mon, May 15, 2000 at 12:34:11PM +0200, Michael Matz wrote:
> Hi,
>
> sorry for crossposting to two lists. But I don't know to which it applies
> most. I searched the archives but found nothing that really explained the
> problem.
What about using symbol version map?
Say:
MYPLUGIN {
global:
init_plugin; what__C9exception; what__C11logic_error; what__C13runtime_error;
local:
*;
};
g++ -shared ... -Wl,--version-script=myplugin.map
Jakub