i386: Add tests for -malign-branch-boundary and -malign-branch
[deliverable/binutils-gdb.git] / ld / testsuite / ld-i386 / align-branch-1.d
1 #as: --32 -mbranches-within-32B-boundaries
2 #ld: -melf_i386
3 #objdump: -dw
4 #notarget: i?86-*-nacl* x86_64-*-nacl*
5
6 .*: +file format .*
7
8
9 Disassembly of section .text:
10
11 [a-f0-9]+ <_start>:
12 +[a-f0-9]+: 85 d2 test %edx,%edx
13 +[a-f0-9]+: 74 20 je 8049024 <_start\+0x24>
14 +[a-f0-9]+: 85 d2 test %edx,%edx
15 +[a-f0-9]+: 74 1c je 8049024 <_start\+0x24>
16 +[a-f0-9]+: 85 ff test %edi,%edi
17 +[a-f0-9]+: 74 18 je 8049024 <_start\+0x24>
18 +[a-f0-9]+: 65 a1 00 00 00 00 mov %gs:0x0,%eax
19 +[a-f0-9]+: 90 nop
20 +[a-f0-9]+: 8d 74 26 00 lea 0x0\(%esi,%eiz,1\),%esi
21 +[a-f0-9]+: 3e 3e 3e 8b 90 fc ff ff ff ds ds mov %ds:-0x4\(%eax\),%edx
22 +[a-f0-9]+: 85 d2 test %edx,%edx
23 +[a-f0-9]+: 74 00 je 8049024 <_start\+0x24>
24 +[a-f0-9]+: c3 ret
25 #pass
This page took 0.028967 seconds and 4 git commands to generate.