aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-riscv-elf/shared-lib-nopic-02.d
blob: f866d01736281a5605b0295252cfb7622a67b928 (plain)
1
2
3
4
#source: shared-lib-nopic-02.s
#as:
#ld: -shared
#error: .*relocation R_RISCV_JAL against `foo_default' which may bind externally can not be used when making a shared object; recompile with -fPIC