gdb/testsuite: fix "up to main" in gdb.base/corefile-exec-context.exp
[binutils-gdb.git] / ld / testsuite / ld-i386 / pr20253-1c.S
blob8a17e7c26ec145d6c1c39203bc97d3a65f79368e
1         .text
2         .globl  get_func1
3         .type   get_func1, @function
4 get_func1:
5         call    __x86.get_pc_thunk.ax
6         addl    $_GLOBAL_OFFSET_TABLE_, %eax
7         movl    func1@GOT(%eax), %eax
8         ret
9         .size   get_func1, .-get_func1
10         .globl  call_func1
11         .type   call_func1, @function
12 call_func1:
13         call    __x86.get_pc_thunk.ax
14         addl    $_GLOBAL_OFFSET_TABLE_, %eax
15         jmp     *func1@GOT(%eax)
16         .size   call_func1, .-call_func1
17         .globl  func1_p
18 #ifdef CHECK_PLT
19         .section        .rodata,"a",@progbits
20 #else
21         .section        .data.rel,"aw",@progbits
22 #endif
23         .align 4
24         .type   func1_p, @object
25         .size   func1_p, 4
26 func1_p:
27         .long   func1
28         .section        .text.__x86.get_pc_thunk.ax,"axG",@progbits,__x86.get_pc_thunk.ax,comdat
29         .globl  __x86.get_pc_thunk.ax
30         .hidden __x86.get_pc_thunk.ax
31         .type   __x86.get_pc_thunk.ax, @function
32 __x86.get_pc_thunk.ax:
33         movl    (%esp), %eax
34         ret
35         .section        .note.GNU-stack,"",@progbits