Commit | Line | Data |
---|---|---|
1fd6d111 TG |
1 | .weak _wsym |
2 | .section .data$wsym,"w" | |
3 | .align 4 | |
4 | _wsym: | |
5 | .long 1 | |
6 | ||
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 |