* sysdeps/unix/sysv/linux/alpha/clone.S: Use HIDDEN_JUMPTARGET.
authorRichard Henderson <rth@redhat.com>
Tue, 24 Jun 2003 16:38:45 +0000 (16:38 +0000)
committerRichard Henderson <rth@redhat.com>
Tue, 24 Jun 2003 16:38:45 +0000 (16:38 +0000)
        * 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
sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S
sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S
sysdeps/unix/sysv/linux/alpha/setfpucw.c

index 2aa9bb7..a0aa771 100644 (file)
@@ -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
index f436a52..3cabd0b 100644 (file)
@@ -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)
index 54762e1..302ed06 100644 (file)
@@ -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)
index 5622d84..a7e3a55 100644 (file)
@@ -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
 #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)