]> sourceware.org Git - glibc.git/commitdiff
Make sparc64 GLIBC_2.2+ only.
authorUlrich Drepper <drepper@redhat.com>
Thu, 29 Jun 2000 20:58:06 +0000 (20:58 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 29 Jun 2000 20:58:06 +0000 (20:58 +0000)
2000-06-29  Jakub Jelinek  <jakub@redhat.com>

* shlib-versions: Make sparc64 GLIBC_2.2+ only.

12 files changed:
linuxthreads/ChangeLog
linuxthreads/shlib-versions
shlib-versions
stdio-common/tst-printf.c
sysdeps/sparc/fpu/fclrexcpt.c
sysdeps/sparc/fpu/fegetenv.c
sysdeps/sparc/fpu/fesetenv.c
sysdeps/sparc/fpu/feupdateenv.c
sysdeps/sparc/fpu/fgetexcptflg.c
sysdeps/sparc/fpu/fraiseexcpt.c
sysdeps/sparc/fpu/fsetexcptflg.c
sysdeps/unix/sysv/linux/sparc/sparc64/Versions [new file with mode: 0644]

index 957085c5533b393362bb733b5d12f8f08de82d0e..ee5a933c75345e5e1a6368b3a2553b3cc89ab6ad 100644 (file)
@@ -1,3 +1,7 @@
+2000-06-29  Jakub Jelinek  <jakub@redhat.com>
+
+       * shlib-versions: Make sparc64 GLIBC_2.2+ only.
+
 2000-06-28  Greg McGary  <greg@mcgary.org>
 
        * weaks.c: Wrap BP_SYM () around weak extern declarations of
index 1021403b936c9d3738d2075950f163c4945ba405..a7d26c288d4897b0d177789eafcec50860298825 100644 (file)
@@ -1,4 +1,5 @@
 # Xavier Leroy's Linux clone based thread library.
 mips.*-.*-linux.*      libpthread=0            GLIBC_2.0 GLIBC_2.2
+sparc64-.*-linux.*     libpthread=0            GLIBC_2.2
 sh.*-.*-linux.*                libpthread=0            GLIBC_2.2
 .*-.*-linux.*          libpthread=0
index ef6d94f96b698068ac098279986b9f31fc2ae6a3..35186106aed849a0c1ea05037dc1b635d14378aa 100644 (file)
@@ -19,6 +19,7 @@
 # The interface to -lm depends mostly only on cpu, not on operating system.
 i.86-.*-.*             libm=6
 m68k-.*-.*             libm=6
+sparc64-.*-linux.*     libm=6                  GLIBC_2.2
 sparc.*-.*-.*          libm=6
 alpha.*-.*-linux.*     libm=6.1
 alpha.*-.*-.*          libm=6
@@ -35,6 +36,7 @@ alpha.*-.*-linux.*    libc=6.1
 mips.*-.*-linux.*      libc=6                  GLIBC_2.0 GLIBC_2.2
 ia64-.*-.*             libc=6.1                GLIBC_2.2
 sh.*-.*-.*              libc=6                  GLIBC_2.2
+sparc64-.*-linux.*     libc=6                  GLIBC_2.2
 .*-.*-linux.*          libc=6
 
 # libmachuser.so.1 corresponds to mach/*.defs as of Utah's UK22 release.
@@ -52,7 +54,7 @@ sh.*-.*-.*              libc=6                  GLIBC_2.2
 
 # The dynamic loader also requires different names.
 i.86-.*-linux.*                ld=ld-linux.so.2
-sparc64-.*-linux.*     ld=ld-linux.so.2
+sparc64-.*-linux.*     ld=ld-linux.so.2        GLIBC_2.2
 sparc.*-.*-linux.*     ld=ld-linux.so.2
 alpha.*-.*-linux.*     ld=ld-linux.so.2
 arm.*-.*-linux.*       ld=ld-linux.so.2
index 0d40e294136cf509415d2ee2e6a8b9ab0d9f4810..8dccd3fd4854d00f355cf8fa2867abe4741db525 100644 (file)
@@ -188,7 +188,7 @@ I am ready for my first lesson today.";
 
   printf ("%#03x\n", 1);
 
-  printf ("something really insane: %.10000f", 1.0);
+  printf ("something really insane: %.10000f\n", 1.0);
 
   {
     double d = FLT_MIN;
index 647387e5ec4b9949f9b670454b2a443fd3db7b3b..9b10f1b6e939cebcf14c08bd61ea77e770719c07 100644 (file)
@@ -18,6 +18,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <fenv.h>
+#include <shlib-compat.h>
 
 int
 __feclearexcept (int excepts)
@@ -33,6 +34,10 @@ __feclearexcept (int excepts)
   /* Success.  */
   return 0;
 }
+
+#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2)
 strong_alias (__feclearexcept, __old_feclearexcept)
-symbol_version (__old_feclearexcept, feclearexcept, GLIBC_2.1);
-default_symbol_version (__feclearexcept, feclearexcept, GLIBC_2.2);
+compat_symbol (libm, __old_feclearexcept, feclearexcept, GLIBC_2_1);
+#endif
+
+versioned_symbol (libm, __feclearexcept, feclearexcept, GLIBC_2_2);
index 0322717b1d26a8a89089e7e6131b8bb84f806968..8dbcd69435192341d74b52df21ca4182dd110f22 100644 (file)
@@ -18,6 +18,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <fenv.h>
+#include <shlib-compat.h>
 
 int
 __fegetenv (fenv_t *envp)
@@ -27,6 +28,10 @@ __fegetenv (fenv_t *envp)
   /* Success.  */
   return 0;
 }
+
+#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2)
 strong_alias (__fegetenv, __old_fegetenv)
-symbol_version (__old_fegetenv, fegetenv, GLIBC_2.1);
-default_symbol_version (__fegetenv, fegetenv, GLIBC_2.2);
+compat_symbol (libm, __old_fegetenv, fegetenv, GLIBC_2_1);
+#endif
+
+versioned_symbol (libm, __fegetenv, fegetenv, GLIBC_2_2);
index 87dd39c875448c9112bf3bdb458b30548f8032e2..16ec6fe9373c0b36a0b3d1dd144efac7e66231fe 100644 (file)
@@ -18,6 +18,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <fenv.h>
+#include <shlib-compat.h>
 
 int
 __fesetenv (const fenv_t *envp)
@@ -44,6 +45,10 @@ __fesetenv (const fenv_t *envp)
   /* Success.  */
   return 0;
 }
+
+#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2)
 strong_alias (__fesetenv, __old_fesetenv)
-symbol_version (__old_fesetenv, fesetenv, GLIBC_2.1);
-default_symbol_version (__fesetenv, fesetenv, GLIBC_2.2);
+compat_symbol (libm, __old_fesetenv, fesetenv, GLIBC_2_1);
+#endif
+
+versioned_symbol (libm, __fesetenv, fesetenv, GLIBC_2_2);
index 84e13d0939ecbe1cb14ca0c71feb468a9301bf03..5ddf5e0fdb4359cf71a55c8d3518fe054d3a83e7 100644 (file)
@@ -18,6 +18,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <fenv.h>
+#include <shlib-compat.h>
 
 int
 __feupdateenv (const fenv_t *envp)
@@ -39,6 +40,10 @@ __feupdateenv (const fenv_t *envp)
   /* Success.  */
   return 0;
 }
+
+#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2)
 strong_alias (__feupdateenv, __old_feupdateenv)
-symbol_version (__old_feupdateenv, feupdateenv, GLIBC_2.1);
-default_symbol_version (__feupdateenv, feupdateenv, GLIBC_2.2);
+compat_symbol (libm, __old_feupdateenv, feupdateenv, GLIBC_2_1);
+#endif
+
+versioned_symbol (libm, __feupdateenv, feupdateenv, GLIBC_2_2);
index 5466084b38187f7c3093f9ff30cfd1d238337a35..89cfc4a03cbf51ea8e677808a0d7748865ab231a 100644 (file)
@@ -18,6 +18,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <fenv.h>
+#include <shlib-compat.h>
 
 int
 __fegetexceptflag (fexcept_t *flagp, int excepts)
@@ -32,6 +33,10 @@ __fegetexceptflag (fexcept_t *flagp, int excepts)
   /* Success.  */
   return 0;
 }
+
+#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2)
 strong_alias (__fegetexceptflag, __old_fegetexceptflag)
-symbol_version (__old_fegetexceptflag, fegetexceptflag, GLIBC_2.1);
-default_symbol_version (__fegetexceptflag, fegetexceptflag, GLIBC_2.2);
+compat_symbol (libm, __old_fegetexceptflag, fegetexceptflag, GLIBC_2_1);
+#endif
+
+versioned_symbol (libm, __fegetexceptflag, fegetexceptflag, GLIBC_2_2);
index 485cfdf888e6d7649c8179e44496339ad92f1efa..b6c5d805416e2b066178b3bacd5d644ee465231b 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <fenv.h>
 #include <math.h>
+#include <shlib-compat.h>
 
 int
 __feraiseexcept (int excepts)
@@ -59,6 +60,10 @@ __feraiseexcept (int excepts)
   /* Success.  */
   return 0;
 }
+
+#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2)
 strong_alias (__feraiseexcept, __old_feraiseexcept)
-symbol_version (__old_feraiseexcept, feraiseexcept, GLIBC_2.1);
-default_symbol_version (__feraiseexcept, feraiseexcept, GLIBC_2.2);
+compat_symbol (libm, __old_feraiseexcept, feraiseexcept, GLIBC_2_1);
+#endif
+
+versioned_symbol (libm, __feraiseexcept, feraiseexcept, GLIBC_2_2);
index cc7f6cf89cbe2a9d477dc30ad0f29defae4c3f00..53443c6f29dc7e96dda6b63a6ef17932f6e21d9b 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <fenv.h>
 #include <math.h>
+#include <shlib-compat.h>
 
 int
 __fesetexceptflag (const fexcept_t *flagp, int excepts)
@@ -35,6 +36,10 @@ __fesetexceptflag (const fexcept_t *flagp, int excepts)
   /* Success.  */
   return 0;
 }
+
+#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2)
 strong_alias (__fesetexceptflag, __old_fesetexceptflag)
-symbol_version (__old_fesetexceptflag, fesetexceptflag, GLIBC_2.1);
-default_symbol_version (__fesetexceptflag, fesetexceptflag, GLIBC_2.2);
+compat_symbol (libm, __old_fesetexceptflag, fesetexceptflag, GLIBC_2_1);
+#endif
+
+versioned_symbol (libm, __fesetexceptflag, fesetexceptflag, GLIBC_2_2);
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/Versions b/sysdeps/unix/sysv/linux/sparc/sparc64/Versions
new file mode 100644 (file)
index 0000000..2d3061b
--- /dev/null
@@ -0,0 +1,8 @@
+libc {
+  GLIBC_2.0 {
+    # Exception handling support functions from libgcc
+    __register_frame; __register_frame_table; __deregister_frame;
+    __register_frame_info; __deregister_frame_info; __frame_state_for;
+    __register_frame_info_table;
+  }
+}
This page took 0.061144 seconds and 5 git commands to generate.