ld --exclude-symbols problems
Mikhail Kruk
meshko@cs.brandeis.edu
Fri Apr 4 23:33:00 GMT 2003
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!
More information about the Binutils
mailing list