2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 4 May 2007 00:44:36 +0000 (00:44 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 4 May 2007 00:44:36 +0000 (00:44 +0000)
PR gas/4460
* gas/i386/gotpc.s: Add a new test.
* gas/i386/reloc64.s: Likewise.

* gas/i386/gotpc.d: Updated.
* gas/i386/reloc64.d: Likewise.

gas/testsuite/ChangeLog
gas/testsuite/gas/i386/gotpc.d
gas/testsuite/gas/i386/gotpc.s
gas/testsuite/gas/i386/reloc64.d
gas/testsuite/gas/i386/reloc64.s

index 724400cc882578a170c562d285d190d76e76174c..309acb5b501a99bab3b2c1c2a87de5da4a434322 100644 (file)
@@ -1,3 +1,12 @@
+2007-05-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/4460
+       * gas/i386/gotpc.s: Add a new test.
+       * gas/i386/reloc64.s: Likewise.
+
+       * gas/i386/gotpc.d: Updated.
+       * gas/i386/reloc64.d: Likewise.
+
 2007-05-03  H.J. Lu  <hongjiu.lu@intel.com>
 
        * gas/i386/crc32-intel.d: Updated.
index 499e831c1b4524d77280bcd62cfb9a1879dcf1f7..ef79cbd783225832854a60e5a4a9dfe69944a311 100644 (file)
@@ -49,4 +49,6 @@ Disassembly of section .text:
   e0:  e0 00 [         ]*loopne e2 <test\+0xe2>        e0: (R_386_)?GOTPC      _GLOBAL_OFFSET_TABLE_
   e2:  00 00 [         ]*add    %al,\(%eax\)
   e4:  00 00 [         ]*add    %al,\(%eax\)   e4: (R_386_)?GOTOFF     _GLOBAL_OFFSET_TABLE_
-       ...
+  e6:  00 00 [         ]*add    %al,\(%eax\)
+  e8:  8b 83 00 00 00 00 [     ]*mov    0x0\(%ebx\),%eax       ea: (R_386_)?GOTOFF     _GLOBAL_OFFSET_TABLE_
+#pass
index 5787b8e8f88c02feb93a08a8025c38364aa1a03c..fc771f6cff55b2e9fcebd3f6ee7c07202e21ca79 100644 (file)
@@ -38,3 +38,4 @@ test:
        movl _GLOBAL_OFFSET_TABLE_@GOTOFF(%ebx), %ebx
        .long _GLOBAL_OFFSET_TABLE_+[.-test]
        .long _GLOBAL_OFFSET_TABLE_@GOTOFF
+       movl _GLOBAL_OFFSET_TABLE_@GOTOFF (%ebx), %eax
index 11dfdb4fedd267aa80b1dd9dc9bafddcea45cfef..333deaa3a614c1d82f6e0debba919fc4170876f0 100644 (file)
@@ -47,6 +47,7 @@ Disassembly of section \.text:
 .*[    ]+R_X86_64_TPOFF64[     ]+xtrn
 .*[    ]+R_X86_64_TPOFF32[     ]+xtrn
 .*[    ]+R_X86_64_TPOFF32[     ]+xtrn
+.*[    ]+R_X86_64_TPOFF32[     ]+xtrn
 Disassembly of section \.data:
 #...
 .*[    ]+R_X86_64_64[  ]+xtrn
index 47ebfa8dc0ad054f3452e623fcb9d185a0d743d5..7fd741af83958cc5c2a37d30f2668dce6979fc6e 100644 (file)
@@ -195,3 +195,6 @@ bad .byte   xtrn@gottpoff
 bad    .byte   xtrn@tlsld
 bad    .byte   xtrn@dtpoff
 bad    .byte   xtrn@tpoff
+
+       .text
+       mov     xtrn@tpoff (%rbx), %eax
This page took 0.030711 seconds and 4 git commands to generate.