This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Limited export of dynamic syms (elf32)
On Tue, Aug 21, 2001 at 02:47:27PM +0200, Eirik Byrkjeflot Anonsen wrote:
>
> I have had a short look at it, and I still don't see how someone
> wondering how to limit the export of dynamic symbols is supposed
> to discover how to do this. While I'm still thinking that adding
> something to the index to that effect is a good idea, I've also
> got a different suggestion:
>
> When I'm looking for material on exporting dynamic symbols, I
> easily find the option -E/--export-dynamic, which states that
> it will cause all symbols to be exported. How about adding
> a short statement here, e.g.:
> "It is possible to export only a subset of the symbols by binding
> to local scope using symbol versioning. @xref{VERSION}."
The current version has
`-E'
`--export-dynamic'
...
You can also use the version script to control what symbols should
be added to the dynamic symbol table if the output format supports
it. See the description of `--version-script' in *Note VERSION::.
It has a different wording.
H.J.