On Mon, Mar 28, 2022 at 03:25:14PM +0200, Harm Smits wrote: > After a bit more digging, I have figured out what's going on. The > compiler optimization passes seem to turn the absolute addressing into > relative addressing by means of %rip. Should I submit a patch to also > wrap it in `fixup_pointer` to make it in line with all the other .data > manipulation in `startup_64_load_idt` and `__startup_64`? This would > also avoid it from completely relying on an optimization pass which > might get changed in the future. > Your explanation sounds totally reasonable but I'm not a domain expert for that. If you're sure and you've tested it, then send away. The worst that can happen is that your patch is rejected but even that means you learned something so there are only up sides. :) regards, dan carpenter