Home
last modified time | relevance | path

Searched hist:ec44ca1e34bc3a9864a8c1bf8636066ec6d5d2e5 (Results 1 – 1 of 1) sorted by relevance

/linux/tools/testing/selftests/sgx/
H A Dtest_encl.ldsdiff ec44ca1e34bc3a9864a8c1bf8636066ec6d5d2e5 Thu Oct 05 17:38:53 CEST 2023 Jo Van Bulck <jo.vanbulck@cs.kuleuven.be> selftests/sgx: Discard unsupported ELF sections

Building the test enclave with -static-pie may produce a dynamic symbol
table, but this is not supported for enclaves and any relocations need to
happen manually (e.g., as for "encl_op_array"). Thus, opportunistically
discard ".dyn*" and ".gnu.hash" which the enclave loader cannot handle.

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-13-jo.vanbulck%40cs.kuleuven.be