This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Modifying the LABEL for functions emitted by the GCC Compiler
- From: "Rohit Arul Raj" <rohitarulraj at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Cc: gcc-help at gcc dot gnu dot org
- Date: Fri, 1 Sep 2006 19:01:23 +0530
- Subject: Modifying the LABEL for functions emitted by the GCC Compiler
Hello Everyone,
I am trying to link the object file emitted by a Cross Compiler IDE
with the GCC Coldfire Linker and its libraries.
The Problem that i faced was:
The gcc-coldfire compiler spits out the labels as it is in the
assembly file (main, printf etc), where as the IDE compiler spits out
the labels prefixed with a '_' (_main, _printf etc).
Is there any way i can make gcc-coldfire compiler emit the lables
prefixed with an underscore (' _ ').Can anyone Help me OUT of this
mess!!!
Thanks in Advance,
Rohit