| 1 | #ld: -m elf_i386 -z noseparate-code |
| 2 | #as: --32 -mrelax-relocations=yes |
| 3 | #objdump: -dw |
| 4 | #target: x86_64-*-* i?86-*-* |
| 5 | #notarget: *-*-lynxos *-*-nto* |
| 6 | |
| 7 | .*: +file format .* |
| 8 | |
| 9 | |
| 10 | Disassembly of section .text: |
| 11 | |
| 12 | 0+804807c <__start>: |
| 13 | +[a-f0-9]+: ff 93 fc ff ff ff call \*-0x4\(%ebx\) |
| 14 | +[a-f0-9]+: ff a3 fc ff ff ff jmp \*-0x4\(%ebx\) |
| 15 | +[a-f0-9]+: 03 83 fc ff ff ff add -0x4\(%ebx\),%eax |
| 16 | +[a-f0-9]+: 8b 83 fc ff ff ff mov -0x4\(%ebx\),%eax |
| 17 | +[a-f0-9]+: 85 83 fc ff ff ff test %eax,-0x4\(%ebx\) |
| 18 | +[a-f0-9]+: c7 c0 a1 80 04 08 mov \$0x80480a1,%eax |
| 19 | |
| 20 | 0+80480a0 <foo>: |
| 21 | +[a-f0-9]+: c3 ret |
| 22 | |
| 23 | 0+80480a1 <bar>: |
| 24 | +[a-f0-9]+: c3 ret |
| 25 | #pass |