diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/abi-versions.awk | 9 | ||||
-rw-r--r-- | scripts/soversions.awk | 2 |
2 files changed, 1 insertions, 10 deletions
diff --git a/scripts/abi-versions.awk b/scripts/abi-versions.awk index 06fa14833c..c369793459 100644 --- a/scripts/abi-versions.awk +++ b/scripts/abi-versions.awk @@ -1,9 +1,6 @@ # Script to generate <abi-versions.h> header file from Versions.all list. # See include/shlib-compat.h comments for explanation. -# This script expects the following variables to be defined: -# oldest_abi the oldest ABI supported - BEGIN { print "/* This file is automatically generated by abi-versions.awk."; print " It defines symbols used by shlib-compat.h, which see. */"; @@ -31,8 +28,6 @@ $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; } @@ -43,10 +38,6 @@ $2 == "=" { printf "#define ABI_%s_%s\t%d\t/* support %s */\n", libid, versid, ++n, vers; printf "#define VERSION_%s_%s\t%s\n", libid, versid, vers; - if ("GLIBC_" oldest_abi == vers) - start = 1; - if (start == 0 && oldest_abi != "default") - --n; next; } diff --git a/scripts/soversions.awk b/scripts/soversions.awk index dbc90590e8..247f061bc3 100644 --- a/scripts/soversions.awk +++ b/scripts/soversions.awk @@ -27,7 +27,7 @@ END { if (lib in versions) set = versions[lib]; else { - set = default_setname; + set = ""; if (ndefault_set >= 1) set = default_set[1]; } |