diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2010-07-13 17:42:29 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2010-07-13 17:42:29 +0000 |
commit | 2f395978370b2ee7d2c987a0c93e21ca5c65a972 (patch) | |
tree | 4b205c570a52f32aae289b2819aca5396d72aa43 /ld/testsuite/ld-x86-64 | |
parent | bb1cb422aef79013990a3331f837a8dd24d71165 (diff) | |
download | gdb-2f395978370b2ee7d2c987a0c93e21ca5c65a972.zip gdb-2f395978370b2ee7d2c987a0c93e21ca5c65a972.tar.gz gdb-2f395978370b2ee7d2c987a0c93e21ca5c65a972.tar.bz2 |
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-x86-64')
-rw-r--r-- | ld/testsuite/ld-x86-64/hidden2.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-x86-64/protected3.d | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/ld-x86-64/hidden2.d b/ld/testsuite/ld-x86-64/hidden2.d index 0d89e6e..9a29f9a 100644 --- a/ld/testsuite/ld-x86-64/hidden2.d +++ b/ld/testsuite/ld-x86-64/hidden2.d @@ -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 diff --git a/ld/testsuite/ld-x86-64/protected3.d b/ld/testsuite/ld-x86-64/protected3.d index 09556ce..897c1cf 100644 --- a/ld/testsuite/ld-x86-64/protected3.d +++ b/ld/testsuite/ld-x86-64/protected3.d @@ -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 |