projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change the global pointer symbol to __global_pointer$
[riscv-tests.git]
/
debug
/
targets
/
spike
/
link.lds
diff --git
a/debug/targets/spike/link.lds
b/debug/targets/spike/link.lds
index 52e4472e19b4d730de565354d02554dc8cc4301e..b86b2b732e111f6290139b99e7d4c84a71d7a747 100755
(executable)
--- a/
debug/targets/spike/link.lds
+++ b/
debug/targets/spike/link.lds
@@
-15,7
+15,7
@@
SECTIONS
.data : { *(.data) }
.sdata : {
- _
gp
= . + 0x800;
+ _
_global_pointer$
= . + 0x800;
*(.srodata.cst16) *(.srodata.cst8) *(.srodata.cst4) *(.srodata.cst2)
*(.srodata*)
*(.sdata .sdata.* .gnu.linkonce.s.*)