Updated Malay translation for the bfd sub-directory
[binutils-gdb.git] / ld / testsuite / ld-pe / pr26659-weak-undef-sym.s
blob7a42759e75288bebd88919016f76be195b35a125
1 .text
2 .globl foo
3 .def foo; .scl 2; .type 32; .endef
4 foo:
5 pushq %rbp
6 movq %rsp, %rbp
7 subq $32, %rsp
8 movl %ecx, 16(%rbp)
9 movq .refptr.bar1(%rip), %rax
10 testq %rax, %rax
11 je .L2
12 call bar1
13 .L2:
14 movq .refptr.bar2(%rip), %rax
15 testq %rax, %rax
16 je .L3
17 call bar2
18 .L3:
19 movl 16(%rbp), %eax
20 imull %eax, %eax
21 addq $32, %rsp
22 popq %rbp
23 ret
24 .weak bar2
25 .weak bar1
26 .def bar1; .scl 2; .type 32; .endef
27 .def bar2; .scl 2; .type 32; .endef
28 .section .rdata$.refptr.bar2, "dr"
29 .globl .refptr.bar2
30 .linkonce discard
31 .refptr.bar2:
32 .quad bar2
33 .section .rdata$.refptr.bar1, "dr"
34 .globl .refptr.bar1
35 .linkonce discard
36 .refptr.bar1:
37 .quad bar1