public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* ARM-PXA toolchain
@ 2011-11-06 16:28 Mircea Gherzan
  2011-11-06 16:55 ` Yann E. MORIN
  0 siblings, 1 reply; 9+ messages in thread
From: Mircea Gherzan @ 2011-11-06 16:28 UTC (permalink / raw)
  To: crossgcc

Hi,

I am trying to build a Xscale/PXA linux-gnueabi toolchain by setting 
CT_ARCH_ARCH to "iwmmxt" and CT_ARCH_CPU to "xscale".

When I run a trivial binary (compiled with this toolchain) in QEMU via

	qemu-arm -g 1234 -cpu pxa270 -L $PATH_TO_SYSROOT ./test

I get a SIGILL because of a VSTM instruction which is only available on 
VFPv2/3-enabled cores.

	Program received signal SIGILL, Illegal instruction.
	0x40818f24 in ?? ()
	(gdb) disp/i $pc
	1: x/i $pc
	=> 0x40818f24:  vstmia  r12!, {d8-d15}

AFAIK, PXA chips have iwMMXt but no VFP. Since my test binary is just a 
main() with a "return 0", the problem should be in the ld-linux loader.

How should I configure ct-ng for a proper toolchain for PXA (i.e. 
without any VFP instructions in the libraries/loader)?

Thanks,
Mircea

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-11-10 20:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-06 16:28 ARM-PXA toolchain Mircea Gherzan
2011-11-06 16:55 ` Yann E. MORIN
2011-11-06 19:46   ` Mircea Gherzan
2011-11-07  1:16     ` Yann E. MORIN
2011-11-08 12:23       ` Mircea Gherzan
2011-11-08 17:19         ` Richard Earnshaw
2011-11-08 22:37           ` Yann E. MORIN
2011-11-09  8:39             ` Mircea Gherzan
2011-11-10 20:16         ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).