summaryrefslogtreecommitdiff
path: root/riscv_new/rtl/linux/riscv64/prt0.as
diff options
context:
space:
mode:
Diffstat (limited to 'riscv_new/rtl/linux/riscv64/prt0.as')
-rw-r--r--riscv_new/rtl/linux/riscv64/prt0.as6
1 files changed, 3 insertions, 3 deletions
diff --git a/riscv_new/rtl/linux/riscv64/prt0.as b/riscv_new/rtl/linux/riscv64/prt0.as
index d489b5dcad..af52cf5a7c 100644
--- a/riscv_new/rtl/linux/riscv64/prt0.as
+++ b/riscv_new/rtl/linux/riscv64/prt0.as
@@ -20,14 +20,14 @@ _dynamic_start:
.type _start, function
_start:
1:
- auipc gp, %pcrel_hi(__bss_start+0x800)
- addi gp, gp, %pcrel_lo(1b)
+ auipc gp, %pcrel_hi(__bss_start+0x800)
+ addi gp, gp, %pcrel_lo(1b)
/* Get argc, argv, envp */
ld x5,(x2)
addi x6,x2,8
addi x7,x5,1
- slli x7,x7,3
+ slli x7,x7,3
add x7,x6,x7
/* Save argc, argv, envp, and initial stack pointer */