Currently all Jit TLS access tests fail for several reasons; 1. the builtins needed are not created during startup 2. Darwin needs the "word" type to be available 3. Emulated TLS variables are not exported by name - instead the name of the control object is exported, so we have to look up via that.
Tested on x86_64-linux, darwin and aarch64-linux, OK for trunk? thanks, Iain Iain Sandoe (2): jit: Create additional builtins that Darwin uses. jit: Lookup TLS globals for targets with emulated TLS. gcc/jit/jit-builtins.cc | 9 +++++- gcc/jit/jit-result.cc | 70 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+), 1 deletion(-) -- 2.50.1 (Apple Git-155)
