aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite/binutils-all/note-2-64.s
blob: e421d6bdbfe8f282f91ce8198ca19128dceed8d6 (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
106
107
108
109
110
	.text
	.org 0x100
	.global note1.s
note1.s:
	.dc.l 0
	
	.pushsection .gnu.build.attributes, "0x100000", %note
	.balign 4
	.dc.l 8
	.dc.l 16
	.dc.l 0x100
	.asciz "GA$3p1"
	.8byte 0x100
	.8byte 0x104

	.dc.l 14
	.dc.l 0
	.dc.l 0x100
	.asciz "GA$gcc 7.0.1"
	.dc.b 0,0
	
	.dc.l 5
	.dc.l 0
	.dc.l 0x100
	.dc.b 0x47, 0x41, 0x2b, 0x2, 0
	.dc.b 0,0,0

	.dc.l 6
	.dc.l 0
	.dc.l 0x100
	.dc.b 0x47, 0x41, 0x2a, 0x7, 0, 0
	.dc.b 0,0

	.dc.l 6
	.dc.l 0
	.dc.l 0x100
	.dc.b 0x47, 0x41, 0x2a, 0x6, 0, 0
	.dc.b 0,0

	.dc.l 6
	.dc.l 0
	.dc.l 0x100
	.dc.b 0x47, 0x41, 0x2a, 0x7, 0, 0
	.dc.b 0,0

	.popsection


	.global note2.s
note2.s:
	.global func1
	.type func1, STT_FUNC
func1:	
	.dc.l 0x100

	.pushsection .gnu.build.attributes, "0x100000", %note
	.dc.l 8
	.dc.l 16		
	.dc.l 0x100	
	.asciz "GA$3p1"
	.8byte 0x104	
	.8byte 0x108	

	.dc.l 14 	
	.dc.l 0		
	.dc.l 0x100	
	.asciz "GA$gcc 7.0.1"	
	.dc.b 0,0
	
	.dc.l 5		
	.dc.l 0		
	.dc.l 0x100	
	.dc.b 0x47, 0x41, 0x21, 0x2, 0
	.dc.b 0,0,7 	

	.dc.l 6
	.dc.l 16
	.dc.l 0x101	
	.dc.b 0x47, 0x41, 0x2a, 0x7, 1, 0
	.dc.b 0,0
	.8byte 0x104	
	.8byte 0x106	

	.dc.l 6
	.dc.l 0		
	.dc.l 0x100	
	.dc.b 0x47, 0x41, 0x2a, 0x6, 0, 0
	.dc.b 0,0
	.popsection
	

	.global note3.s
note3.s:
	.dc.l 0x100
	
	.pushsection .gnu.build.attributes, "0x100000", %note
	.dc.l 8	
	.dc.l 16	
	.dc.l 0x100	
	.asciz "GA$3p1"
	.8byte 0x108
	.8byte 0x10b

	.dc.l 14 	
	.dc.l 0		
	.dc.l 0x100	
	.asciz "GA$gcc 7.0.1"
	.dc.b 0,0

	.popsection