blob: d57ed8d71fd95722855b5690f421b5eafb5f0a4b [file]
#source: table-jump-shared.s
#as: -march=rv64ic_zcmt -fpic
#ld: -shared --relax-tbljal
#objdump: -d
#...
Disassembly of section .text:
#...
0+[0-9a-f]+ <foo>:
# Calls should NOT be cm.jalt in shared library (should be jal to PLT)
.*:[ ]+[0-9a-f]+[ ]+jal[ ]+[0-9a-f]+ <bar@plt>
.*:[ ]+[0-9a-f]+[ ]+jal[ ]+[0-9a-f]+ <bar@plt>
#pass