diff options
Diffstat (limited to 'ld/testsuite/ld-x86-64/pr19818-2c.d')
-rw-r--r-- | ld/testsuite/ld-x86-64/pr19818-2c.d | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/pr19818-2c.d b/ld/testsuite/ld-x86-64/pr19818-2c.d new file mode 100644 index 0000000..4dc13a2 --- /dev/null +++ b/ld/testsuite/ld-x86-64/pr19818-2c.d @@ -0,0 +1,4 @@ +#source: pr19818-2.s +#as: --x32 -mrelax-relocations=no +#ld: -pie -m elf32_x86_64 --defsym foo=0xffffffff +#error: .*relocation R_X86_64_PC32 against absolute symbol `foo' can not be used when making a shared object |