summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/i386/unique.d
blob: 7b89ee46d91c0aa1b319cf8d93c428a5e93bbec8 (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
#objdump: -dw
#name: i386 unique sections

.*: +file format .*


Disassembly of section .text:

0+ <foo>:
 +[a-f0-9]+:	89 c3                	mov    %eax,%ebx
 +[a-f0-9]+:	c3                   	ret

Disassembly of section .text:

0+ <bar>:
 +[a-f0-9]+:	31 c3                	xor    %eax,%ebx
 +[a-f0-9]+:	c3                   	ret

Disassembly of section .text:

0+ <foo1>:
 +[a-f0-9]+:	89 c3                	mov    %eax,%ebx
 +[a-f0-9]+:	c3                   	ret

Disassembly of section .text:

0+ <bar1>:
 +[a-f0-9]+:	01 c3                	add    %eax,%ebx
 +[a-f0-9]+:	90                   	nop
 +[a-f0-9]+:	c3                   	ret

Disassembly of section .text:

0+ <bar2>:
 +[a-f0-9]+:	29 c3                	sub    %eax,%ebx
 +[a-f0-9]+:	90                   	nop
 +[a-f0-9]+:	90                   	nop
 +[a-f0-9]+:	90                   	nop
 +[a-f0-9]+:	c3                   	ret

Disassembly of section .text:

0+ <foo2>:
 +[a-f0-9]+:	31 c3                	xor    %eax,%ebx
 +[a-f0-9]+:	90                   	nop
 +[a-f0-9]+:	90                   	nop
 +[a-f0-9]+:	c3                   	ret
#pass