summaryrefslogtreecommitdiff
path: root/scripts
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 /scripts
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.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/abi-versions.awk3
1 files changed, 3 insertions, 0 deletions
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;
}