binutils-gdb/ld/testsuite/ld-ifunc/ifunc-21-i386.d

17 lines
480 B
Makefile

#ld: -m elf_i386
#as: --32
#objdump: -dw
#target: x86_64-*-* i?86-*-*
.*: +file format .*
#...
0+8048090 <__start>:
[ ]*[a-f0-9]+: ff 93 0c 00 00 00 call \*0xc\(%ebx\)
[ ]*[a-f0-9]+: ff a3 0c 00 00 00 jmp \*0xc\(%ebx\)
[ ]*[a-f0-9]+: 03 83 0c 00 00 00 add 0xc\(%ebx\),%eax
[ ]*[a-f0-9]+: 8b 83 0c 00 00 00 mov 0xc\(%ebx\),%eax
[ ]*[a-f0-9]+: 85 83 0c 00 00 00 test %eax,0xc\(%ebx\)
[ ]*[a-f0-9]+: 8d ([0-9a-f]{2} ){5}[ ]+lea[ ]+.*
#pass