Explorar el Código

Fix Thumb-2 memcpy.

When an IT block was changed from having two instructions to having
one, the IT instruction at the start of the block was not updated,
causing memcpy to fail to assemble for Thumb-2; this patch makes the
obvious fix.

Signed-off-by: Joseph Myers <joseph@codesourcery.com>
Joseph Myers hace 16 años
padre
commit
ea697ec9ea
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      libc/string/arm/_memcpy.S

+ 1 - 1
libc/string/arm/_memcpy.S

@@ -108,7 +108,7 @@ _memcpy:
 	cmp	r1, r0
 	bcc	.Lmemcpy_backwards
 
-	IT(tt, eq)			/* Quick abort for src=dst */
+	IT(t, eq)			/* Quick abort for src=dst */
 #if defined(__USE_BX__)
         bxeq    lr
 #else