On Wed, 2018-05-02 at 18:07 +0930, Joel Stanley wrote: > Clang can't use the global register variable, so instead load struct > cpu_thread from r13 and return it. > How do we know clang is not using r13 for anything else? Does -ffixed-reg work with r13? Balbir Singh.