g++: unrecognized option `-symbolic'

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Wed Feb 23 14:53:00 GMT 2000


> 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


More information about the Gcc mailing list