]> sourceware.org Git - glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Mon, 15 Nov 1999 07:01:16 +0000 (07:01 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 15 Nov 1999 07:01:16 +0000 (07:01 +0000)
* scripts/versions.awk: Don't expect to read predecessor versions,
compute them.
* Versions.def: Remove predecessors.  They get now computed.

1999-11-14  Ulrich Drepper  <drepper@cygnus.com>

Patches by Franz Sirl <Franz.Sirl@lauterbach.com>.

ChangeLog
Versions.def
scripts/versions.awk

index 4744086f2ad3eb24ebd226cb8a460aba24210a38..8abb6718c0c211b9b6d60e239bcaba4e70b17580 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+1999-11-14  Ulrich Drepper  <drepper@cygnus.com>
+
+       * scripts/versions.awk: Don't expect to read predecessor versions,
+       compute them.
+       * Versions.def: Remove predecessors.  They get now computed.
+
 1999-11-14  Ulrich Drepper  <drepper@cygnus.com>
 
        * sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype.
@@ -5,7 +11,7 @@
        prototype.
        * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit.
        * sysdeps/powerpc/stackinfo.h: New file.
-       Patches by Franz Sirl <Franz.Sirl@lauterback.com>.
+       Patches by Franz Sirl <Franz.Sirl@lauterbach.com>.
 
 1999-11-13  Roland McGrath  <roland@baalperazim.frob.com>
 
index d4673915e76e5939fdb40250cc561852c8634e32..0a34a50c1d283bc25eca3fd787b14bd12c7a0599 100644 (file)
@@ -3,40 +3,40 @@ libBrokenLocale {
 }
 libc {
   GLIBC_2.0
-  GLIBC_2.1 GLIBC_2.0
-  GLIBC_2.1.1 GLIBC_2.1
-  GLIBC_2.1.2 GLIBC_2.1.1
-  GLIBC_2.1.3 GLIBC_2.1.2
-  GLIBC_2.2 GLIBC_2.1.3
+  GLIBC_2.1
+  GLIBC_2.1.1
+  GLIBC_2.1.2
+  GLIBC_2.1.3
+  GLIBC_2.2
 }
 libcrypt {
   GLIBC_2.0
 }
 libdb {
   GLIBC_2.0
-  GLIBC_2.1 GLIBC_2.0
-  GLIBC_2.2 GLIBC_2.1
+  GLIBC_2.1
+  GLIBC_2.2
 }
 libdl {
   GLIBC_2.0
-  GLIBC_2.1 GLIBC_2.0
+  GLIBC_2.1
 }
 libhurduser {
   GLIBC_2.0
 }
 libm {
   GLIBC_2.0
-  GLIBC_2.1 GLIBC_2.0
-  GLIBC_2.1.3 GLIBC_2.1
-  GLIBC_2.2 GLIBC_2.1.3
+  GLIBC_2.1
+  GLIBC_2.1.3
+  GLIBC_2.2
 }
 libmachuser {
   GLIBC_2.0
 }
 libnsl {
   GLIBC_2.0
-  GLIBC_2.1 GLIBC_2.0
-  GLIBC_2.2 GLIBC_2.1
+  GLIBC_2.1
+  GLIBC_2.2
 }
 libnss_compat {
   GLIBC_2.0
@@ -49,11 +49,11 @@ libnss_dns {
 }
 libnss_files {
   GLIBC_2.0
-  GLIBC_2.1 GLIBC_2.0
+  GLIBC_2.1
 }
 libnss_hesiod {
   GLIBC_2.1
-  GLIBC_2.2 GLIBC_2.1
+  GLIBC_2.2
 }
 libnss_nis {
   GLIBC_2.0
@@ -63,9 +63,9 @@ libnss_nisplus {
 }
 libpthread {
   GLIBC_2.0
-  GLIBC_2.1 GLIBC_2.0
-  GLIBC_2.1.1 GLIBC_2.1
-  GLIBC_2.1.2 GLIBC_2.1.1
+  GLIBC_2.1
+  GLIBC_2.1.1
+  GLIBC_2.1.2
 }
 libresolv {
   GLIBC_2.0
@@ -81,8 +81,8 @@ libdb1 {
 }
 ld.so {
   GLIBC_2.0
-  GLIBC_2.1 GLIBC_2.0
-  GLIBC_2.1.1 GLIBC_2.1
+  GLIBC_2.1
+  GLIBC_2.1.1
 }
 libthread_db {
   GLIBC_2.1.3
index 49f449cdeaf955f88303676d0110a683b0e0d741..78ed73914b7c153d231cfeff2f6f3d08e129d6b1 100644 (file)
@@ -17,12 +17,6 @@ BEGIN {
       curlib = $1;
       while (getline < defsfile && ! /^}/) {
        versions[$1] = 1;
-       if (NF > 1) {
-         derived[curlib, $1] = " " $2;
-         for (n = 3; n <= NF; ++n) {
-           derived[curlib, $1] = derived[curlib, $1] ", " $n;
-         }
-       }
       }
     }
   }
@@ -65,12 +59,12 @@ BEGIN {
 }
 
 
-function closeversion(name) {
+function closeversion(name, oldname) {
   if (firstinfile) {
     printf("  local:\n    *;\n") > outfile;
     firstinfile = 0;
   }
-  printf("}%s;\n", derived[oldlib, name]) > outfile;
+  printf("}%s;\n", oldname) > outfile;
 }
 
 function close_and_move(name, real_name) {
@@ -87,7 +81,7 @@ END {
   while(getline < tmpfile) {
     if ($1 != oldlib) {
       if (oldlib != "") {
-       closeversion(oldver);
+       closeversion(oldver, veryoldver);
        oldver = "";
        close_and_move(outfile, real_outfile);
       }
@@ -95,11 +89,13 @@ END {
       real_outfile = buildroot oldlib ".map";
       outfile = real_outfile "T";
       firstinfile = 1;
+      veryoldver = "";
       printf(" %s.map", oldlib);
     }
     if ($2 != oldver) {
       if (oldver != "") {
-       closeversion(oldver);
+       closeversion(oldver, veryoldver);
+       veryoldver = oldver;
       }
       printf("%s {\n  global:\n", $2) > outfile;
       oldver = $2;
@@ -111,7 +107,7 @@ END {
     printf("\n") > outfile;
   }
   printf("\n");
-  closeversion(oldver);
+  closeversion(oldver, veryoldver);
   close_and_move(outfile, real_outfile);
   system("rm -f " tmpfile);
 }
This page took 0.055753 seconds and 5 git commands to generate.