Exporting symbols
Dmitry Timoshkov
dmitry at baikal.ru
Wed May 12 23:13:05 CDT 2004
"Dan Timis" <timis at museresearch.com> wrote:
> I'm really, really sorry for this. I should have done my research
> first.
>
> After running strip on the .exe.so if we do nm -D all the symbols are
> still there. Is there any way to get rid of the ones that are not
> needed for dynamic linking?
Actually that's a question for binutils mailing list. I was researching
that problem some time ago and found that dynamic linker has a switch
'--retain-symbols-file FILENAME' to leave only listed in the FILENAME
names in the SYMBOL TABLE. But according to 'objdump -xstTR' DYNAMIC
SYMBOL TABLE still has all global symbols listed. I'd call it a limitation
of ELF format, which has no a concept of exported symbols.
--
Dmitry.
More information about the wine-devel
mailing list