This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: locks on X86
- To: "Jeff Sturm" <jsturm at one-point dot com>, "Boehm, Hans" <hans_boehm at hp dot com>
- Subject: RE: locks on X86
- From: "Anthony Green" <green at redhat dot com>
- Date: Mon, 12 Mar 2001 16:18:25 -0800
- Cc: <java at gcc dot gnu dot org>, <drepper at redhat dot com>
- Reply-To: <green at redhat dot com>
Jeff wrote:
> I can't see how you could modify the code at runtime however... if the
> lock routine is inlined, there could be many occurences of it, and you'd
> have to arrange for it to be placed in a RW segment somehow.
ld.so will already look for libraries in different directories depending on
the target system (i686 -vs- i386, for instance). Perhaps we could convince
Ulrich that adding support for uni- vs multi-processor targets is a good
idea and then simply `multilib' libgcj.so. Maybe it already does this.
Glibc always surprises me!
AG