1	.protected	foo
2.globl foo
3	.data
4	.align 4
5	.type	foo, @object
6	.size	foo, 4
7foo:
8	.long	1
9	.text
10.globl bar
11	.type	bar, @function
12bar:
13	movl	foo(%rip), %eax
14	ret
15	.size	bar, .-bar
16
17	.section ".note.gnu.property", "a"
18	.p2align 3
19	.long 1f - 0f		/* name length.  */
20	.long 3f - 2f		/* data length.  */
21	/* NT_GNU_PROPERTY_TYPE_0 */
22	.long 5			/* note type.  */
230:	.asciz "GNU"		/* vendor name.  */
241:
25	.p2align 3
262:
27	/* GNU_PROPERTY_NO_COPY_ON_PROTECTED */
28	.long 2			/* pr_type.  */
29	.long 0			/* pr_datasz.  */
30	.p2align 3
313:
32