Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-pe / weakdef-1.s
blobddce4fbd60b113357e477f4c3b8e08807e0f7aa0
1 .weak _wsym
2 .section .data$wsym,"w"
3 .align 4
4 _wsym:
5 .long 1
7 .section .text$start,"x"
8 .globl _start
9 .def _start; .scl 2; .type 32; .endef
10 _start:
11 pushl %ebp
12 movl %esp, %ebp
13 movl _wsym, %eax
14 testl %eax, %eax
15 sete %al
16 movzbl %al, %eax
17 nop
18 popl %ebp
19 ret