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 alpha/boot/tools/objstrip: fix the check for ELF header 2023-03-10 09:33:30 +01:00
Makefile
bootloader.lds
bootp.c
bootpz.c
head.S
main.c
misc.c alpha: fix spelling mistakes 2021-07-25 22:33:04 -07:00
stdio.c