Retro68/binutils/ld/testsuite/ld-riscv-elf/lib-nopic-01b.d
Wolfgang Thaller f485e125c4 binutils 2.39
2022-10-27 20:45:45 +02:00

6 lines
229 B
Makefile

#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_JAL against `func1' can not be used when making a shared object; recompile with -fPIC