Re: what is __cg92_used?
Date: Tue, 7 Feb 1995 21:34:57 GMT
Message-ID: <1995Feb7.213457.13680_at_sycomp.COM.AU>
From article <1995Feb2.011400.11274_at_xsoft.uucp>, by ryan_at_xsoft.xerox.com (Michael Ryan):
> i cannot comment expertly on defining your own cg92_used symbol but
> it is not something i would do.
I have done this successfully on a SPARC 2 system. Examination of __cg92_used symbols in object files indicates that a 64 bit value is expected, and examination of existing executables gives its value. I have successfully used the following under Solaris 2:
#include "headers.h"
#if defined(__solaris__) && defined(__GNUC__)
long long __cg92_used = 0x9de3bfa011000141ll; #endif
Of course this comes with no warranty whatsoever - any damage caused by using this information is your own problem. On the other hand, if you don't test your app thoroughly and it breaks, you get what you deserve anyway.
-- ------------------------------------------------------------------------- troy_at_cbme.unsw.EDU.AU Technical Director, Sycomp Pty Ltd My opinions are my own. Do you really think anybody else would want them?Received on Tue Feb 07 1995 - 22:34:57 CET