raju goruganti <raju.goruganti@xxxxxxxxx> writes: > Just I want to know ,Whether the dafult for '-mtp' is soft or not? > > If yes ,Why it has been choosen as soft? > > I think mtp=cp15 is more efficient(I figured this out after some > google -search). >From the friendly manual: `-mtp=NAME' Specify the access model for the thread local storage pointer. The valid models are `soft', which generates calls to `__aeabi_read_tp', `cp15', which fetches the thread pointer from `cp15' directly (supported in the arm6k architecture), and `auto', which uses the best available method for the selected processor. The default setting is `auto'. Ian