acrn-kernel/arch/alpha/boot
Al Viro 9b1f0df649 alpha/boot/tools/objstrip: fix the check for ELF header
[ Upstream commit 1878787797 ]

Just memcmp() with ELFMAG - that's the normal way to do it in userland
code, which that thing is.  Besides, that has the benefit of actually
building - str_has_prefix() is *NOT* present in <string.h>.

Fixes: 5f14596e55 "alpha: Replace strncmp with str_has_prefix"
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-10 09:33:30 +01:00
..
tools
Makefile
bootloader.lds
bootp.c
bootpz.c
head.S
main.c
misc.c
stdio.c