This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

remove 3 plt entries on alpha


All in alpha-specific code, so committed.


r~


        * 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.

Index: sysdeps/unix/sysv/linux/alpha/clone.S
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/alpha/clone.S,v
retrieving revision 1.13
diff -c -p -d -u -r1.13 clone.S
--- sysdeps/unix/sysv/linux/alpha/clone.S	6 Jun 2003 05:54:15 -0000	1.13
+++ sysdeps/unix/sysv/linux/alpha/clone.S	24 Jun 2003 16:16:15 -0000
@@ -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: sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,v
retrieving revision 1.11
diff -c -p -d -u -r1.11 ieee_get_fp_control.S
--- sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S	20 Jun 2003 16:24:36 -0000	1.11
+++ sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S	24 Jun 2003 16:16:15 -0000
@@ -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: sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,v
retrieving revision 1.12
diff -c -p -d -u -r1.12 ieee_set_fp_control.S
--- sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S	20 Jun 2003 16:24:36 -0000	1.12
+++ sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S	24 Jun 2003 16:16:15 -0000
@@ -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: sysdeps/unix/sysv/linux/alpha/setfpucw.c
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/alpha/setfpucw.c,v
retrieving revision 1.4
diff -c -p -d -u -r1.4 setfpucw.c
--- sysdeps/unix/sysv/linux/alpha/setfpucw.c	6 Jul 2001 04:56:13 -0000	1.4
+++ sysdeps/unix/sysv/linux/alpha/setfpucw.c	24 Jun 2003 16:16:15 -0000
@@ -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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]