Get rid of lkmc_assert_fail in favor of abort + assert

What was missing previously was implementing abort in baremetal.

I had done that previously and forgotten to do this conversion!
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-05-21 00:00:00 +00:00
parent 3b192bacfc
commit 5391bc1bfd
13 changed files with 9 additions and 48 deletions

View File

@@ -12,7 +12,7 @@ main:
fmov d3, 4.0
fcmp d2, d3
beq 1f
bl lkmc_assert_fail
bl abort
1:
/* Now in 32-bit. */
@@ -26,7 +26,7 @@ main:
fmov s3, 4.0
fcmp s2, s3
beq 1f
bl lkmc_assert_fail
bl abort
1:
/* Higher registers. */
@@ -40,7 +40,7 @@ main:
/* test-gdb-d31 */
fcmp d30, d31
beq 1f
bl lkmc_assert_fail
bl abort
1:
mov x0, 0