Re: [question] Whats up with loading the GDT in startup_setup_env in x86_64?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-- 
Kind regards,
Harm Smits



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux