tcl global directive outside proc body does nothing (ld)
[deliverable/binutils-gdb.git] / ld / testsuite / ld-ifunc / ifuncmod5.s
CommitLineData
f657f8c4
NC
1 .file "ifuncmod5.c"
2
3 .text
4 .type ifuncmod5.c, STT_NOTYPE
5ifuncmod5.c:
6 .size ifuncmod5.c, 0
7
8 .pushsection .gnu.build.attributes, "", %note
9 .balign 4
10 .dc.l 8
11 .dc.l 16
12 .dc.l 0x100
13 .asciz "GA$\ 13p4"
14 .dc.a ifuncmod5.c
15 .dc.a ifuncmod5.c_end
16 .popsection
17
18.Ltext0:
19#APP
20 .protected global
21 .type foo, %gnu_indirect_function
22 .type foo_hidden, %gnu_indirect_function
23 .type foo_protected, %gnu_indirect_function
24 .hidden foo_hidden
25 .protected foo_protected
26#NO_APP
27 .align 8
28 .type one, %function
29one:
30 .dc.l 0
31 .size one, .-one
32 .align 8
33
34.globl foo
35 .type foo, %function
36foo:
37 .dc.l 0
38 .size foo, .-foo
39
40 .pushsection .gnu.build.attributes
41 .dc.l 6
42 .dc.l 16
43 .dc.l 0x101
44 .dc.b 0x47, 0x41, 0x2a, 0x2, 0, 0
45 .dc.b 0, 0
46 .dc.a foo
47 .dc.a foo_end
48 .popsection
49
50foo_end:
51 .align 8
52.globl foo_hidden
53 .type foo_hidden, %function
54foo_hidden:
55 .dc.l 0
56 .size foo_hidden, .-foo_hidden
57
58 .pushsection .gnu.build.attributes
59 .dc.l 6
60 .dc.l 16
61 .dc.l 0x101
62 .dc.b 0x47, 0x41, 0x2a, 0x2, 0, 0
63 .dc.b 0, 0
64 .dc.a foo_hidden
65 .dc.a foo_hidden_end
66 .popsection
67
68foo_hidden_end:
69 .align 8
70
71 .globl foo_protected
72 .type foo_protected, %function
73foo_protected:
74 .dc.l 0
75
76 .size foo_protected, .-foo_protected
77
78 .pushsection .gnu.build.attributes
79 .dc.l 6
80 .dc.l 16
81 .dc.l 0x101
82 .dc.b 0x47, 0x41, 0x2a, 0x2, 0, 0
83 .dc.b 0, 0
84 .dc.a foo_protected
85 .dc.a foo_protected_end
86 .popsection
87
88foo_protected_end:
89 .globl global
90
91 .data
92 .align 4
93 .type global, %object
94 .size global, 4
95global:
96 .long -1
97
98 .text
99 .Letext0:
100
101ifuncmod5.c_end:
102 .type ifuncmod5.c_end, STT_NOTYPE
103 .size ifuncmod5.c_end, 0
104
105
This page took 0.147409 seconds and 4 git commands to generate.