Merge pull request #1527 from stone3311/master
software/demo: Add .got and .toc to .rodata in linker script
This commit is contained in:
commit
d6bbf655ee
|
@ -26,6 +26,8 @@ SECTIONS
|
||||||
_frodata = .;
|
_frodata = .;
|
||||||
*(.rodata .rodata.* .gnu.linkonce.r.*)
|
*(.rodata .rodata.* .gnu.linkonce.r.*)
|
||||||
*(.rodata1)
|
*(.rodata1)
|
||||||
|
*(.got .got.*)
|
||||||
|
*(.toc .toc.*)
|
||||||
. = ALIGN(8);
|
. = ALIGN(8);
|
||||||
_erodata = .;
|
_erodata = .;
|
||||||
} > main_ram
|
} > main_ram
|
||||||
|
|
Loading…
Reference in New Issue