From: Roland McGrath Date: Tue, 15 Feb 2005 00:05:57 +0000 (+0000) Subject: * scripts/soversions.awk: Only record first WORDSIZE{32,64} X-Git-Tag: cvs/fedora-glibc-2_3-20050226T0141~43 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3220ccb6874105079403ffc7335bb58cb3cbab91;p=thirdparty%2Fglibc.git * scripts/soversions.awk: Only record first WORDSIZE{32,64} matching line. --- diff --git a/ChangeLog b/ChangeLog index c21734bd4bb..1a47651b0b7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-02-11 Jakub Jelinek + + * scripts/soversions.awk: Only record first WORDSIZE{32,64} + matching line. + 2005-02-14 Alan Modra * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Define diff --git a/scripts/soversions.awk b/scripts/soversions.awk index eab2e176774..32ce076ba99 100644 --- a/scripts/soversions.awk +++ b/scripts/soversions.awk @@ -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);