fix bad opcode in arm syscall_cp_asm
authorRich Felker <dalias@aerifal.cx>
Wed, 23 May 2012 19:58:53 +0000 (15:58 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 23 May 2012 19:58:53 +0000 (15:58 -0400)
src/thread/arm/syscall_cp.s

index 0cc23b1ff76419a923fca169ac41093bda81fe6c..5a2d6c355e6f3439dce47213c5f9a85952d3252b 100644 (file)
@@ -5,7 +5,7 @@ __syscall_cp_asm:
        stmfd sp!,{r4,r5,r6,r7,lr}
 .global __cp_begin
 __cp_begin:
-       ld r0,[r0]
+       ldr r0,[r0]
        cmp r0,#0
        blne __cancel
        mov r7,r1