diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2009-10-07 20:02:05 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2009-10-07 20:02:05 +0000 |
commit | 5ef55856860742f50930b93ced9bd37702ed201f (patch) | |
tree | e714c265fe8fcfd7c35cfdaf2adee199e66de44d /gas | |
parent | c628eeccab3cb923d6945a7cc880e95028e1c232 (diff) | |
download | gdb-5ef55856860742f50930b93ced9bd37702ed201f.zip gdb-5ef55856860742f50930b93ced9bd37702ed201f.tar.gz gdb-5ef55856860742f50930b93ced9bd37702ed201f.tar.bz2 |
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.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/intelok.d | 2 | ||||
-rw-r--r-- | 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 <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. 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 ] |