Fix bug in quirk_rust_enum
[deliverable/binutils-gdb.git] / ld / testsuite / ld-i386 / protected7.s
CommitLineData
73784fa5
L
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@GOTOFF(%ecx), %eax
14 ret
15 .size bar, .-bar
16
17 .section ".note.gnu.property", "a"
18 .p2align 2
19 .long 1f - 0f /* name length. */
20 .long 3f - 1f /* data length. */
21 /* NT_GNU_PROPERTY_TYPE_0 */
22 .long 5 /* note type. */
230:
24 .asciz "GNU" /* vendor name. */
251:
26 .p2align 2
27 /* GNU_PROPERTY_NO_COPY_ON_PROTECTED */
28 .long 2 /* pr_type. */
29 .long 0 /* pr_datasz. */
30 .p2align 2
313:
This page took 0.158362 seconds and 4 git commands to generate.