]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gas/
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 17 Sep 2007 14:46:12 +0000 (14:46 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 17 Sep 2007 14:46:12 +0000 (14:46 +0000)
2007-09-17  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (intel_e04): Revert the last change.

gas/testsuite/

2007-09-17  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/x86-64-rip.s: Revert the last change.
* gas/i386/x86-64-rip-intel.d: Likewise.
* gas/i386/x86-64-rip.d: Likewise.

gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/x86-64-rip-intel.d
gas/testsuite/gas/i386/x86-64-rip.d
gas/testsuite/gas/i386/x86-64-rip.s

index 32b04b8606887fe8d432afe1b6e2acc583d23556..12f91bfbbbf0c0645e9126d78ecdbed5b853b8a9 100644 (file)
@@ -1,3 +1,7 @@
+2007-09-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (intel_e04): Revert the last change.
+
 2007-09-17  Nick Clifton  <nickc@redhat.com>
 
        * po/es.po: Updated Spanish translation.
index 1a6d3452e81b015d1fe81a7b6aa442b895bc90f9..5453a00b31682f992db1da40c4193c7c0e5576c8 100644 (file)
@@ -7913,9 +7913,6 @@ intel_e04 (void)
       if (!intel_e05())
        return 0;
 
-      if (cur_token.code == T_NIL)
-       return 1;
-
       if (nregs >= 0 && NUM_ADDRESS_REGS > nregs)
        i.base_reg = i386_regtab + REGNAM_AL; /* al is invalid as base */
 
index f8ff093f165c161012107071a6b59fc859c3b777..99c78a243f82ff838d9d23ddab2fbcc3498f1700 100644 (file)
@@ -1,3 +1,9 @@
+2007-09-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gas/i386/x86-64-rip.s: Revert the last change.
+       * gas/i386/x86-64-rip-intel.d: Likewise.
+       * gas/i386/x86-64-rip.d: Likewise.
+
 2007-09-15  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR gas/5034
index 24c9299f78fc6fd359bd4927b8586dd83abceab5..162f654c556d849b19ece1dedce8b421539c4359 100644 (file)
@@ -7,13 +7,9 @@
 
 Disassembly of section .text:
 
-0+ <.text>:
-[      ]*[a-f0-9]+:    8d 05 00 00 00 00       lea    eax,\[rip\+0x0\][        ]*#[    ]*0x[a-f0-9]+[  ]+[a-f0-9]+: R_X86_64_PC32      symbol-0x4
-[      ]*[a-f0-9]+:    8d 05 11 11 11 11       lea    eax,\[rip\+0x11111111\]        # 0x1111111d
-[      ]*[a-f0-9]+:    8d 05 01 00 00 00       lea    eax,\[rip\+0x1\]        # 0x13
-[      ]*[a-f0-9]+:    8d 05 00 00 00 00       lea    eax,\[rip\+0x0\]        # 0x18
-[      ]*[a-f0-9]+:    48 8b 05 00 00 00 00    mov    rax,QWORD PTR \[rip\+0x0\][      ]*#[    ]*0x[a-f0-9]+[  ]+[a-f0-9]+: R_X86_64_PC32      __CTOR_END__-0xc
-[      ]*[a-f0-9]+:    48 8b 05 00 00 00 00    mov    rax,QWORD PTR \[rip\+0x0\][      ]*#[    ]*0x[a-f0-9]+[  ]+[a-f0-9]+: R_X86_64_PC32      __CTOR_END__-0xc
-[      ]*[a-f0-9]+:    48 8b 05 00 00 00 00    mov    rax,QWORD PTR \[rip\+0x0\][      ]*#[    ]*0x[a-f0-9]+[  ]+[a-f0-9]+: R_X86_64_PC32      __CTOR_END__-0xc
-[      ]*[a-f0-9]+:    48 8b 05 00 00 00 00    mov    rax,QWORD PTR \[rip\+0x0\][      ]*#[    ]*0x[a-f0-9]+[  ]+[a-f0-9]+: R_X86_64_PC32      __CTOR_END__-0xc
+0+000 <.text>:
+[       ]*0:[   ]+8d 05 00 00 00 00[    ]+lea[  ]+eax,\[rip\+0x0\][    ]*(#.*)?
+[       ]*6:[   ]+8d 05 11 11 11 11[    ]+lea[  ]+eax,\[rip\+0x11111111\][     ]*(#.*)?
+[       ]*c:[   ]+8d 05 01 00 00 00[    ]+lea[  ]+eax,\[rip\+0x1\][    ]*(#.*)?
+[       ]*12:[  ]+8d 05 00 00 00 00[    ]+lea[  ]+eax,\[rip\+0x0\][    ]*(#.*)?
 #pass
index aea7faa3801405b772601b24690b17dc4167e815..66fe771b9608c2b62388b47befe226c760971176 100644 (file)
@@ -6,13 +6,9 @@
 
 Disassembly of section .text:
 
-0+ <.text>:
-[      ]*[a-f0-9]+:    8d 05 00 00 00 00       lea    0x0\(%rip\),%eax[        ]*#[    ]*0x[a-f0-9]+[  ]+[a-f0-9]+: R_X86_64_PC32      symbol-0x4
-[      ]*[a-f0-9]+:    8d 05 11 11 11 11       lea    0x11111111\(%rip\),%eax        # 0x1111111d
-[      ]*[a-f0-9]+:    8d 05 01 00 00 00       lea    0x1\(%rip\),%eax        # 0x13
-[      ]*[a-f0-9]+:    8d 05 00 00 00 00       lea    0x0\(%rip\),%eax        # 0x18
-[      ]*[a-f0-9]+:    48 8b 05 00 00 00 00    mov    0x0\(%rip\),%rax[        ]*#[    ]*0x[a-f0-9]+[  ]+[a-f0-9]+: R_X86_64_PC32      __CTOR_END__-0xc
-[      ]*[a-f0-9]+:    48 8b 05 00 00 00 00    mov    0x0\(%rip\),%rax[        ]*#[    ]*0x[a-f0-9]+[  ]+[a-f0-9]+: R_X86_64_PC32      __CTOR_END__-0xc
-[      ]*[a-f0-9]+:    48 8b 05 00 00 00 00    mov    0x0\(%rip\),%rax[        ]*#[    ]*0x[a-f0-9]+[  ]+[a-f0-9]+: R_X86_64_PC32      __CTOR_END__-0xc
-[      ]*[a-f0-9]+:    48 8b 05 00 00 00 00    mov    0x0\(%rip\),%rax[        ]*#[    ]*0x[a-f0-9]+[  ]+[a-f0-9]+: R_X86_64_PC32      __CTOR_END__-0xc
+0+000 <.text>:
+[       ]*0:[   ]+8d 05 00 00 00 00[    ]+lea[  ]+0x0\(%rip\),%eax[    ]*(#.*)?
+[       ]*6:[   ]+8d 05 11 11 11 11[    ]+lea[  ]+0x11111111\(%rip\),%eax[     ]*(#.*)?
+[       ]*c:[   ]+8d 05 01 00 00 00[    ]+lea[  ]+0x1\(%rip\),%eax[    ]*(#.*)?
+[       ]*12:[  ]+8d 05 00 00 00 00[    ]+lea[  ]+0x0\(%rip\),%eax[    ]*(#.*)?
 #pass
index 8ba88c4d102d950a8662615ab1fa5ee34789b24a..c6ac1954b219e652b1fe092ab839c1c57f8a8735 100644 (file)
@@ -3,8 +3,3 @@
        leal    0x11111111(%rip), %eax
        leal    1(%rip), %eax
        leal    (%rip), %eax
-.intel_syntax noprefix
-mov     rax, QWORD PTR __CTOR_END__-8[rip]
-mov     rax, QWORD PTR __CTOR_END__+-8[rip]
-mov     rax, QWORD PTR -8+__CTOR_END__[rip]
-mov     rax, QWORD PTR __CTOR_END__[rip-8]