aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/softfloat_arm.go
diff options
context:
space:
mode:
authorKeith Randall <keithr@alum.mit.edu>2017-06-14 09:10:51 -0700
committerCherry Zhang <cherryyz@google.com>2017-06-14 18:00:26 +0000
commit4958f9e2fe6744a36188a9d97d7db1da696b848a (patch)
tree82a51e9cae64e3d4315e8c75bdb2fa7ccea843a2 /src/runtime/softfloat_arm.go
parent03a4a5c98885245a99d67b684acacff4f7b2326e (diff)
downloadgo-4958f9e2fe6744a36188a9d97d7db1da696b848a.tar.xz
runtime: remove unused arm assembly for div/mod
Also add runtimeĀ· prefixes to the code that is still used. Fixes #19507 Change-Id: Ib6da6b2a9e398061d3f93958ee1258295b6cc33b Reviewed-on: https://go-review.googlesource.com/45699 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/softfloat_arm.go')
-rw-r--r--src/runtime/softfloat_arm.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/runtime/softfloat_arm.go b/src/runtime/softfloat_arm.go
index 3cbb4b3fc0..8519f4cbd5 100644
--- a/src/runtime/softfloat_arm.go
+++ b/src/runtime/softfloat_arm.go
@@ -653,3 +653,8 @@ func sfloat2(pc uint32, regs *[15]uint32) uint32 {
}
return pc
}
+
+// Stubs to pacify vet. Not safe to call from Go.
+// Calls to these functions are inserted by the compiler.
+func _sfloat()
+func udiv()