Why is _Jv_RegisterClasses in libstdc++.so?
Jeff Sturm
jsturm@one-point.com
Mon Jun 3 08:09:00 GMT 2002
On Mon, 3 Jun 2002, Phil Edwards wrote:
> Looking over the results of a 3.1 build, and noticed this symbol
> in libstdc++.so. Should the C++ library contain references to Java?
> Even when this particular build didn't have Java enabled? Why?
_Jv_RegisterClasses is weakly referenced in crtstuff. You may not have
any need for it, but then it does no real harm anyway other than adding a
few bytes.
Similarly, now and then a plain C user will ask "what is this
__register_frame_info doing in my executable?"
Jeff
More information about the Gcc
mailing list