aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/align-branch-1.d
blob: b1347e50555ca5ebef0d6f7670f1825268366801 (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
#as: --32 -mbranches-within-32B-boundaries
#ld: -melf_i386
#objdump: -dw
#notarget: i?86-*-nacl* x86_64-*-nacl*

.*: +file format .*


Disassembly of section .text:

[a-f0-9]+ <_start>:
 +[a-f0-9]+:	85 d2                	test   %edx,%edx
 +[a-f0-9]+:	74 20                	je     +[a-f0-9]+ <_start\+0x24>
 +[a-f0-9]+:	85 d2                	test   %edx,%edx
 +[a-f0-9]+:	74 1c                	je     +[a-f0-9]+ <_start\+0x24>
 +[a-f0-9]+:	85 ff                	test   %edi,%edi
 +[a-f0-9]+:	74 18                	je     +[a-f0-9]+ <_start\+0x24>
 +[a-f0-9]+:	65 a1 00 00 00 00    	mov    %gs:0x0,%eax
 +[a-f0-9]+:	90                   	nop
 +[a-f0-9]+:	8d 74 26 00          	lea    0x0\(%esi,%eiz,1\),%esi
 +[a-f0-9]+:	3e 3e 3e 8b 90 fc ff ff ff 	ds ds mov %ds:-0x4\(%eax\),%edx
 +[a-f0-9]+:	85 d2                	test   %edx,%edx
 +[a-f0-9]+:	74 00                	je     +[a-f0-9]+ <_start\+0x24>
 +[a-f0-9]+:	c3                   	ret    
#pass