C++ name mangling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I would like to create symbol aliases from one symbol to another in an
object file. The way to do it with C symbols "appears" to be:

__asm__(".set foo, bar\n.globl foo\n")

Easy enough; for C++ this works as well, but I have to use the mangled
symbol name. Is there any way to obtain the mangled name of a symbol as
string? The documentation appears to indicate there is none, but I thought
I'd ask nevertheless...

Thanks and best regards
-- 
Helge Bahmann <hcb@xxxxxxxxxxxxxxx>                     /| \__
The past: Smart users in front of dumb terminals       /_|____\
                                                     _/\ |   __)
$ ./configure                                        \\ \|__/__|
checking whether build environment is sane... yes     \\/___/ |
checking for AIX... no (we already did this)            |


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux