Improve readelf's display of RELR relocs.
[binutils-gdb.git] / ld / testsuite / ld-x86-64 / ibt-plt-2.s
blobe1ea540ff5f013fdbca01ab18642244f05b9138a
1 .text
2 .p2align 4,,15
3 .globl foo
4 .type foo, @function
5 foo:
6 .LFB0:
7 .cfi_startproc
8 subq $8, %rsp
9 .cfi_def_cfa_offset 16
10 call bar2@PLT
11 addq $8, %rsp
12 .cfi_def_cfa_offset 8
13 jmp bar1@PLT
14 .cfi_endproc
15 .LFE0:
16 .size foo, .-foo
17 .section .note.GNU-stack,"",@progbits
19 .section ".note.gnu.property", "a"
20 .ifdef __64_bit__
21 .p2align 3
22 .else
23 .p2align 2
24 .endif
25 .long 1f - 0f /* name length */
26 .long 5f - 2f /* data length */
27 .long 5 /* note type */
28 0: .asciz "GNU" /* vendor name */
30 .ifdef __64_bit__
31 .p2align 3
32 .else
33 .p2align 2
34 .endif
35 2: .long 0xc0000002 /* pr_type. */
36 .long 4f - 3f /* pr_datasz. */
38 .long 0x0
40 .ifdef __64_bit__
41 .p2align 3
42 .else
43 .p2align 2
44 .endif