summaryrefslogtreecommitdiff
path: root/src/arch/armv7/lib/div.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/armv7/lib/div.c')
-rw-r--r--src/arch/armv7/lib/div.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/arch/armv7/lib/div.c b/src/arch/armv7/lib/div.c
new file mode 100644
index 0000000000..03352dc7a5
--- /dev/null
+++ b/src/arch/armv7/lib/div.c
@@ -0,0 +1,5 @@
+void __div0(void); // called from asm so no need for a prototype in a header
+void __div0(void)
+{
+ // div by zero
+}