I'm trying to move my kernel to high memory via ld script. I have checked out the wiki on how to do it with a 32 bit kernel, but to make the jump long mode we need paging enabled, which means (if I'm understanding it correctly) that the trick won't work for x86_64. I tried to fudge with some linker scripts to place part of our code in low mem, and the rest in high mem, but it doesn't seem to work. I created a new section right before the jump to 64 bit code in my boot.S and tried to load that and everything after it in to high mem, but am getting some relocation errors.
If anyone could point me in the right direction on how to move my kernel it'd be much appreciated

Thanks!