aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-ifunc/ifuncmod5.s
blob: 97f5263769d795a078989e8b087dadc6aea73662 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
	.file	"ifuncmod5.c"

	.text
	.type ifuncmod5.c, STT_NOTYPE
ifuncmod5.c:
	.size ifuncmod5.c, 0

	.pushsection .gnu.build.attributes, "", %note
	.balign 4
	.dc.l 8 	
	.dc.l 16	
	.dc.l 0x100	
	.asciz "GA$3p4"	
	.dc.a ifuncmod5.c
	.dc.a ifuncmod5.c_end	
	.popsection

.Ltext0:
#APP
	.protected global
	.type foo, %gnu_indirect_function
	.type foo_hidden, %gnu_indirect_function
	.type foo_protected, %gnu_indirect_function
	.hidden foo_hidden
	.protected foo_protected
#NO_APP
	.align	8
	.type	one, %function
one:
	.dc.l 0
	.size	one, .-one
	.align	8

.globl foo
	.type	foo, %function
foo:
	.dc.l	0
	.size	foo, .-foo

	.pushsection .gnu.build.attributes
	.dc.l 6		
	.dc.l 16	
	.dc.l 0x101	
	.dc.b 0x47, 0x41, 0x2a, 0x2, 0, 0 	
	.dc.b 0, 0 	
	.dc.a foo
	.dc.a foo_end	
	.popsection

foo_end:
	.align	8
.globl foo_hidden
	.type	foo_hidden, %function
foo_hidden:
	.dc.l	0
	.size	foo_hidden, .-foo_hidden

	.pushsection .gnu.build.attributes
	.dc.l 6		
	.dc.l 16	
	.dc.l 0x101	
	.dc.b 0x47, 0x41, 0x2a, 0x2, 0, 0 	
	.dc.b 0, 0 	
	.dc.a foo_hidden
	.dc.a foo_hidden_end	
	.popsection

foo_hidden_end:
	.align	8

	.globl foo_protected
	.type	foo_protected, %function
foo_protected:
	.dc.l	0

	.size	foo_protected, .-foo_protected

	.pushsection .gnu.build.attributes
	.dc.l 6		
	.dc.l 16	
	.dc.l 0x101	
	.dc.b 0x47, 0x41, 0x2a, 0x2, 0, 0 	
	.dc.b 0, 0 	
	.dc.a foo_protected
	.dc.a foo_protected_end	
	.popsection

foo_protected_end:
	.globl global

	.data
	.align	4
	.type	global, %object
	.size	global, 4
global:
	.long	-1

	.text
	.Letext0:

ifuncmod5.c_end:
	.type ifuncmod5.c_end, STT_NOTYPE
	.size ifuncmod5.c_end, 0