about summary refs log tree commit diff
path: root/scripts/soversions.awk
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-06-27 20:24:23 +0000
committerJoseph Myers <joseph@codesourcery.com>2014-06-27 20:24:23 +0000
commitf1eafb41fa71cb5d88fbeda3136c9be965eeaa41 (patch)
tree870cc65c6ce6557c0faebca1c059e51ec5fcffce /scripts/soversions.awk
parent37caf178e25419c2c82663f10c7a09f12e1b4142 (diff)
downloadglibc-f1eafb41fa71cb5d88fbeda3136c9be965eeaa41.tar.gz
glibc-f1eafb41fa71cb5d88fbeda3136c9be965eeaa41.tar.xz
glibc-f1eafb41fa71cb5d88fbeda3136c9be965eeaa41.zip
Remove shlib-versions ABI names support.
shlib-versions files can contain ABI lines that map triplets to a
canonical ABI name.  This name was once used for various purposes
where test baseline files for different ABIs went in a single
directory; now these purposes use sysdeps files, generation of headers
which have per-ABI variants uses abi-variants and related Makefile
variables and the shlib-versions ABI names are unused.  This patch
duly removes those lines and associated build system support for them.

Tested for x86_64 (both a full testsuite run and confirming the
installed shared libraries are unchanged by the patch).

	* Makeconfig ($(common-objpfx)soversions.mk): Do not generate
	abi-name definition.
	* scripts/soversions.awk: Do not handle or generate ABI lines.
	* shlib-versions: Remove ABI entries.
	* sysdeps/powerpc/nofpu/shlib-versions: Remove file.
	* sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
Diffstat (limited to 'scripts/soversions.awk')
-rw-r--r--scripts/soversions.awk13
1 files changed, 0 insertions, 13 deletions
diff --git a/scripts/soversions.awk b/scripts/soversions.awk
index dc8afdc205..adba1556f0 100644
--- a/scripts/soversions.awk
+++ b/scripts/soversions.awk
@@ -7,16 +7,6 @@ BEGIN {
 
 { thiscf = $1 }
 
-$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 = "";
@@ -65,9 +55,6 @@ END {
 	}
       }
   }
-  if (abiname) {
-    print "ABI", abiname
-  }
   for (c in lines) {
     print lines[c]
   }