summaryrefslogtreecommitdiff
path: root/scripts/soversions.awk
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2008-05-24 22:22:20 +0000
committerJakub Jelinek <jakub@redhat.com>2008-05-24 22:22:20 +0000
commit8ba7d5cebbd4acf40dc8d22982baa50c2e1fd194 (patch)
treece09df60a6357e43ff65911fc7e817bcae26486f /scripts/soversions.awk
parente96fe50f0dd8d76fabfe139b46f059e3b2373b83 (diff)
Updated to fedora-glibc-20080524T2218cvs/fedora-glibc-2_8_90-5
Diffstat (limited to 'scripts/soversions.awk')
-rw-r--r--scripts/soversions.awk13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/soversions.awk b/scripts/soversions.awk
index 32ce076ba9..55577ccc7e 100644
--- a/scripts/soversions.awk
+++ b/scripts/soversions.awk
@@ -18,6 +18,16 @@ $2 ~ /WORDSIZE[3264]/ {
next;
}
+$2 == "ABI" {
+ if ((config ~ thiscf) && !abiname) {
+ abiname = $3;
+ sub(/@CPU@/, cpu, abiname);
+ sub(/@VENDOR@/, vendor, abiname);
+ sub(/@OS@/, os, abiname);
+ }
+ next;
+}
+
# Obey the first matching DEFAULT line.
$2 == "DEFAULT" {
$1 = $2 = "";
@@ -66,6 +76,9 @@ END {
}
}
}
+ if (abiname) {
+ print "ABI", abiname
+ }
for (c in lines) {
print lines[c]
}