Open
Description
It seems that when you create a binary for the higher half, relocations into debug sections fail:
ld.lld: error: Flork_stivale2_x86_64:(.debug_info+0x55BFF): relocation R_X86_64_32 out of range:
18446744071564125002 is not in [0, 4294967295]; consider recompiling with
-fdebug-types-section to reduce size of debug sections
Currently using .code_model = .kernel
.
Using the R_X86_64_32S
instead of R_X86_64_32
should work.
All code models except large (where a 64 bit relocation is needed (doesn't do this either)) should be addressable with R_X86_64_32S