diff options
author | Jing Yu <jingyu@google.com> | 2011-12-20 10:27:58 -0800 |
---|---|---|
committer | Jing Yu <jingyu@google.com> | 2011-12-20 10:27:58 -0800 |
commit | cf3cdbf8b3cda61a619299e7966a83df66244036 (patch) | |
tree | 201e2bcfc955f16802d3257112d29736cb3a3ce8 /binutils-2.21/ld/testsuite/ld-i386/vxworks1-lib.dd | |
parent | e4df3e0a5bb640ccfa2f30ee67fe9b3146b152d6 (diff) | |
download | toolchain_binutils-cf3cdbf8b3cda61a619299e7966a83df66244036.zip toolchain_binutils-cf3cdbf8b3cda61a619299e7966a83df66244036.tar.gz toolchain_binutils-cf3cdbf8b3cda61a619299e7966a83df66244036.tar.bz2 |
Add binutils-2.21.
Use --enable-gold=default for dual linker support.
Change-Id: Id1a744c7db58a0b5e7a3be174cdfa875f2f86e49
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-i386/vxworks1-lib.dd')
-rw-r--r-- | binutils-2.21/ld/testsuite/ld-i386/vxworks1-lib.dd | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-i386/vxworks1-lib.dd b/binutils-2.21/ld/testsuite/ld-i386/vxworks1-lib.dd new file mode 100644 index 0000000..6d56eb2 --- /dev/null +++ b/binutils-2.21/ld/testsuite/ld-i386/vxworks1-lib.dd @@ -0,0 +1,41 @@ + +.*: file format .* + +Disassembly of section \.plt: + +00080800 <_PROCEDURE_LINKAGE_TABLE_>: + 80800: ff b3 04 00 00 00 pushl 0x4\(%ebx\) + 80806: ff a3 08 00 00 00 jmp \*0x8\(%ebx\) + 8080c: 90 nop + 8080d: 90 nop + 8080e: 90 nop + 8080f: 90 nop + +00080810 <sexternal@plt>: + 80810: ff a3 0c 00 00 00 jmp \*0xc\(%ebx\) + 80816: 68 00 00 00 00 push \$0x0 + 8081b: e9 e0 ff ff ff jmp 80800 <_PROCEDURE_LINKAGE_TABLE_> + +00080820 <sglobal@plt>: + 80820: ff a3 10 00 00 00 jmp \*0x10\(%ebx\) + 80826: 68 08 00 00 00 push \$0x8 + 8082b: e9 d0 ff ff ff jmp 80800 <_PROCEDURE_LINKAGE_TABLE_> +Disassembly of section \.text: + +00080c00 <foo>: + 80c00: 53 push %ebx + 80c01: 8b 1d 00 00 00 00 mov 0x0,%ebx + 80c07: 8b 99 00 00 00 00 mov 0x0\(%ecx\),%ebx + 80c0d: 8b 83 14 00 00 00 mov 0x14\(%ebx\),%eax + 80c13: ff 00 incl \(%eax\) + 80c15: e8 0c 00 00 00 call 80c26 <slocal> + 80c1a: e8 01 fc ff ff call 80820 <sglobal@plt> + 80c1f: e8 ec fb ff ff call 80810 <sexternal@plt> + 80c24: 5b pop %ebx + 80c25: c3 ret + +00080c26 <slocal>: + 80c26: c3 ret + +00080c27 <sglobal>: + 80c27: c3 ret |