60a61,66
>
> if (flags & TGT_CLONE_SETTLS) {
> /* TPIDR_EL0 is architecturally mapped to TPIDRURW, so
> * this works for both aarch32 and aarch64. */
> ctc->setMiscReg(ArmISA::MISCREG_TPIDR_EL0, tls);
> }