]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
bcopy takes size_t argument, not signed, so we should not special case it
authorUlrich Drepper <drepper@redhat.com>
Tue, 23 Nov 1999 17:06:43 +0000 (17:06 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 23 Nov 1999 17:06:43 +0000 (17:06 +0000)
for negative args.

sysdeps/sparc/sparc32/memcpy.S

index 24d9e04346ae72303a8d1184a7aa91d170945120..492d1278240bf6901748879e3cd29989b638efd1 100644 (file)
        b               3f
         sub            %o0, 2, %o0
 
-0:     retl
-        nop            ! Only bcopy returns here and it retuns void...
-
 ENTRY(bcopy)
        mov             %o0, %o3
        mov             %o1, %o0
        mov             %o3, %o1
-       tst             %o2
-       bcs             0b
-        /* Do the cmp in the delay slot */
 END(bcopy)
 ENTRY(memmove)
        cmp             %o0, %o1