02.10.2024 16:51, Laurent Vivier wrote:
Le 02/10/2024 à 11:11, Michael Tokarev a écrit :
Other places of this file operate in host byte order. Only
this constant is defined as little-endian. This does not
work, for example, on s390x host when running an arm64 binary:
qemu-arm64: /usr/bin/busybox: Invalid note in PT_GNU_PROPERTY
This change is tested on all combinations of host/guest for
which debian provides release architectures, namely:
amd64 arm64 armel armhf i386 mips64el ppc64el riscv64 s390x
Actually this is wrong. The only architecture on debian where this
.note.gnu.property field is actually used is aarch64. On all other
architectures, this code path is not tested. But for aarch64 binary
I actually tested on all (host) architectures listed above. I should
update the commit comment.
Thanks,
/mjt