weak aliases and mangling
Niall Smart
njs3@doc.ic.ac.uk
Wed May 20 08:39:00 GMT 1998
Hi,
Currently aliases require that you use the mangled form of the symbol
you wish to alias to, is it possible to change this so that it will
automatically mangle when necessary?
e.g.
void weak_foo(int) mangles to weak_foo__Fi
so it would be to nice to be able to do:
void foo(int) __attribute__((weak, alias("weak_foo")));
instead of
void foo(int) __attribute__((weak, alias("weak_foo__Fi")));
Is this possible? If someone can point me in the right direction I
can
attempt this.
Niall
More information about the Gcc-bugs
mailing list