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]
/
debug
/
programs
/
entry.S
diff --git
a/debug/programs/entry.S
b/debug/programs/entry.S
index a5e745d181ff8b25ecfddc673da06dbf7488e690..e021860f58c38b85b703e6992aa6488f01e7aaed 100755
(executable)
--- a/
debug/programs/entry.S
+++ b/
debug/programs/entry.S
@@
-35,7
+35,10
@@
handle_reset:
csrwi mie, 0
# initialize global pointer
- la gp, _gp
+.option push
+.option norelax
+ la gp, __global_pointer$
+.option pop
# initialize stack pointer
la sp, stack_top