projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8ffd0c
)
Update libbase/linker-sdram.ld with -fPIC support.
author
whitequark
<whitequark@whitequark.org>
Sun, 26 Jul 2015 13:15:02 +0000
(16:15 +0300)
committer
whitequark
<whitequark@whitequark.org>
Sun, 26 Jul 2015 13:15:02 +0000
(16:15 +0300)
software/libbase/linker-sdram.ld
patch
|
blob
|
history
diff --git
a/software/libbase/linker-sdram.ld
b/software/libbase/linker-sdram.ld
index 5db403b2ab0b6d736471aceccfff4dab61ab7a1b..b55b50f2a8db1ffce89286432dacd753d0eae58d 100644
(file)
--- a/
software/libbase/linker-sdram.ld
+++ b/
software/libbase/linker-sdram.ld
@@
-14,6
+14,17
@@
SECTIONS
_etext = .;
} > main_ram
+ .got :
+ {
+ _GLOBAL_OFFSET_TABLE_ = .;
+ *(.got)
+ } > main_ram
+
+ .got.plt :
+ {
+ *(.got.plt)
+ } > main_ram
+
.rodata :
{
. = ALIGN(4);
@@
-29,7
+40,6
@@
SECTIONS
_fdata = .;
*(.data .data.* .gnu.linkonce.d.*)
*(.data1)
- _gp = ALIGN(16);
*(.sdata .sdata.* .gnu.linkonce.s.*)
_edata = .;
} > main_ram