3.0.2 PATCH: Avoid non-PIC code in boehm-gc for Solaris 2/Int el (version 2)

Rainer Orth ro@TechFak.Uni-Bielefeld.DE
Wed Sep 26 06:04:00 GMT 2001


Hans Boehm writes:

> I'd marginally prefer to see it conditioned on __GNUC__, although I agree
> that it doesn't make much difference.  In general, I think everyone has
> tried to avoid specializing the code in gcc/boehm-gc to that context.  I
> haven't tried it, but I believe it has been possible to build the general
> general collector library from the code in the gcc tree with some simple
> Makefile renaming.  That's probably not a very important property here, but
> it seems worth 8 or 9 lines of code to preserve it.

I fully agree with this goal, and can add the #ifdef and repost the code if
desired.  I thought in this case I could get by without this since this a
GCC 3.0.2-only workaround which will never make it into any other release,
either GCC or boehm-gc.  Let me know what you prefer here.

	Rainer

-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University

Email: ro@TechFak.Uni-Bielefeld.DE



More information about the Java-patches mailing list