x86-64: Disallow PC reloc against weak undefined symbols in PIE
[binutils-gdb.git] / ld / testsuite / ld-x86-64 / pr23930.d
1 #source: pr23930a.s
2 #source: pr23930b.s
3 #as: --64
4 #ld: -m elf_x86_64 -z separate-code -z norelro -T pr23930.t
5 #objdump: --disassemble=main
6
7 #...
8 [a-f0-9]+ <main>:
9 [a-f0-9]+: 31 c0 xor %eax,%eax
10 [a-f0-9]+: c3 ret *
11 #pass