summaryrefslogtreecommitdiff
path: root/strings/strend-sparc.s
diff options
context:
space:
mode:
authormonty@butch. <>2002-11-07 03:54:00 +0200
committermonty@butch. <>2002-11-07 03:54:00 +0200
commita2bdf9265f3a0874f8d58bec690da4af07bca4cb (patch)
tree2cbd26b72e2ab9ce6d8a7e6cf96fab865fec9834 /strings/strend-sparc.s
parent5333cfb4298899c0985fc07f229c99866ef656cc (diff)
downloadmariadb-git-a2bdf9265f3a0874f8d58bec690da4af07bca4cb.tar.gz
Portability fixes for Fortre C++ 5.0 (on Sun) in 32 and 64 bit modes.
Diffstat (limited to 'strings/strend-sparc.s')
-rw-r--r--strings/strend-sparc.s6
1 files changed, 3 insertions, 3 deletions
diff --git a/strings/strend-sparc.s b/strings/strend-sparc.s
index fd1dba4d36f..0f19f6a435a 100644
--- a/strings/strend-sparc.s
+++ b/strings/strend-sparc.s
@@ -22,12 +22,12 @@
.type strend,#function
.proc 0102
strend:
- ldsb [%o0], %g2 ! Handle first char differently to make
+ ldsb [%o0], %o3 ! Handle first char differently to make
.loop: ! a faster loop
add %o0, 1, %o0
- cmp %g2, 0
+ cmp %o3, 0
bne,a .loop
- ldsb [%o0], %g2
+ ldsb [%o0], %o3
retl
sub %o0,1,%o0
.strend_end: