1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-10 05:03:06 +03:00
* 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>.
This commit is contained in:
Ulrich Drepper
1999-11-15 07:01:16 +00:00
parent cd4c4a2cd6
commit da6d7d3838
3 changed files with 34 additions and 32 deletions

View File

@@ -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> 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype. * sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype.
@@ -5,7 +11,7 @@
prototype. prototype.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit. * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit.
* sysdeps/powerpc/stackinfo.h: New file. * 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> 1999-11-13 Roland McGrath <roland@baalperazim.frob.com>

View File

@@ -3,40 +3,40 @@ libBrokenLocale {
} }
libc { libc {
GLIBC_2.0 GLIBC_2.0
GLIBC_2.1 GLIBC_2.0 GLIBC_2.1
GLIBC_2.1.1 GLIBC_2.1 GLIBC_2.1.1
GLIBC_2.1.2 GLIBC_2.1.1 GLIBC_2.1.2
GLIBC_2.1.3 GLIBC_2.1.2 GLIBC_2.1.3
GLIBC_2.2 GLIBC_2.1.3 GLIBC_2.2
} }
libcrypt { libcrypt {
GLIBC_2.0 GLIBC_2.0
} }
libdb { libdb {
GLIBC_2.0 GLIBC_2.0
GLIBC_2.1 GLIBC_2.0 GLIBC_2.1
GLIBC_2.2 GLIBC_2.1 GLIBC_2.2
} }
libdl { libdl {
GLIBC_2.0 GLIBC_2.0
GLIBC_2.1 GLIBC_2.0 GLIBC_2.1
} }
libhurduser { libhurduser {
GLIBC_2.0 GLIBC_2.0
} }
libm { libm {
GLIBC_2.0 GLIBC_2.0
GLIBC_2.1 GLIBC_2.0 GLIBC_2.1
GLIBC_2.1.3 GLIBC_2.1 GLIBC_2.1.3
GLIBC_2.2 GLIBC_2.1.3 GLIBC_2.2
} }
libmachuser { libmachuser {
GLIBC_2.0 GLIBC_2.0
} }
libnsl { libnsl {
GLIBC_2.0 GLIBC_2.0
GLIBC_2.1 GLIBC_2.0 GLIBC_2.1
GLIBC_2.2 GLIBC_2.1 GLIBC_2.2
} }
libnss_compat { libnss_compat {
GLIBC_2.0 GLIBC_2.0
@@ -49,11 +49,11 @@ libnss_dns {
} }
libnss_files { libnss_files {
GLIBC_2.0 GLIBC_2.0
GLIBC_2.1 GLIBC_2.0 GLIBC_2.1
} }
libnss_hesiod { libnss_hesiod {
GLIBC_2.1 GLIBC_2.1
GLIBC_2.2 GLIBC_2.1 GLIBC_2.2
} }
libnss_nis { libnss_nis {
GLIBC_2.0 GLIBC_2.0
@@ -63,9 +63,9 @@ libnss_nisplus {
} }
libpthread { libpthread {
GLIBC_2.0 GLIBC_2.0
GLIBC_2.1 GLIBC_2.0 GLIBC_2.1
GLIBC_2.1.1 GLIBC_2.1 GLIBC_2.1.1
GLIBC_2.1.2 GLIBC_2.1.1 GLIBC_2.1.2
} }
libresolv { libresolv {
GLIBC_2.0 GLIBC_2.0
@@ -81,8 +81,8 @@ libdb1 {
} }
ld.so { ld.so {
GLIBC_2.0 GLIBC_2.0
GLIBC_2.1 GLIBC_2.0 GLIBC_2.1
GLIBC_2.1.1 GLIBC_2.1 GLIBC_2.1.1
} }
libthread_db { libthread_db {
GLIBC_2.1.3 GLIBC_2.1.3

View File

@@ -17,12 +17,6 @@ BEGIN {
curlib = $1; curlib = $1;
while (getline < defsfile && ! /^}/) { while (getline < defsfile && ! /^}/) {
versions[$1] = 1; 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) { if (firstinfile) {
printf(" local:\n *;\n") > outfile; printf(" local:\n *;\n") > outfile;
firstinfile = 0; firstinfile = 0;
} }
printf("}%s;\n", derived[oldlib, name]) > outfile; printf("}%s;\n", oldname) > outfile;
} }
function close_and_move(name, real_name) { function close_and_move(name, real_name) {
@@ -87,7 +81,7 @@ END {
while(getline < tmpfile) { while(getline < tmpfile) {
if ($1 != oldlib) { if ($1 != oldlib) {
if (oldlib != "") { if (oldlib != "") {
closeversion(oldver); closeversion(oldver, veryoldver);
oldver = ""; oldver = "";
close_and_move(outfile, real_outfile); close_and_move(outfile, real_outfile);
} }
@@ -95,11 +89,13 @@ END {
real_outfile = buildroot oldlib ".map"; real_outfile = buildroot oldlib ".map";
outfile = real_outfile "T"; outfile = real_outfile "T";
firstinfile = 1; firstinfile = 1;
veryoldver = "";
printf(" %s.map", oldlib); printf(" %s.map", oldlib);
} }
if ($2 != oldver) { if ($2 != oldver) {
if (oldver != "") { if (oldver != "") {
closeversion(oldver); closeversion(oldver, veryoldver);
veryoldver = oldver;
} }
printf("%s {\n global:\n", $2) > outfile; printf("%s {\n global:\n", $2) > outfile;
oldver = $2; oldver = $2;
@@ -111,7 +107,7 @@ END {
printf("\n") > outfile; printf("\n") > outfile;
} }
printf("\n"); printf("\n");
closeversion(oldver); closeversion(oldver, veryoldver);
close_and_move(outfile, real_outfile); close_and_move(outfile, real_outfile);
system("rm -f " tmpfile); system("rm -f " tmpfile);
} }