Added support for weakly-linked symbols.