This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
ld --exclude-symbols problems
- From: Mikhail Kruk <meshko at cs dot brandeis dot edu>
- To: <binutils at sources dot redhat dot com>
- Date: Fri, 4 Apr 2003 18:33:09 -0500 (EST)
- Subject: ld --exclude-symbols problems
Hi,
I'm trying to use --exclude-symbols option of ld and it doesn't work.
I have plain unupdated 8.0 system.
I try to run gcc -shared -Xlinker --exclude-symbols -Xlinker blah
or just ld --exclude-symbols blah
and get unrecognized option '--exclude-symbols' error message.
I also tried --output-def with exactly the same result.
Same results on RedHat 7.2 system with ld 2.11.90.0.8. Sorry, don't have
the exact ld vresion from the 8.0 system, but it's 2.13 something, the
default one.
Am I doing something wrong? Is it not really implemented? If it is not,
what is the right way to specify which symbols I want to export from my
shared library?
Thank you in advance!