Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-i386/branch1.d
2023-03-06 14:48:14 +01:00

17 lines
475 B
D

#as: --32 -mrelax-relocations=yes
#ld: -melf_i386
#objdump: -dw
.*: +file format .*
Disassembly of section .text:
#...
[ ]*[a-f0-9]+: 67 e8 ([0-9a-f]{2} ){4} * addr16 call +[a-f0-9]+ <foo>
[ ]*[a-f0-9]+: 67 e8 ([0-9a-f]{2} ){4} * addr16 call +[a-f0-9]+ <bar>
[ ]*[a-f0-9]+: e9 ([0-9a-f]{2} ){4} * jmp +[a-f0-9]+ <foo>
[ ]*[a-f0-9]+: 90 nop
[ ]*[a-f0-9]+: e9 ([0-9a-f]{2} ){4} * jmp +[a-f0-9]+ <bar>
[ ]*[a-f0-9]+: 90 nop
#pass