selftests/sgx: Fix linker script asserts
authorJo Van Bulck <jo.vanbulck@cs.kuleuven.be>
Thu, 5 Oct 2023 15:38:50 +0000 (17:38 +0200)
committerDave Hansen <dave.hansen@linux.intel.com>
Fri, 8 Dec 2023 18:05:27 +0000 (10:05 -0800)
commit9fd552ee32c6c1e27c125016b87d295bea6faea7
tree5fc7267e61f3dc27c475e2f02b7a6c4673b32f3b
parentd06978e8e47a348c0d33462a8c2bf8f46d2b7df5
selftests/sgx: Fix linker script asserts

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
tools/testing/selftests/sgx/test_encl.lds