This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: fix PR 31775, name mangling conflict between static and extern


gkeating@apple.com (Geoffrey Keating) writes:

> There's discussion of the problem in <http://gcc.gnu.org/PR31775>.
> Basically, mangled names of objects and functions with internal
> linkage need to be different to mangled names of those with external
> linkage, because it's possible to refer to both within the same
> translation unit.
> 
> I'm using the same mangling I'm developing for IMA, although slightly
> simplified.  There are many other possible manglings; but I've already
> had that bikeshed discussion and I think this one will work as well as
> any.
> 
> Mark, Ian, you had comments about a previous version of the libiberty
> part of this patch.  Mark, do you still object?

This mangling works for me.

Ian


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