]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linux(4): Use COMPAT_LINUX32 enstead of __ELF_WORD_SIZE.
authorDmitry Chagin <dchagin@FreeBSD.org>
Thu, 2 Feb 2023 14:58:06 +0000 (17:58 +0300)
committerDmitry Chagin <dchagin@FreeBSD.org>
Thu, 2 Feb 2023 14:58:06 +0000 (17:58 +0300)
commit6f8439db241c7409275d77f5376e8505967bef67
tree17a8aec3aabe4ba18aa4da17369cf2d4106466a8
parent7446514533a40b376eaeb349ea33531ce9c711c2
linux(4): Use COMPAT_LINUX32 enstead of __ELF_WORD_SIZE.

COMPAT_LINUX32 option is defined for case when building 32-bit Linuxulator
for the 64-bit host. Usage of __ELF_WORD_SIZE is wrong here as it is equal to 32
on i386 too.

MFC after: 1 week
sys/compat/linux/linux_elf.c