On Fri, 2022-08-05 at 09:05 +0800, Lulu Cheng wrote: > I'm working on the implementation of specifing attributes of variables for > other architectures. > If the address is obtained through the GOT table and 4 instructions, there is > not much difference in performance.
In this case I still prefer a GOT table entry because for 4-instruction absolute addressing sequence we'll need to implement 4 new relocation types in the kernel module loader. > Is it more reasonable for us to refer to the implementation of the model > attribute under the IA64 architecture? Maybe we can use "model(got)", "model(abs)", "model(pcrel)" etc. > I will compare the performance of the two soon. Do you know the approximate > release date of GCC 12.2? > I also want to fix this before 12.2 is released. GCC 12.2 rc1 will be frozen on Aug 12th. -- Xi Ruoyao <xry...@xry111.site> School of Aerospace Science and Technology, Xidian University