1 #source
: pcrel
-lo
-addend
-3a
.s
2 #as
: -march
=rv64i
-mabi
=lp64
-mno
-relax
3 #ld
: -m
[riscv_choose_lp64_emul
] -Tpcrel
-lo
-addend
-3.ld
7 Disassembly of section
.text
:
10 .*:[ ]+[0-9a
-f
]+[ ]+lui
[ ]+a5
,0x2
11 .*:[ ]+[0-9a
-f
]+[ ]+ld
[ ]+a0
,0\
(a5\
) #
2000 <ll
>
12 .*:[ ]+[0-9a
-f
]+[ ]+ld
[ ]+a0
,4\
(a5\
)
13 .*:[ ]+[0-9a
-f
]+[ ]+lui
[ ]+a5
,0x2
14 .*:[ ]+[0-9a
-f
]+[ ]+ld
[ ]+a0
,4\
(a5\
) #
2004 <ll\
+0x4>
15 .*:[ ]+[0-9a
-f
]+[ ]+ld
[ ]+a0
,8\
(a5\
)
16 .*:[ ]+[0-9a
-f
]+[ ]+lui
[ ]+a5
,0x1
17 .*:[ ]+[0-9a
-f
]+[ ]+ld
[ ]+a0
,8\
(a5\
) #
1008 <_GLOBAL_OFFSET_TABLE_\
+0x8>