소스 검색

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 16 년 전
부모
커밋
ea697ec9ea
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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