about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/alpha/clone.S
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-06-24 16:38:45 +0000
committerRichard Henderson <rth@redhat.com>2003-06-24 16:38:45 +0000
commitc5206c3190b52ebb73f4cdd33b47d382a07c3552 (patch)
treee461306932571374e621a7a0cabc9cfe4195f6f1 /sysdeps/unix/sysv/linux/alpha/clone.S
parent750cd4ff74794408a1ce2aeed425b3e138c3584c (diff)
downloadglibc-c5206c3190b52ebb73f4cdd33b47d382a07c3552.tar.gz
glibc-c5206c3190b52ebb73f4cdd33b47d382a07c3552.tar.xz
glibc-c5206c3190b52ebb73f4cdd33b47d382a07c3552.zip
* sysdeps/unix/sysv/linux/alpha/clone.S: Use HIDDEN_JUMPTARGET. * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Use libc_hidden_def. * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use libc_hidden_proto on them.
	* sysdeps/unix/sysv/linux/alpha/clone.S: Use HIDDEN_JUMPTARGET.
	* sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Use
	libc_hidden_def.
	* sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
	* sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use libc_hidden_proto
	on them.
Diffstat (limited to 'sysdeps/unix/sysv/linux/alpha/clone.S')
-rw-r--r--sysdeps/unix/sysv/linux/alpha/clone.S6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/clone.S b/sysdeps/unix/sysv/linux/alpha/clone.S
index 2aa9bb7f38..a0aa7712f5 100644
--- a/sysdeps/unix/sysv/linux/alpha/clone.S
+++ b/sysdeps/unix/sysv/linux/alpha/clone.S
@@ -97,7 +97,11 @@ thread_start:
 
 	/* Call _exit rather than doing it inline for breakpoint purposes.  */
 	mov	v0,a0
-	jsr	ra,_exit
+#ifdef PIC
+	bsr	ra, HIDDEN_JUMPTARGET(_exit)	!samegp
+#else
+	jsr	ra, HIDDEN_JUMPTARGET(_exit)
+#endif
 
 	/* Die horribly.  */
 	halt