ELF: Don't check relocations in non-loaded, non-alloced sections
[deliverable/binutils-gdb.git] / ld / testsuite / ld-pe / weakdef-1.s
CommitLineData
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
This page took 0.162524 seconds and 4 git commands to generate.