* scripts/soversions.awk: Only record first WORDSIZE{32,64}

matching line.
This commit is contained in:
Roland McGrath 2005-02-15 00:05:57 +00:00
parent 7de0012172
commit 3220ccb687
2 changed files with 6 additions and 1 deletions

View File

@ -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> 2005-02-14 Alan Modra <amodra@bigpond.net.au>
* sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Define * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Define

View File

@ -8,7 +8,7 @@ BEGIN {
{ thiscf = $1 } { thiscf = $1 }
$2 ~ /WORDSIZE[3264]/ { $2 ~ /WORDSIZE[3264]/ {
if (config ~ thiscf) { if ((config ~ thiscf) && !othercf) {
othercf = $3; othercf = $3;
sub(/@CPU@/, cpu, othercf); sub(/@CPU@/, cpu, othercf);
sub(/@VENDOR@/, vendor, othercf); sub(/@VENDOR@/, vendor, othercf);