On 24.10.2018 18:08, Warner Losh wrote: > > > Note that libstand also provides crc32.c which seems to be unused. > > > > It is used by part.c, by the GPT functions. However, if we have > non-optional compile case for crc32, it is not hard to update part.c > and drop the unused instance. > > My point is that static library cannot usefully contain two files > with the > same name. I believe that libstand.a provides crc32.o compiled from the > contrib/zlib location. > > > Yes. It does.
AFAIR, there was some PR that asks for adding CRC32 support to tha loader commands. Maybe it is time to add something that can be used by all consumers. https://bugs.freebsd.org/bugzilla/buglist.cgi?list_id=256921&query_format=advanced&short_desc=crc32&short_desc_type=allwordssubstr -- WBR, Andrey V. Elsukov
signature.asc
Description: OpenPGP digital signature