aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-riscv-elf/lib-nopic-01b.d
blob: 0d758a40d60134e997a7481c5f5b09d2b3c4c306 (plain)
1
2
3
4
5
#name: link non-pic code into a shared library
#source: lib-nopic-01b.s
#as:
#ld: -shared tmpdir/lib-nopic-01a.so
#error: .*relocation R_RISCV_CALL against `func1' can not be used when making a shared object; recompile with -fPIC