Skip to content
Commit d8d7ffef authored by Jo Van Bulck's avatar Jo Van Bulck Committed by Greg Kroah-Hartman
Browse files

selftests/sgx: Fix linker script asserts



[ Upstream commit 9fd552ee ]

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: default avatarJo Van Bulck <jo.vanbulck@cs.kuleuven.be>
Signed-off-by: default avatarDave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
Link: https://lore.kernel.org/all/20231005153854.25566-10-jo.vanbulck%40cs.kuleuven.be


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent fa3f6cd2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment