GCC Calling Conventions
I'm building a mixed asm/C program and for some strange reason GCC isn't decorating the names of my C functions with the '_' like void foo() -> _foo. Does anyone know why this would occur and how to fix it? :)
That's the way it's supposed to be. Long ago, in the pre-ELF days, symbols were decorated with a leading underscore.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement