Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-pe / pr26659-weak-undef-sym.d
blob354f6e20ae2a06e6335978a637595cbedc1395e7
1 #source: pr26659-weak-undef-sym.s
2 #target: x86_64-*-cygwin* x86_64-*-pe x86_64-*-mingw*
3 #ld: -e0
4 #objdump: -d
6 #...
7 00000001[04]0[04]01000 <foo>:
8 *[0-9a-f]+: 55 push %rbp
9 *[0-9a-f]+: 48 89 e5 mov %rsp,%rbp
10 *[0-9a-f]+: 48 83 ec 20 sub \$0x20,%rsp
11 *[0-9a-f]+: 89 4d 10 mov %ecx,0x10\(%rbp\)
12 *[0-9a-f]+: 48 8b 05 ee 0f 00 00 mov 0xfee\(%rip\),%rax # [0-9a-f]+ <__data_end__>
13 *[0-9a-f]+: 48 85 c0 test %rax,%rax
14 *[0-9a-f]+: 74 05 je [0-9a-f]+ <foo\+0x1c>
15 *[0-9a-f]+: e8 e4 ef [fb]f [fb]f call 100000000 <__size_of_stack_reserve__\+0xffe00000>
16 *[0-9a-f]+: 48 8b 05 ed 0f 00 00 mov 0xfed\(%rip\),%rax # [0-9a-f]+ <.refptr.bar2>
17 *[0-9a-f]+: 48 85 c0 test %rax,%rax
18 *[0-9a-f]+: 74 05 je [0-9a-f]+ <foo\+0x2d>
19 *[0-9a-f]+: e8 d3 ef [fb]f [fb]f call 100000000 <__size_of_stack_reserve__\+0xffe00000>
20 *[0-9a-f]+: 8b 45 10 mov 0x10\(%rbp\),%eax
21 *[0-9a-f]+: 0f af c0 imul %eax,%eax
22 *[0-9a-f]+: 48 83 c4 20 add \$0x20,%rsp
23 *[0-9a-f]+: 5d pop %rbp
24 *[0-9a-f]+: c3 ret *
25 #pass