about summary refs log tree commit diff
path: root/src/thread/microblaze/syscall_cp.s
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-10-17 23:45:21 -0400
committerRich Felker <dalias@aerifal.cx>2012-10-17 23:45:21 -0400
commitef2f595f7489a79b328766e3f8c2c899c8d23fd1 (patch)
tree2b974c102e8444927e5fa3a343e5df04045fe754 /src/thread/microblaze/syscall_cp.s
parent858df113bfac4d2ebb60c3fac1538e07d56096b0 (diff)
downloadmusl-ef2f595f7489a79b328766e3f8c2c899c8d23fd1.tar.gz
musl-ef2f595f7489a79b328766e3f8c2c899c8d23fd1.tar.xz
musl-ef2f595f7489a79b328766e3f8c2c899c8d23fd1.zip
fix microblaze asm relocations for shared libc
only @PLT relocations are considered functions for purposes of
-Bsymbolic-functions, so always use @PLT. it should not hurt in the
static-linked case.
Diffstat (limited to 'src/thread/microblaze/syscall_cp.s')
-rw-r--r--src/thread/microblaze/syscall_cp.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/microblaze/syscall_cp.s b/src/thread/microblaze/syscall_cp.s
index c470521c..ce38b56c 100644
--- a/src/thread/microblaze/syscall_cp.s
+++ b/src/thread/microblaze/syscall_cp.s
@@ -4,7 +4,7 @@ __syscall_cp_asm:
 .global __cp_begin
 __cp_begin:
 	lwi     r5, r5, 0
-	bnei    r5, __cancel
+	bnei    r5, __cancel@PLT
 	addi    r12, r6, 0
 	add     r5, r7, r0
 	add     r6, r8, r0