This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: g++: unrecognized option `-symbolic'
> I have been getting my info from the ld info pages. I am doing it in
> the source file instead of using a linker script.
You cannot do it in the source file.
> There are several GNU extensions to Sun's versioning approach. [...] The
> `local:' directive can be used to prevent the symbol `original_foo'
> from being exported.
Apparently, that is an extension over Sun's versioning approach, not
an option to the gas .symver directive. I don't think you can use
.symver to declare a local symbol.
Regards,
Martin