MegatonHammer / megaton-hammer

The only tool you'll need to hit a Rusty Switch
https://discord.gg/MZJbNZY
55 stars 3 forks source link

Implement fast/ELF TLS #35

Open roblabla opened 6 years ago

roblabla commented 6 years ago

Would allow me to remove a bunch of internal mutexes that don't make much sense.

roblabla commented 6 years ago
note: lld: error: /home/roblabla/.xargo/lib/rustlib/aarch64-roblabla-switch/lib/libstd-b9a7f3015403aaf7.rlib(std-b9a7f3015403aaf7.f3hc7akdz4c6xjg.rcgu.o) has an STT_TLS symbol but doesn't have an SHF_TLS section

When linking with lld.

roblabla commented 6 years ago

devkitPro uses -mtp=soft, patched to work on aarch64.