diff options
author | monty@butch. <> | 2002-11-07 03:54:00 +0200 |
---|---|---|
committer | monty@butch. <> | 2002-11-07 03:54:00 +0200 |
commit | a2bdf9265f3a0874f8d58bec690da4af07bca4cb (patch) | |
tree | 2cbd26b72e2ab9ce6d8a7e6cf96fab865fec9834 /strings/strmake-sparc.s | |
parent | 5333cfb4298899c0985fc07f229c99866ef656cc (diff) | |
download | mariadb-git-a2bdf9265f3a0874f8d58bec690da4af07bca4cb.tar.gz |
Portability fixes for Fortre C++ 5.0 (on Sun) in 32 and 64 bit modes.
Diffstat (limited to 'strings/strmake-sparc.s')
-rw-r--r-- | strings/strmake-sparc.s | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/strings/strmake-sparc.s b/strings/strmake-sparc.s index 9fe72a9f9a2..4effe95774e 100644 --- a/strings/strmake-sparc.s +++ b/strings/strmake-sparc.s @@ -25,16 +25,16 @@ strmake: orcc %g0,%o2,%g0 be,a .end nop - ldsb [%o1],%g2 + ldsb [%o1],%o3 .loop: - stb %g2,[%o0] - cmp %g2,0 + stb %o3,[%o0] + cmp %o3,0 be .end ! Jump to end on end of string add %o1,1,%o1 add %o0,1,%o0 subcc %o2,1,%o2 bne,a .loop - ldsb [%o1],%g2 + ldsb [%o1],%o3 .end: retl stb %g0,[%o0] |