summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-07-13 17:42:28 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-07-13 17:42:28 +0000
commitb10c425e0868b36d6b4281a0ca292c7dd4eab8f5 (patch)
treedd4b9fb5692cef3c6c8d7484b2a0246f601d6a18 /ld/testsuite/ld-i386
parent6f03b2b0bea6a6a11684e5547775d0b565a6bb01 (diff)
downloadbinutils-redhat-b10c425e0868b36d6b4281a0ca292c7dd4eab8f5.tar.gz
Don't hard code expected output.
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.
Diffstat (limited to 'ld/testsuite/ld-i386')
-rw-r--r--ld/testsuite/ld-i386/hidden2.d2
-rw-r--r--ld/testsuite/ld-i386/protected3.d2
2 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/ld-i386/hidden2.d b/ld/testsuite/ld-i386/hidden2.d
index 90bc4384eb..0d800cef25 100644
--- a/ld/testsuite/ld-i386/hidden2.d
+++ b/ld/testsuite/ld-i386/hidden2.d
@@ -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
diff --git a/ld/testsuite/ld-i386/protected3.d b/ld/testsuite/ld-i386/protected3.d
index e42185a412..aafa2d81b3 100644
--- a/ld/testsuite/ld-i386/protected3.d
+++ b/ld/testsuite/ld-i386/protected3.d
@@ -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