summaryrefslogtreecommitdiff
path: root/tb/sim/start.S
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-11-07 13:30:03 -0600
committerAlejandro Soto <alejandro@34project.org>2022-11-07 13:31:57 -0600
commitbf8bd4a00f1cdfc93b2f702f5f87918e66a2e361 (patch)
tree936ed1d54cb117a51fe66b972f6a76869c4be2ac /tb/sim/start.S
parent0907d94bf1e71c5ec697db53933abc462e703c35 (diff)
Add test sim: modeswitch
Diffstat (limited to 'tb/sim/start.S')
-rw-r--r--tb/sim/start.S6
1 files changed, 5 insertions, 1 deletions
diff --git a/tb/sim/start.S b/tb/sim/start.S
index 54a8d1f..7639513 100644
--- a/tb/sim/start.S
+++ b/tb/sim/start.S
@@ -4,7 +4,7 @@ __reset:
b _start
__undefined:
- b __undefined
+ b undefined
__swi:
b __data_abort
@@ -28,3 +28,7 @@ _start:
ldr sp, =_stack_end
bl reset
b .
+
+.weak undefined
+undefined:
+ b undefined