Improve objcopy's note mergeing capabilities.
[binutils-gdb.git] / binutils / testsuite / binutils-all / note-2-64.s
1 .text
2 .org 0x100
3 .global note1.s
4 note1.s:
5 .dc.l 0
6
7 .pushsection .gnu.build.attributes, "0x100000", %note
8 .balign 4
9 .dc.l 8
10 .dc.l 16
11 .dc.l 0x100
12 .asciz "GA$\ 13p1"
13 .8byte 0x100
14 .8byte 0x104
15
16 .dc.l 14
17 .dc.l 0
18 .dc.l 0x100
19 .asciz "GA$\ 5gcc 7.0.1"
20 .dc.b 0,0
21
22 .dc.l 5
23 .dc.l 0
24 .dc.l 0x100
25 .dc.b 0x47, 0x41, 0x2b, 0x2, 0
26 .dc.b 0,0,0
27
28 .dc.l 6
29 .dc.l 0
30 .dc.l 0x100
31 .dc.b 0x47, 0x41, 0x2a, 0x7, 0, 0
32 .dc.b 0,0
33
34 .dc.l 6
35 .dc.l 0
36 .dc.l 0x100
37 .dc.b 0x47, 0x41, 0x2a, 0x6, 0, 0
38 .dc.b 0,0
39
40 .dc.l 6
41 .dc.l 0
42 .dc.l 0x100
43 .dc.b 0x47, 0x41, 0x2a, 0x7, 0, 0
44 .dc.b 0,0
45
46 .popsection
47
48
49 .global note2.s
50 note2.s:
51 .global func1
52 .type func1, STT_FUNC
53 func1:
54 .dc.l 0x100
55
56 .pushsection .gnu.build.attributes, "0x100000", %note
57 .dc.l 8
58 .dc.l 16
59 .dc.l 0x100
60 .asciz "GA$\ 13p1"
61 .8byte 0x104
62 .8byte 0x108
63
64 .dc.l 14
65 .dc.l 0
66 .dc.l 0x100
67 .asciz "GA$\ 5gcc 7.0.1"
68 .dc.b 0,0
69
70 .dc.l 5
71 .dc.l 0
72 .dc.l 0x100
73 .dc.b 0x47, 0x41, 0x21, 0x2, 0
74 .dc.b 0,0,7
75
76 .dc.l 6
77 .dc.l 16
78 .dc.l 0x101
79 .dc.b 0x47, 0x41, 0x2a, 0x7, 1, 0
80 .dc.b 0,0
81 .8byte 0x104
82 .8byte 0x106
83
84 .dc.l 6
85 .dc.l 0
86 .dc.l 0x100
87 .dc.b 0x47, 0x41, 0x2a, 0x6, 0, 0
88 .dc.b 0,0
89 .popsection
90
91
92 .global note3.s
93 note3.s:
94 .dc.l 0x100
95
96 .pushsection .gnu.build.attributes, "0x100000", %note
97 .dc.l 8
98 .dc.l 16
99 .dc.l 0x100
100 .asciz "GA$\ 13p1"
101 .8byte 0x108
102 .8byte 0x10b
103
104 .dc.l 14
105 .dc.l 0
106 .dc.l 0x100
107 .asciz "GA$\ 5gcc 7.0.1"
108 .dc.b 0,0
109
110 .popsection