[BZ #6024]
authorUlrich Drepper <drepper@redhat.com>
Wed, 9 Apr 2008 05:39:54 +0000 (05:39 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 9 Apr 2008 05:39:54 +0000 (05:39 +0000)
* 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.

ChangeLog
scripts/abi-versions.awk

index dc69606..b9a0b74 100644 (file)
--- 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.
 
index ab98d78..06fa148 100644 (file)
@@ -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;
 }