Add regression 1029 (Thread Local Storage)
Adds a test using the __thread attribute, used in the main executable
and in a shared library. The test is single threaded of course (OP-TEE
does not support threads at the moment), but it exercices some
previously unimplemented features:
- New TLS relocations (Aarch32, Aarch64)
- The __tls_get_addr() runtime helper (Aarch32 only)
Signed-off-by: Jerome Forissier <jerome@forissier.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
diff --git a/ta/os_test/include/os_test.h b/ta/os_test/include/os_test.h
index 01892ad..6f05c0d 100644
--- a/ta/os_test/include/os_test.h
+++ b/ta/os_test/include/os_test.h
@@ -28,5 +28,7 @@
TEE_Result ta_entry_call_lib_dl_panic(uint32_t param_types, TEE_Param params[4]);
TEE_Result ta_entry_get_global_var(uint32_t param_types, TEE_Param params[4]);
TEE_Result ta_entry_client_identity(uint32_t param_types, TEE_Param params[4]);
+TEE_Result ta_entry_tls_test_main(void);
+TEE_Result ta_entry_tls_test_shlib(void);
#endif /*OS_TEST_H */