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: NEdgar E. Iglesias <edgar.iglesias@xilinx.com> Reviewed-by: NRichard Henderson <rth@twiddle.net> Signed-off-by: NRabin Vincent <rabinv@axis.com> Signed-off-by: NEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Showing
想要评论请 注册 或 登录