gdb: Convert language la_compute_program field to a method
[deliverable/binutils-gdb.git] / ld / testsuite / ld-aarch64 / property-bti-pac2.s
CommitLineData
cd702818
SD
1 .text
2 .global foo
3 .type foo, %function
4foo:
5 sub sp, sp, #16
6 mov w0, 9
7 str w0, [sp, 12]
8 ldr w0, [sp, 12]
9 add w0, w0, 4
10 str w0, [sp, 12]
11 nop
12 add sp, sp, 16
13 ret
14 .size foo, .-foo
15 .global bar
16 .type bar, %function
17.ifdef __property_bti__
18 .section ".note.gnu.property", "a"
19 .p2align 3
20 .long 1f - 0f /* name length */
21 .long 5f - 2f /* data length */
22 .long 5 /* note type */
230: .asciz "GNU" /* vendor name */
241:
25 .p2align 3
262: .long 0xc0000000 /* pr_type. */
27 .long 4f - 3f /* pr_datasz. */
283:
29 .long 0x1 /* BTI. */
304:
31 .p2align 3
325:
33.endif
34.ifdef __property_pac__
35 .section ".note.gnu.property", "a"
36 .p2align 3
37 .long 1f - 0f /* name length */
38 .long 5f - 2f /* data length */
39 .long 5 /* note type */
400: .asciz "GNU" /* vendor name */
411:
42 .p2align 3
432: .long 0xc0000000 /* pr_type. */
44 .long 4f - 3f /* pr_datasz. */
453:
46 .long 0x2 /* PAC. */
474:
48 .p2align 3
495:
50.endif
This page took 0.087186 seconds and 4 git commands to generate.