From aa9418c029c36c952c78e5243043e13001d01c14 Mon Sep 17 00:00:00 2001 From: George Koehler Date: Mon, 18 Dec 2017 21:58:57 -0500 Subject: [PATCH] Pass 4 bytes to fail(uint32_t) This would become necessary if something failed on a platform with 16-bit int (EM_WSIZE == 2). Remove unreachable `ret 0`. If reached, it wouldn't work to return from _m_a_i_n. --- tests/plat/inn_e.e | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/tests/plat/inn_e.e b/tests/plat/inn_e.e index a5aee02f5..543623b3f 100644 --- a/tests/plat/inn_e.e +++ b/tests/plat/inn_e.e @@ -14,6 +14,9 @@ zeq *1 loc __LINE__ + loc EM_WSIZE + loc 4 + cuu cal $fail ass EM_WSIZE 1 @@ -31,6 +34,9 @@ zne *2 loc __LINE__ + loc EM_WSIZE + loc 4 + cuu cal $fail ass EM_WSIZE 2 @@ -49,6 +55,9 @@ zeq *3 loc __LINE__ + loc EM_WSIZE + loc 4 + cuu cal $fail ass EM_WSIZE 3 @@ -67,11 +76,12 @@ zne *4 loc __LINE__ + loc EM_WSIZE + loc 4 + cuu cal $fail ass EM_WSIZE 4 cal $finished - ret 0 - end