about summary refs log tree commit diff
path: root/sysdeps/sparc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-02-01 08:53:29 +0000
committerJakub Jelinek <jakub@redhat.com>2006-02-01 08:53:29 +0000
commit856d9bbc0f0e12c3801b8607dad1c2003c339240 (patch)
tree0eb1316cfb14fa7baf870edbc2b34a10261b6029 /sysdeps/sparc
parent457f0e82a381a2ab110ad1558059aac87fb492af (diff)
downloadglibc-856d9bbc0f0e12c3801b8607dad1c2003c339240.tar.gz
glibc-856d9bbc0f0e12c3801b8607dad1c2003c339240.tar.xz
glibc-856d9bbc0f0e12c3801b8607dad1c2003c339240.zip
Updated to fedora-glibc-20060201T0846
Diffstat (limited to 'sysdeps/sparc')
-rw-r--r--sysdeps/sparc/bits/mathdef.h (renamed from sysdeps/sparc/fpu/bits/mathdef.h)0
-rw-r--r--sysdeps/sparc/sparc32/fpu/s_fabs.c6
-rw-r--r--sysdeps/sparc/sparc32/fpu/s_fabsl.c5
-rw-r--r--sysdeps/sparc/sparc64/jmpbuf-unwind.h1
4 files changed, 10 insertions, 2 deletions
diff --git a/sysdeps/sparc/fpu/bits/mathdef.h b/sysdeps/sparc/bits/mathdef.h
index c8dcc9c93f..c8dcc9c93f 100644
--- a/sysdeps/sparc/fpu/bits/mathdef.h
+++ b/sysdeps/sparc/bits/mathdef.h
diff --git a/sysdeps/sparc/sparc32/fpu/s_fabs.c b/sysdeps/sparc/sparc32/fpu/s_fabs.c
index db5ecf2162..b883e6e862 100644
--- a/sysdeps/sparc/sparc32/fpu/s_fabs.c
+++ b/sysdeps/sparc/sparc32/fpu/s_fabs.c
@@ -1,5 +1,11 @@
+#include <math.h>
+#include <math_ldbl_opt.h>
+
 double __fabs (double x)
 {
   return __builtin_fabs (x);
 }
 weak_alias (__fabs, fabs)
+#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
+compat_symbol (libm, __fabs, fabsl, GLIBC_2_0);
+#endif
diff --git a/sysdeps/sparc/sparc32/fpu/s_fabsl.c b/sysdeps/sparc/sparc32/fpu/s_fabsl.c
index 67e9f47071..3c03b92828 100644
--- a/sysdeps/sparc/sparc32/fpu/s_fabsl.c
+++ b/sysdeps/sparc/sparc32/fpu/s_fabsl.c
@@ -1,5 +1,8 @@
+#include <math.h>
+#include <math_ldbl_opt.h>
+
 long double __fabsl (long double x)
 {
   return __builtin_fabsl (x);
 }
-weak_alias (__fabsl, fabsl)
+long_double_symbol (libm, __fabsl, fabsl);
diff --git a/sysdeps/sparc/sparc64/jmpbuf-unwind.h b/sysdeps/sparc/sparc64/jmpbuf-unwind.h
index b7e327d0f6..f7eed15ea1 100644
--- a/sysdeps/sparc/sparc64/jmpbuf-unwind.h
+++ b/sysdeps/sparc/sparc64/jmpbuf-unwind.h
@@ -18,7 +18,6 @@
    02111-1307 USA.  */
 
 #include <setjmp.h>
-#include <jmpbuf-offsets.h>
 #include <stdint.h>
 #include <unwind.h>