software/demo: Add .got and .toc to .rodata in linker script

This commit is contained in:
stone3311 2022-12-04 13:19:52 +01:00
parent 85f762cd1c
commit 213a16c77e
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,8 @@ SECTIONS
_frodata = .;
*(.rodata .rodata.* .gnu.linkonce.r.*)
*(.rodata1)
*(.got .got.*)
*(.toc .toc.*)
. = ALIGN(8);
_erodata = .;
} > main_ram