This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]