summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-04-09 05:39:54 +0000
committerUlrich Drepper <drepper@redhat.com>2008-04-09 05:39:54 +0000
commitc2a684a419ce936d7443bcb1e71ea7725fee0507 (patch)
tree67dd9e6954f8e1a79816f0f466e1f154dd815061
parent7b61ef2419ab0d1f92e556c194d956b140d5cc94 (diff)
downloadglibc-c2a684a419ce936d7443bcb1e71ea7725fee0507.tar.gz
[BZ #6024]
* scripts/abi-versions.awk: If the version specified by --enable-oldest-abi is older than the first version for this architecture, use the default version.
-rw-r--r--ChangeLog5
-rw-r--r--scripts/abi-versions.awk3
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index dc69606acd..b9a0b74fa3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2008-04-08 Ulrich Drepper <drepper@redhat.com>
+ [BZ #6024]
+ * scripts/abi-versions.awk: If the version specified by
+ --enable-oldest-abi is older than the first version for this
+ architecture, use the default version.
+
* locale/programs/ld-collate.c (collate_read): Ignore script lines
as well when ignoring the whole category.
diff --git a/scripts/abi-versions.awk b/scripts/abi-versions.awk
index ab98d78e54..06fa14833c 100644
--- a/scripts/abi-versions.awk
+++ b/scripts/abi-versions.awk
@@ -30,6 +30,9 @@ $2 == "=" {
printf "#define ABI_%s_%s\tABI_%s_%s\n", libid, oldid, libid, newid;
printf "#define VERSION_%s_%s\t%s\n", libid, oldid, new;
+
+ if ("GLIBC_" oldest_abi == old)
+ oldest_abi = "default";
next;
}