When the Global Pointer (GP) relative addressing is enabled (CONFIG_RISCV_GP=y), the gp reg points at 0x800 bytes past the start of the .sdata section which is then used by the linker to relax accesses to global symbols.
This Cyber News was published on www.tenable.com. Publication date: Sat, 16 Nov 2024 09:11:03 +0000