Re: [PATCH] Put __dso_handle in .sdata/.sbss on ia64

2019-06-05 Thread Jeff Law
On 6/1/19 6:30 PM, James Clarke wrote: > The symbol is exposed to C by dso_handle.h, and since it's a single > 8-byte pointer, it is just within the threshold for being in the small > data (or bss) section, so code accessing it will use GP-relative > addressing. Therefore we must put it in .sdata/.

[PATCH] Put __dso_handle in .sdata/.sbss on ia64

2019-06-01 Thread James Clarke
The symbol is exposed to C by dso_handle.h, and since it's a single 8-byte pointer, it is just within the threshold for being in the small data (or bss) section, so code accessing it will use GP-relative addressing. Therefore we must put it in .sdata/.sbss in case our other data sections grow too b