summaryrefslogtreecommitdiff
path: root/lib/arm/modsi3.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arm/modsi3.S')
-rw-r--r--lib/arm/modsi3.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arm/modsi3.S b/lib/arm/modsi3.S
index 04595011..fe75b41b 100644
--- a/lib/arm/modsi3.S
+++ b/lib/arm/modsi3.S
@@ -23,7 +23,7 @@
.syntax unified
.align 3
DEFINE_COMPILERRT_FUNCTION(__modsi3)
-#if __ARM_ARCH_7S__
+#if __ARM_ARCH_EXT_IDIV__
tst r1, r1
beq LOCAL_LABEL(divzero)
sdiv r2, r0, r1