This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Modifying the LABEL for functions emitted by the GCC Compiler
- From: Ravishankar S <ravishankar dot s at hathway dot com>
- To: 'Rohit Arul Raj' <rohitarulraj at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Fri, 01 Sep 2006 21:19:20 +0530
- Subject: RE: Modifying the LABEL for functions emitted by the GCC Compiler
Hello Rohit,
There probably is linker option to ignore leading underscores: if my
memory serves right.
-Ravishnkar
-----Original Message-----
From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On
Behalf Of Rohit Arul Raj
Sent: Friday, September 01, 2006 7:01 PM
To: gcc@gcc.gnu.org
Cc: gcc-help@gcc.gnu.org
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
__________ NOD32 1.1454 (20060321) Information __________
This message was checked by NOD32 antivirus system. http://www.eset.com