PATCH: Treat RTLD_LOCAL like Solaris (Re: Duplicate data objects in shared libraries)

Jason Merrill jason@redhat.com
Thu May 30 22:19:00 GMT 2002


>>>>> "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



More information about the Libc-alpha mailing list