- To: gcc-help@xxxxxxxxxxx
- Subject: question about the usage of VFP register on arm
- From: junfeng dong <jfdong@xxxxxxxxx>
- Date: Thu, 9 Feb 2012 19:13:39 +0800
- Comment: DKIM? See http://www.dkim.org
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1329390844; h=Comment: DomainKey-Signature:Received:Received:Received:Received: MIME-Version:Received:Received:Date:Message-ID:Subject:From:To: Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=eQio8Oc ZOE7IsBvgTSvx3qm1JM4=; b=osiPpLU0Nfgw8FwV7MFgxBIFiJPPi/5D4q4BffL OR72mtnlPHty35wZDfq5rXC+KO+Jeje/azR3Lfn32yNQg0JDsZKTP/BsZ/Mr85O1 keWwI0iMroIGKJoSK7PUSR33zsp/uQbZHofLSFThTUlyTqcwE72GkP2t2oXvGGoD r23c=
Hi,
my arm cross compiler runs into an error like :
ld: error: a.out uses VFP register arguments, /tmp/ccGm43Jh.o does not
It seems ld requires all input files and output file has the same
attribute of Tag_ABI_VFP_args, which is set by gcc in assembler file
(.eabi_attribute 28, 1).
but I didn't find the place where gcc cope with it. I wonder is this
attribute controlled only by "-mfloat-abi"? -mfloat-abi=hard means "
Tag_ABI_VFP_args=1" while -mfloat-abi=soft/softfp means "
Tag_ABI_VFP_args=0"?is there any other compile option affect that
attribute?
Any comments are welcome.
Thanks
J.F.
[Linux C Programming]
[Linux Kernel]
[eCos]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[The DWARVES Debugging Tools]
[Yosemite Campsites]
[Yosemite News]
[Linux GCC]