From 213a16c77ebb291c61e788917670fe11da16e80f Mon Sep 17 00:00:00 2001 From: stone3311 Date: Sun, 4 Dec 2022 13:19:52 +0100 Subject: [PATCH] software/demo: Add .got and .toc to .rodata in linker script --- litex/soc/software/demo/linker.ld | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litex/soc/software/demo/linker.ld b/litex/soc/software/demo/linker.ld index d327ecf77..60c3936df 100644 --- a/litex/soc/software/demo/linker.ld +++ b/litex/soc/software/demo/linker.ld @@ -26,6 +26,8 @@ SECTIONS _frodata = .; *(.rodata .rodata.* .gnu.linkonce.r.*) *(.rodata1) + *(.got .got.*) + *(.toc .toc.*) . = ALIGN(8); _erodata = .; } > main_ram