* sysdeps/ia64/strncpy.S: Fix recovery code.

This commit is contained in:
Roland McGrath 2002-11-01 20:46:53 +00:00
parent c877418f2e
commit c88fccbef1
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2002-11-01 Jakub Jelinek <jakub@redhat.com>
* sysdeps/ia64/strncpy.S: Fix recovery code.
2002-10-30 Jakub Jelinek <jakub@redhat.com>
* include/libc-symbols.h (__libc_freeres_fn_section, libc_freeres_fn):

View File

@ -217,11 +217,11 @@ ENTRY(strncpy)
(p5) mov r[0] = r0
br.cond.sptk .back2
.recovery3:
add tmp = -MEMLAT * 8, src ;;
add tmp = -(MEMLAT + 1) * 8, src ;;
ld8 r[MEMLAT] = [tmp]
br.cond.sptk .back3
.recovery4:
add tmp = -(MEMLAT - 1) * 8, src ;;
add tmp = -MEMLAT * 8, src ;;
ld8 r[MEMLAT - 1] = [tmp]
br.cond.sptk .back4
END(strncpy)