Commit | Line | Data |
---|---|---|
330a6637 JW |
1 | #name: link non-pic code into a shared library |
2 | #source: lib-nopic-01b.s | |
3 | #as: | |
4 | #ld: -shared tmpdir/lib-nopic-01a.so | |
5 | #error: .*relocation R_RISCV_CALL against `func1' can not be used when making a shared object; recompile with -fPIC |