Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-frv/fdpic8.s

82 lines
1 KiB
ArmAsm
Raw Normal View History

2023-03-06 14:48:14 +01:00
.text
.weak _start
_start:
.global F8
.type F8,@function
F8:
call GF0+4
.global GF0
.global GF1
.global GF2
.global GF3
.global GF4
.global GF5
.global GF6
.global GF7
.global GF8
.global GF9
.global GFa
.global GFb
.global GFc
GF0:
GF1:
GF2:
GF3:
GF4:
GF5:
GF6:
GF7:
GF8:
GF9:
GFa:
GFb:
GFc:
addi gr15, #got12(GF1+4), gr0
setlos #gotlo(GF2+4), gr0
setlo #gotlo(GF3+4), gr0
sethi #gothi(GF3+4), gr0
addi gr15, #gotfuncdesc12(GF4+4), gr0
setlos #gotfuncdesclo(GF5+4), gr0
setlo #gotfuncdesclo(GF6+4), gr0
sethi #gotfuncdeschi(GF6+4), gr0
addi gr15, #gotofffuncdesc12(GF7+4), gr0
setlos #gotofffuncdesclo(GF8+4), gr0
setlo #gotofffuncdesclo(GF9+4), gr0
sethi #gotofffuncdeschi(GF9+4), gr0
addi gr15, #gotoff12(GD1+4), gr0
setlos #gotofflo(GD2+4), gr0
setlo #gotofflo(GD3+4), gr0
sethi #gotoffhi(GD3+4), gr0
setlo #gotlo(GD4+4), gr0
sethi #gothi(GD4+4), gr0
.data
.global D8
D8:
.word GD0+4
.global GD0
.global GD1
.global GD2
.global GD3
.global GD4
GD0:
GD1:
GD2:
GD3:
GD4:
.picptr funcdesc(GFb+4)
.word GFb+4