fix PR 31775, name mangling conflict between static and extern
Ian Lance Taylor
iant@google.com
Thu May 3 16:50:00 GMT 2007
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
More information about the Binutils
mailing list