This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: hiding of (global) C++ symbols in shared object


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]