On 31 December 2017 at 16:55, Greg V <greg@unrelenting.technology> wrote: > Elf64_Nhdr exists, Elf_Nhdr does not. > This doesn't sound right. Having a look at FreeBSD [1] it seems that it aliases Elf{32,64}_Nhdr to Elf_Note and not Elf_Nhdr?! In practise the layout of Nhdr and Note is identical, although the former has a n_ prefix for the struct members.
AFACIT OpenBSD, NetBSD and Linux have two distinction struct, so this better be fixed in FreeBSD's implementation. Diverging from others is going to add grief to everyone. Can you please add a typedef in FreeBSD sources, pretty please? Thanks Emil [1] https://github.com/freebsd/freebsd/search?utf8=%E2%9C%93&q=Elf32_Nhdr&type= _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev