projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Prohibit relaxing the initial gp generation
[riscv-tests.git]
/
benchmarks
/
common
/
crt.S
diff --git
a/benchmarks/common/crt.S
b/benchmarks/common/crt.S
index 3e6cee44a3330bcd2b616158df0f2af5434bf566..d75e81e06548df82100a010c21a6310927cadc7c 100644
(file)
--- a/
benchmarks/common/crt.S
+++ b/
benchmarks/common/crt.S
@@
-111,7
+111,10
@@
_start:
csrw mtvec, t0
# initialize global pointer
+.option push
+.option norelax
la gp, __global_pointer$
+.option pop
la tp, _end + 63
and tp, tp, -64