Windows version of GNU LD has bugs which cause that linker would translate
this unknown unversioned symbols to some random version.
So change pci_fill_info() to pci_fill_info_v38() in lib/filter.c to ensure
that last version of this function would be used also by Windows version of
GNU LD linker.
Before this change GNU LD translated this function call to symbol
_pci_fill_info@LIBPCI_3.0. After this change GNU LD translate it to
_pci_fill_info@LIBPCI_3.8.
}
if (f->device_class >= 0)
{
- pci_fill_info(d, PCI_FILL_CLASS);
+ pci_fill_info_v38(d, PCI_FILL_CLASS);
if ((f->device_class ^ d->device_class) & f->device_class_mask)
return 0;
}
if (f->prog_if >= 0)
{
- pci_fill_info(d, PCI_FILL_CLASS_EXT);
+ pci_fill_info_v38(d, PCI_FILL_CLASS_EXT);
if (f->prog_if != d->prog_if)
return 0;
}