This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Treat RTLD_LOCAL like Solaris (Re: Duplicate dataobjects in shared libraries)
>>>>> "Jason" == Jason Merrill <jason@redhat.com> writes:
> Interestingly, SGI CC 7.30 passes the test, even though it also uses the
> EDG frontend. I'll investigate why; I'm guessing dlopen works differently
> on Irix.
The EDG frontend uses address comparison of common symbols, rather than
weak; for some reason, this seems to work under Irix. This could have
something to do with the COMMON/MIPS_ACOMMON distinction in nm output
between the defs in the users and library, respectively.
Weak symbols seem to work about the same as under Linux.
Jason