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/strend-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/strend-sparc.s')
-rw-r--r-- | strings/strend-sparc.s | 6 |
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: |