mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
Update libbase/linker-sdram.ld with -fPIC support.
This commit is contained in:
parent
c8ffd0c9ee
commit
50cf70140b
1 changed files with 11 additions and 1 deletions
|
@ -14,6 +14,17 @@ SECTIONS
|
||||||
_etext = .;
|
_etext = .;
|
||||||
} > main_ram
|
} > main_ram
|
||||||
|
|
||||||
|
.got :
|
||||||
|
{
|
||||||
|
_GLOBAL_OFFSET_TABLE_ = .;
|
||||||
|
*(.got)
|
||||||
|
} > main_ram
|
||||||
|
|
||||||
|
.got.plt :
|
||||||
|
{
|
||||||
|
*(.got.plt)
|
||||||
|
} > main_ram
|
||||||
|
|
||||||
.rodata :
|
.rodata :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
|
@ -29,7 +40,6 @@ SECTIONS
|
||||||
_fdata = .;
|
_fdata = .;
|
||||||
*(.data .data.* .gnu.linkonce.d.*)
|
*(.data .data.* .gnu.linkonce.d.*)
|
||||||
*(.data1)
|
*(.data1)
|
||||||
_gp = ALIGN(16);
|
|
||||||
*(.sdata .sdata.* .gnu.linkonce.s.*)
|
*(.sdata .sdata.* .gnu.linkonce.s.*)
|
||||||
_edata = .;
|
_edata = .;
|
||||||
} > main_ram
|
} > main_ram
|
||||||
|
|
Loading…
Reference in a new issue