Update libbase/linker-sdram.ld with -fPIC support.

This commit is contained in:
whitequark 2015-07-26 16:15:02 +03:00
parent c8ffd0c9ee
commit 50cf70140b

View file

@ -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