RE: Modifying the LABEL for functions emitted by the GCC Compiler

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

 



Hello Rohit,

There probably is linker option to ignore leading underscores: if my
memory serves right. 

-Ravishnkar

-----Original Message-----
From: gcc-help-owner@xxxxxxxxxxx [mailto:gcc-help-owner@xxxxxxxxxxx] On
Behalf Of Rohit Arul Raj
Sent: Friday, September 01, 2006 7:01 PM
To: gcc@xxxxxxxxxxx
Cc: gcc-help@xxxxxxxxxxx
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



[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