[PATCH 53/57][Arm][OBJDUMP] Add support for MVE instructions: vand, vbrsr, vcls,...
[binutils-gdb.git] / ld / testsuite / ld-x86-64 / no-plt-check1.S
blob61d32b15f8be58f82d5722b6198431e04359d681
1         .section        .rodata.str1.1,"aMS",@progbits,1
2 .LC0:
3         .string "PASS"
4         .text
5         .p2align 4,,15
6         .globl  check
7         .type   check, @function
8 check:
9         subq    $8, %rsp
10         call    *get_func@GOTPCREL(%rip)
11         cmpq    func@GOTPCREL(%rip), %rax
12         jne     .L3
13 #ifdef __LP64__
14         cmpq    %rax, func_p(%rip)
15 #else
16         rex
17         cmpl    %eax, func_p(%rip)
18 #endif
19         jne     .L3
20         call    *func@GOTPCREL(%rip)
21         cmpl    $305419896, %eax
22         jne     .L3
23         call    *call_func@GOTPCREL(%rip)
24         cmpl    $305419896, %eax
25         jne     .L3
26         leaq    .LC0(%rip), %rdi
27         addq    $8, %rsp
28         jmp     *puts@GOTPCREL(%rip)
29 .L3:
30         call    *abort@GOTPCREL(%rip)
31         .size   check, .-check
32         .section        .note.GNU-stack,"",@progbits