This is the mail archive of the
mailing list for the GCC project.
Re: PATCH: Treat RTLD_LOCAL like Solaris (Re: Duplicate dataobjects in shared libraries)
>>>>> "Jason" == Jason Merrill <firstname.lastname@example.org> 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.