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
/
crt.S
diff --git
a/benchmarks/common/crt.S
b/benchmarks/common/crt.S
index 3d4d6cff0bfdc97bb42a82d880859f71039f5665..3e6cee44a3330bcd2b616158df0f2af5434bf566 100644
(file)
--- a/
benchmarks/common/crt.S
+++ b/
benchmarks/common/crt.S
@@
-111,7
+111,7
@@
_start:
csrw mtvec, t0
# initialize global pointer
- la gp, _
gp
+ la gp, _
_global_pointer$
la tp, _end + 63
and tp, tp, -64