tests: cris: fix syscall inline asm
authorRabin Vincent <rabinv@axis.com>
Wed, 24 Aug 2016 07:08:21 +0000 (09:08 +0200)
committerEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Wed, 28 Sep 2016 08:47:21 +0000 (10:47 +0200)
commitf278d5cbe59bc022ee67ead5f608fe0530c4e96b
treef18600c74528f27ed5031d9f83bb8332ee11eae1
parent21ce148c7ec71ee32834061355a5ecfd1a11f90f
tests: cris: fix syscall inline asm

Add the appropriate register constraints for the inline asm for the
write and exit system calls.  Without the correct constraints for the
write() function, correct failure messages are not printed succesfully
on newer version of GCC.

Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Rabin Vincent <rabinv@axis.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
tests/tcg/cris/sys.c