* scripts/soversions.awk: Only record first WORDSIZE{32,64}
authorRoland McGrath <roland@gnu.org>
Tue, 15 Feb 2005 00:05:57 +0000 (00:05 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 15 Feb 2005 00:05:57 +0000 (00:05 +0000)
matching line.

ChangeLog
scripts/soversions.awk

index c21734b..1a47651 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-02-11  Jakub Jelinek  <jakub@redhat.com>
+
+       * scripts/soversions.awk: Only record first WORDSIZE{32,64}
+       matching line.
+
 2005-02-14  Alan Modra  <amodra@bigpond.net.au>
 
        * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Define
index eab2e17..32ce076 100644 (file)
@@ -8,7 +8,7 @@ BEGIN {
 { thiscf = $1 }
 
 $2 ~ /WORDSIZE[3264]/ {
-  if (config ~ thiscf) {
+  if ((config ~ thiscf) && !othercf) {
     othercf = $3;
     sub(/@CPU@/, cpu, othercf);
     sub(/@VENDOR@/, vendor, othercf);