This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Duplicate data objects in shared libraries


>>>>> "Mark" == Mark Mitchell <mark@codesourcery.com> writes:

> I think that the ABI specifies the name -- even for the local class in
> the method with static linkage

True.

>> I think that being able to write plugins in C++ is important, and a

> I guess I just don't think that using RTLD_LOCAL is the only reasonable
> way to do it.

The problem is that the use of RTLD_LOCAL is not under the control of the
plugin writer.  And in any case, I think that using RTLD_LOCAL is
appropriate for plugins; we don't want f() in one overriding f() in
another.

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]