diff options
Diffstat (limited to 'arch/sparc/lib/sdiv.S')
| -rw-r--r-- | arch/sparc/lib/sdiv.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/lib/sdiv.S b/arch/sparc/lib/sdiv.S index e0ad80b6f63d..af9451629d0b 100644 --- a/arch/sparc/lib/sdiv.S +++ b/arch/sparc/lib/sdiv.S | |||
| @@ -43,7 +43,9 @@ | |||
| 43 | 43 | ||
| 44 | 44 | ||
| 45 | .globl .div | 45 | .globl .div |
| 46 | .globl _Div | ||
| 46 | .div: | 47 | .div: |
| 48 | _Div: /* needed for export */ | ||
| 47 | ! compute sign of result; if neither is negative, no problem | 49 | ! compute sign of result; if neither is negative, no problem |
| 48 | orcc %o1, %o0, %g0 ! either negative? | 50 | orcc %o1, %o0, %g0 ! either negative? |
| 49 | bge 2f ! no, go do the divide | 51 | bge 2f ! no, go do the divide |
