|
@@ -53,7 +53,7 @@ procedure _FPC_proc_start; assembler; nostackframe; public name '_start';
|
|
.option push
|
|
.option push
|
|
.option norelax
|
|
.option norelax
|
|
.L1:
|
|
.L1:
|
|
- auipc gp, %pcrel_hi(BSS_START+0x7f8)
|
|
|
|
|
|
+ auipc gp, %pcrel_hi(BSS_START+0x800)
|
|
addi gp, gp, %pcrel_lo(.L1)
|
|
addi gp, gp, %pcrel_lo(.L1)
|
|
.option pop
|
|
.option pop
|
|
|
|
|
|
@@ -89,7 +89,7 @@ procedure _FPC_proc_haltproc(e:longint); cdecl; public name '_haltproc';
|
|
.option push
|
|
.option push
|
|
.option norelax
|
|
.option norelax
|
|
.L1:
|
|
.L1:
|
|
- auipc gp, %pcrel_hi(BSS_START+0x7f8)
|
|
|
|
|
|
+ auipc gp, %pcrel_hi(BSS_START+0x800)
|
|
addi gp, gp, %pcrel_lo(.L1)
|
|
addi gp, gp, %pcrel_lo(.L1)
|
|
.option pop
|
|
.option pop
|
|
jalr x0, x1
|
|
jalr x0, x1
|