Re: -Bsymbolic for exactly one symbol.

Ian Lance Taylor <>
15 Aug 2001 01:14:30 -0400

          From comp.compilers

Related articles
-Bsymbolic for exactly one symbol. (2001-08-08)
Re: -Bsymbolic for exactly one symbol. (2001-08-08)
Re: -Bsymbolic for exactly one symbol. (Ian Lance Taylor) (2001-08-15)
Re: -Bsymbolic for exactly one symbol. (Shankar Unni) (2001-08-15)
| List of all articles for this month |

From: Ian Lance Taylor <>
Newsgroups: comp.compilers
Date: 15 Aug 2001 01:14:30 -0400
Organization: Compilers Central
References: 01-08-051
Keywords: linker
Posted-Date: 15 Aug 2001 01:14:30 EDT (Roman Shaposhnick) writes:

> So my question is: how can I force linker to resolve just one reference
> to the particular symbol ( A::A() from the in my example ).

If you are using the GNU linker, you can use a version script:

The documentation kind of sucks, but basically, among other things,
you can define particular symbols as local. They will be resolved
within the shared library as though you used -Bsymbolic.


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.