diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-09-03 04:03:13 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-09-03 04:03:13 -0700 |
commit | 8c650f161a95873e3dc08365fc9a74583df9de62 (patch) | |
tree | 8bc983ee17dba381ee1f9d749a31ecdd4d8a3186 /ld/testsuite/ld-ifunc/ifunc-22-i386.d | |
parent | 6c214e7cb397bf0de539fec640e764f0131e9677 (diff) | |
download | gdb-8c650f161a95873e3dc08365fc9a74583df9de62.zip gdb-8c650f161a95873e3dc08365fc9a74583df9de62.tar.gz gdb-8c650f161a95873e3dc08365fc9a74583df9de62.tar.bz2 |
Add ifunc tests for call, jmp, add, test
* ld-ifunc/ifunc-21-i386.s: Add tests for call, jmp, add, test.
* ld-ifunc/ifunc-21-x86-64.s: Likewise.
* ld-ifunc/ifunc-22-i386.s: Likewise.
* ld-ifunc/ifunc-22-x86-64.s: Likewise.
* ld-ifunc/ifunc-21-i386.d: Updated.
* ld-ifunc/ifunc-21-x86-64.d: Likewise.
* ld-ifunc/ifunc-22-i386.d: Likewise.
* ld-ifunc/ifunc-22-x86-64.d: Likewise.
Diffstat (limited to 'ld/testsuite/ld-ifunc/ifunc-22-i386.d')
-rw-r--r-- | ld/testsuite/ld-ifunc/ifunc-22-i386.d | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/ld/testsuite/ld-ifunc/ifunc-22-i386.d b/ld/testsuite/ld-ifunc/ifunc-22-i386.d index 4c3a6a3..c7ca811 100644 --- a/ld/testsuite/ld-ifunc/ifunc-22-i386.d +++ b/ld/testsuite/ld-ifunc/ifunc-22-i386.d @@ -5,26 +5,12 @@ .*: +file format .* - -Disassembly of section .plt: - -0+8048080 <.plt>: -[ ]*[a-f0-9]+: ff 25 b8 90 04 08 jmp \*0x80490b8 -[ ]*[a-f0-9]+: 68 00 00 00 00 push \$0x0 -[ ]*[a-f0-9]+: e9 00 00 00 00 jmp 8048090 <__start> - -Disassembly of section .text: - +#... 0+8048090 <__start>: -[ ]*[a-f0-9]+: e8 00 00 00 00 call 8048095 <__start\+0x5> -[ ]*[a-f0-9]+: 5b pop %ebx -[ ]*[a-f0-9]+: 81 c3 17 10 00 00 add \$0x1017,%ebx +[ ]*[a-f0-9]+: ff 93 0c 00 00 00 call \*0xc\(%ebx\) +[ ]*[a-f0-9]+: ff a3 0c 00 00 00 jmp \*0xc\(%ebx\) +[ ]*[a-f0-9]+: 03 83 0c 00 00 00 add 0xc\(%ebx\),%eax [ ]*[a-f0-9]+: 8b 83 0c 00 00 00 mov 0xc\(%ebx\),%eax +[ ]*[a-f0-9]+: 85 83 0c 00 00 00 test %eax,0xc\(%ebx\) [ ]*[a-f0-9]+: 8d ([0-9a-f]{2} ){5}[ ]+lea[ ]+.* - -0+80480a8 <foo>: -[ ]*[a-f0-9]+: c3 ret - -0+80480a9 <bar>: -[ ]*[a-f0-9]+: c3 ret #pass |