GCC Calling Conventions

Started by
0 comments, last by GameDev.net 18 years, 6 months ago
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? :)
Advertisement
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