126697d1e4
* testsuite/ld-x86-64/pie2.d: New file. * testsuite/ld-x86-64/pie2.s: Likewise. * testsuite/ld-x86-64/x86-64.exp: Run pie2.
3 lines
153 B
D
3 lines
153 B
D
#as: --64
|
|
#ld: -pie -melf_x86_64
|
|
#error: .*relocation R_X86_64_32 against symbol `foo' can not be used when making a shared object; recompile with -fPIC
|