blob: 9bbcdc5f867229101651793a272a762da1dfd50f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
.section ".note.gnu.property", "a"
.ifdef __64_bit__
.p2align 3
.else
.p2align 2
.endif
.long 1f - 0f /* name length */
.long 5f - 2f /* data length */
.long 5 /* note type */
0: .asciz "GNU" /* vendor name */
1:
.ifdef __64_bit__
.p2align 3
.else
.p2align 2
.endif
2: .long 0xc0001002 /* pr_type. */
.long 4f - 3f /* pr_datasz. */
3:
.long 0x30
4:
.ifdef __64_bit__
.p2align 3
.else
.p2align 2
.endif
5:
.text
.globl foo
.type foo, @function
foo:
ret
.section .note.GNU-stack
|