Handle weak alias for PIE with copy reloc
[platform/upstream/binutils.git] / ld / testsuite / ld-x86-64 / pr17689b.S
1         .text
2         .globl  main
3         .type   main, @function
4 main:
5         subq    $8, %rsp
6         movq    bar_alias(%rip), %rdi
7         call    foo@PLT
8         xorl    %eax, %eax
9         addq    $8, %rsp
10         ret
11         .size   main, .-main
12         .section        .note.GNU-stack,"",@progbits