From 4958f9e2fe6744a36188a9d97d7db1da696b848a Mon Sep 17 00:00:00 2001 From: Keith Randall Date: Wed, 14 Jun 2017 09:10:51 -0700 Subject: runtime: remove unused arm assembly for div/mod MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/runtime/softfloat_arm.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/runtime/softfloat_arm.go') 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() -- cgit v1.3-5-g9baa