summaryrefslogtreecommitdiff
path: root/ports/sysdeps/arm
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-06-05 15:44:52 -0700
committerRichard Henderson <rth@twiddle.net>2013-06-05 15:52:01 -0700
commitecdaa7c9207615a1dc5882560095389a18b1e2ca (patch)
tree099db2da7f7f9c2f2e19d8d61952b0020de24f4d /ports/sysdeps/arm
parent44a988afd8f7aef70b88ecdc2e47d14fdf89e7e5 (diff)
downloadglibc-ecdaa7c9207615a1dc5882560095389a18b1e2ca.tar.gz
BZ #15583: r7 uninitialized in strcpy.S when ARM_HAS_T2 undefined
Diffstat (limited to 'ports/sysdeps/arm')
-rw-r--r--ports/sysdeps/arm/armv6/strcpy.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/sysdeps/arm/armv6/strcpy.S b/ports/sysdeps/arm/armv6/strcpy.S
index cd13ff7ecf..69e82d8314 100644
--- a/ports/sysdeps/arm/armv6/strcpy.S
+++ b/ports/sysdeps/arm/armv6/strcpy.S
@@ -89,7 +89,7 @@ ENTRY (strcpy)
tst r0, #3 @ Test alignment of DEST
movt r7, #0x0101
#else
- ldr ip, =0x01010101
+ ldr r7, =0x01010101
tst r0, #3
#endif
bne .Lunaligned