https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102352
Ard Biesheuvel changed:
What|Removed |Added
CC||ardb at kernel dot org
--- Comment #1 from Ard Biesheuvel ---
For 32-bit ARM, it would be useful to have
-mstack-protector-guard=tls
-mstack-protector-guard-offset=
and use gen_load_tp_hard() internally. As we also use the TLS register to index
other per-task data (using __builtin_thread_pointer()), we get better code this
way, since the compiler understands that there is no need to load the TLS
register multiple times in the same function.