Don't hard code expected output.
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 13 Jul 2010 17:42:29 +0000 (17:42 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 13 Jul 2010 17:42:29 +0000 (17:42 +0000)
2010-07-13  H.J. Lu  <hongjiu.lu@intel.com>

* ld-i386/hidden2.d: Don't hard code expected output.
* ld-i386/protected3.d: Likewise.
* ld-x86-64/hidden2.d: Likewise.
* ld-x86-64/protected3.d: Likewise.

ld/testsuite/ChangeLog
ld/testsuite/ld-i386/hidden2.d
ld/testsuite/ld-i386/protected3.d
ld/testsuite/ld-x86-64/hidden2.d
ld/testsuite/ld-x86-64/protected3.d

index 67555235841b00d1756e2e41cbae9674aa88f100..a1f9e6b1541d390da615ecf0a91fe94e36ca5264 100644 (file)
@@ -1,3 +1,10 @@
+2010-07-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-i386/hidden2.d: Don't hard code expected output.
+       * ld-i386/protected3.d: Likewise.
+       * ld-x86-64/hidden2.d: Likewise.
+       * ld-x86-64/protected3.d: Likewise.
+
 2010-07-13  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR ld/11791
index 90bc4384ebf3319bc054cf1bb57f4e51cbdb2876..0d800cef250934b9191c9b8760804dfabb41e3c4 100644 (file)
@@ -8,6 +8,6 @@
 Disassembly of section .text:
 
 [a-f0-9]+ <bar>:
-[      ]*[a-f0-9]+:    e8 cf fe ff ff          call   0 <bar-0x[a-f0-9]+>
+[      ]*[a-f0-9]+:    e8 cf fe ff ff          call   0 .*
 [      ]*[a-f0-9]+:    c3                      ret    
 #pass
index e42185a412984ca14f8aebee58df8e5242e0fec5..aafa2d81b350c259be120a7f6bfd466489857e64 100644 (file)
@@ -8,6 +8,6 @@
 Disassembly of section .text:
 
 0+[a-f0-9]+ <bar>:
-[      ]*[a-f0-9]+:    8b 81 0c 00 00 00       mov    0x[a-f0-9]+\(%ecx\),%eax
+[      ]*[a-f0-9]+:    8b 81 [a-f0-9][a-f0-9] [a-f0-9][a-f0-9] 00 00           mov    0x[a-f0-9]+\(%ecx\),%eax
 [      ]*[a-f0-9]+:    c3                      ret    
 #pass
index 0d89e6e863abdda6fb35a29f39d2a8c132d6b260..9a29f9a649364b58ef6956e899e24fc202bdf8d3 100644 (file)
@@ -8,6 +8,6 @@
 Disassembly of section .text:
 
 [a-f0-9]+ <bar>:
-[      ]*[a-f0-9]+:    e8 33 fe ff ff          callq  0 <bar-0x[a-f0-9]+>
+[      ]*[a-f0-9]+:    e8 33 fe ff ff          callq  0 .*
 [      ]*[a-f0-9]+:    c3                      retq   
 #pass
index 09556ce24507576144ae5b746aa2905f4b44ee72..897c1cf215bf06762ec36d8ed7c21394cc9b14ed 100644 (file)
@@ -8,6 +8,6 @@
 Disassembly of section .text:
 
 0+[a-f0-9]+ <bar>:
-[      ]*[a-f0-9]+:    8b 05 ce 00 20 00       mov    0x[a-f0-9]+\(%rip\),%eax        # [a-f0-9]+ <foo>
+[      ]*[a-f0-9]+:    8b 05 [a-f0-9][a-f0-9] 00 [a-f0-9][a-f0-9] 00           mov    0x[a-f0-9]+\(%rip\),%eax        # [a-f0-9]+ <foo>
 [      ]*[a-f0-9]+:    c3                      retq   
 #pass