Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-i386 / copyreloc-main.S
blob98aef839e0732e33fd73d8e7614ae48fbb6188d2
1         .section        .text.startup,"ax",@progbits
2         .p2align 4,,15
3         .globl  main
4         .type   main, @function
5 main:
6         .cfi_startproc
7         call    __x86.get_pc_thunk.ax
8         addl    $_GLOBAL_OFFSET_TABLE_, %eax
9         cmpl    $2, a_glob@GOTOFF(%eax)
10         setne   %al
11         movzbl  %al, %eax
12         ret
13         .cfi_endproc
14         .size   main, .-main
15         .section        .text.__x86.get_pc_thunk.ax,"axG",@progbits,__x86.get_pc_thunk.ax,comdat
16         .globl  __x86.get_pc_thunk.ax
17         .hidden __x86.get_pc_thunk.ax
18         .type   __x86.get_pc_thunk.ax, @function
19 __x86.get_pc_thunk.ax:
20         .cfi_startproc
21         movl    (%esp), %eax
22         ret
23         .cfi_endproc
24         .section        .note.GNU-stack,"",@progbits