This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Why is _Jv_RegisterClasses in libstdc++.so?
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Phil Edwards <phil at jaj dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 3 Jun 2002 11:09:10 -0400 (EDT)
- Subject: Re: Why is _Jv_RegisterClasses in libstdc++.so?
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