From 5ef55856860742f50930b93ced9bd37702ed201f Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 7 Oct 2009 20:02:05 +0000 Subject: [PATCH] 2009-10-07 H.J. Lu PR gas/10704 * gas/i386/intelok.s: Add 2 new tests. * gas/i386/intelok.d: Updated. --- gas/testsuite/ChangeLog | 6 ++++++ gas/testsuite/gas/i386/intelok.d | 2 ++ gas/testsuite/gas/i386/intelok.s | 6 ++++-- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index dc46b35..101a420 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2009-10-07 H.J. Lu + + PR gas/10704 + * gas/i386/intelok.s: Add 2 new tests. + * gas/i386/intelok.d: Updated. + 2009-10-02 Peter Bergner * gas/ppc/476.s: New test. diff --git a/gas/testsuite/gas/i386/intelok.d b/gas/testsuite/gas/i386/intelok.d index 7a958d5..e471c2e 100644 --- a/gas/testsuite/gas/i386/intelok.d +++ b/gas/testsuite/gas/i386/intelok.d @@ -204,4 +204,6 @@ Disassembly of section .text: [ ]*[0-9a-f]+: ea 03 00 00 00 05 00[ ]+l?jmp[ ]+0x5[,:]0x3 [ ]*[0-9a-f]+: ff 15 00 00 00 00[ ]+call[ ]+DWORD PTR (ds:)?(0x)?0 [ ]*[0-9a-f]+: 66 ff 25 00 00 00 00[ ]+jmp[ ]+WORD PTR (ds:)?(0x)?0 +[ ]*[a-f0-9]+: ff 24 85 3c 05 00 00 jmp DWORD PTR \[eax\*4\+0x53c\] +[ ]*[a-f0-9]+: 8d 83 4a 05 00 00 lea eax,\[ebx\+0x54a\] #pass diff --git a/gas/testsuite/gas/i386/intelok.s b/gas/testsuite/gas/i386/intelok.s index 00cf4da..169fc45 100644 --- a/gas/testsuite/gas/i386/intelok.s +++ b/gas/testsuite/gas/i386/intelok.s @@ -216,5 +216,7 @@ start: call dword ptr xtrn jmp word ptr xtrn - # Force a good alignment. - .p2align 4,0 +.L11: + jmp DWORD PTR[ .L11 + eax * 4 ] +.LC0: + lea eax, DWORD PTR[ .LC0@GOTOFF + ebx ] -- 2.7.4