diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | scripts/soversions.awk | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index c21734bd4b..1a47651b0b 100644 --- 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 diff --git a/scripts/soversions.awk b/scripts/soversions.awk index eab2e17677..32ce076ba9 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); |