diff options
Diffstat (limited to 'ld/testsuite/ld-i386/lea3b.d')
-rw-r--r-- | ld/testsuite/ld-i386/lea3b.d | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/lea3b.d b/ld/testsuite/ld-i386/lea3b.d new file mode 100644 index 0000000..bb16fc0 --- /dev/null +++ b/ld/testsuite/ld-i386/lea3b.d @@ -0,0 +1,18 @@ +#source: lea3.s +#as: --32 +#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]+: [ a-f0-9]+ jmp [a-f0-9]+ <foo> +[ ]*[a-f0-9]+: 90 nop +[ ]*[a-f0-9]+: [ a-f0-9]+ jmp [a-f0-9]+ <bar> +[ ]*[a-f0-9]+: 90 nop +#pass |