summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2010-04-16 13:56:00 (GMT)
committerAustin Foxley <austinf@cetoncorp.com>2010-04-16 17:14:06 (GMT)
commita501a33e9761f32b3d38ab9f113892abe7cef3f1 (patch)
treeb40d9f2c93c4ed7ff094bddda0b38dfeb7fdf26d /libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S
parent0eadd98d30c51d26fde4062e6b8c48f3c9b5148d (diff)
nptl: mark forwarded functions protected
The libc stubs should never override the libpthread provided functions inside libpthread, otherwise the struct pthread_functions that is used by the forwarder stubs goes bad. Signed-off-by: Timo Teras <timo.teras@iki.fi> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S
index 3d37fb4..e7bfe0d 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S
@@ -29,6 +29,7 @@
.globl __pthread_rwlock_wrlock
.type __pthread_rwlock_wrlock,@function
+ .protected __pthread_rwlock_wrlock
.align 5
__pthread_rwlock_wrlock:
mov.l r12, @-r15