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]
/
benchmarks
/
common
/
test.ld
diff --git
a/benchmarks/common/test.ld
b/benchmarks/common/test.ld
index 8141dda44cdef51c9f80f2610a15d67bac6f5e06..a08d71d3c4d7089552f1e3d2e66c366335ecab2a 100644
(file)
--- a/
benchmarks/common/test.ld
+++ b/
benchmarks/common/test.ld
@@
-32,7
+32,7
@@
SECTIONS
.data : { *(.data) }
.sdata : {
.data : { *(.data) }
.sdata : {
- _
gp
= . + 0x800;
+ _
_global_pointer$
= . + 0x800;
*(.srodata.cst16) *(.srodata.cst8) *(.srodata.cst4) *(.srodata.cst2) *(.srodata*)
*(.sdata .sdata.* .gnu.linkonce.s.*)
}
*(.srodata.cst16) *(.srodata.cst8) *(.srodata.cst4) *(.srodata.cst2) *(.srodata*)
*(.sdata .sdata.* .gnu.linkonce.s.*)
}