diff --git a/common/linker_uefi_riscv64.ld.in b/common/linker_uefi_riscv64.ld.in index b1178bec..cbb2eb0b 100644 --- a/common/linker_uefi_riscv64.ld.in +++ b/common/linker_uefi_riscv64.ld.in @@ -60,8 +60,8 @@ SECTIONS data_begin = .; *(.data .data.*) + __global_pointer$ = . + 0x800; *(.sdata .sdata.*) - __global_pointer$ = .; *(.sbss .sbss.*) *(.bss .bss.*) *(COMMON)