aboutsummaryrefslogtreecommitdiff
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
parent750cd4ff74794408a1ce2aeed425b3e138c3584c (diff)
downloadglibc-c5206c3190b52ebb73f4cdd33b47d382a07c3552.tar
glibc-c5206c3190b52ebb73f4cdd33b47d382a07c3552.tar.gz
glibc-c5206c3190b52ebb73f4cdd33b47d382a07c3552.tar.bz2
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.
-rw-r--r--ChangeLog7
-rw-r--r--sysdeps/unix/sysv/linux/alpha/clone.S6
-rw-r--r--sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S1
-rw-r--r--sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S1
-rw-r--r--sysdeps/unix/sysv/linux/alpha/setfpucw.c6
5 files changed, 18 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index e891c2c995..7ec9129415 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,13 @@
* sysdeps/alpha/fpu/bits/mathinline.h: Honor
__LIBC_INTERNAL_MATH_INLINES. Implement __signbitf, __signbit.
+ * 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.
+
2003-06-24 Andreas Schwab <schwab@suse.de>
* sysdeps/m68k/fpu/libm-test-ulps: Update.
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
diff --git a/sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S b/sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S
index f436a52437..3cabd0b489 100644
--- a/sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S
+++ b/sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S
@@ -57,4 +57,5 @@ $error:
END(__ieee_get_fp_control)
+libc_hidden_def(__ieee_get_fp_control)
weak_alias (__ieee_get_fp_control, ieee_get_fp_control)
diff --git a/sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S b/sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S
index 54762e1d23..302ed06cd3 100644
--- a/sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S
+++ b/sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S
@@ -56,4 +56,5 @@ $error:
END(__ieee_set_fp_control)
+libc_hidden_def(__ieee_set_fp_control)
weak_alias (__ieee_set_fp_control, ieee_set_fp_control)
diff --git a/sysdeps/unix/sysv/linux/alpha/setfpucw.c b/sysdeps/unix/sysv/linux/alpha/setfpucw.c
index 5622d8425c..a7e3a55812 100644
--- a/sysdeps/unix/sysv/linux/alpha/setfpucw.c
+++ b/sysdeps/unix/sysv/linux/alpha/setfpucw.c
@@ -1,5 +1,5 @@
/* Set FP exception mask and rounding mode.
- Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 1998, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -20,9 +20,11 @@
#include <fpu_control.h>
#include <asm/fpu.h>
-
extern void __ieee_set_fp_control (unsigned long);
+libc_hidden_proto(__ieee_set_fp_control)
+
extern unsigned long __ieee_get_fp_control (void);
+libc_hidden_proto(__ieee_get_fp_control)
static inline unsigned long
rdfpcr (void)