summary refs log tree commit diff
diff options
context:
space:
mode:
-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;
 }