WSL2-Linux-Kernel/tools/testing/selftests/sgx
Jo Van Bulck 8451aa6694 selftests/sgx: Fix linker script asserts
[ Upstream commit 9fd552ee32c6c1e27c125016b87d295bea6faea7 ]

DEFINED only considers symbols, not section names. Hence, replace the
check for .got.plt with the _GLOBAL_OFFSET_TABLE_ symbol and remove other
(non-essential) asserts.

Signed-off-by: Jo Van Bulck <jo.vanbulck@cs.kuleuven.be>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Link: https://lore.kernel.org/all/20231005153854.25566-10-jo.vanbulck%40cs.kuleuven.be
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-02-23 08:54:51 +01:00
..
.gitignore
Makefile selftests/sgx: Skip non X86_64 platform 2024-01-25 14:52:51 -08:00
call.S
defines.h
load.c
main.c
main.h
sign_key.S
sign_key.pem
sigstruct.c selftests/sgx: Fix uninitialized pointer dereference in error path 2024-01-25 14:52:51 -08:00
test_encl.c
test_encl.lds selftests/sgx: Fix linker script asserts 2024-02-23 08:54:51 +01:00
test_encl_bootstrap.S