OSDN Git Service

2009-10-07 H.J. Lu <hongjiu.lu@intel.com>
authorhjl <hjl>
Wed, 7 Oct 2009 20:02:05 +0000 (20:02 +0000)
committerhjl <hjl>
Wed, 7 Oct 2009 20:02:05 +0000 (20:02 +0000)
PR gas/10704
* gas/i386/intelok.s: Add 2 new tests.
* gas/i386/intelok.d: Updated.

gas/testsuite/ChangeLog
gas/testsuite/gas/i386/intelok.d
gas/testsuite/gas/i386/intelok.s

index dc46b35..101a420 100644 (file)
@@ -1,3 +1,9 @@
+2009-10-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/10704
+       * gas/i386/intelok.s: Add 2 new tests.
+       * gas/i386/intelok.d: Updated.
+
 2009-10-02  Peter Bergner  <bergner@vnet.ibm.com>
 
        * gas/ppc/476.s: New test.
index 7a958d5..e471c2e 100644 (file)
@@ -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
index 00cf4da..169fc45 100644 (file)
@@ -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 ]