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-cris/dso12-pltdis.d | |
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-cris/dso12-pltdis.d')
-rw-r--r-- | binutils-2.21/ld/testsuite/ld-cris/dso12-pltdis.d | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-cris/dso12-pltdis.d b/binutils-2.21/ld/testsuite/ld-cris/dso12-pltdis.d new file mode 100644 index 0000000..71a1748 --- /dev/null +++ b/binutils-2.21/ld/testsuite/ld-cris/dso12-pltdis.d @@ -0,0 +1,54 @@ +#source: expdyn1.s +#source: dsov32-1.s +#source: dsov32-2.s +#as: --pic --no-underscore --march=v32 --em=criself +#ld: --shared -m crislinux -z nocombreloc +#objdump: -d + +# Check dissassembly of .plt section. + +.*: file format elf32-cris + +Disassembly of section \.plt: + +0+1e4 <dsofn4@plt-0x1a>: + + 1e4: 84e2 subq 4,\$sp + 1e6: 0401 addoq 4,\$r0,\$acr + 1e8: 7e7a move \$mof,\[\$sp\] + 1ea: 3f7a move \[\$acr\],\$mof + 1ec: 04f2 addq 4,\$acr + 1ee: 6ffa move\.d \[\$acr\],\$acr + 1f0: bf09 jump \$acr + 1f2: b005 nop + \.\.\. + +0+1fe <dsofn4@plt>: + 1fe: 6f0d 0c00 0000 addo\.d c <dsofn4@plt-0x1f2>,\$r0,\$acr + 204: 6ffa move\.d \[\$acr\],\$acr + 206: bf09 jump \$acr + 208: b005 nop + 20a: 3f7e 0000 0000 move 0 <dsofn4@plt-0x1fe>,\$mof + 210: bf0e d4ff ffff ba 1e4 <dsofn4@plt-0x1a> + 216: b005 nop + +0+218 <dsofn@plt>: + 218: 6f0d 1000 0000 addo\.d 10 <dsofn4@plt-0x1ee>,\$r0,\$acr + 21e: 6ffa move\.d \[\$acr\],\$acr + 220: bf09 jump \$acr + 222: b005 nop + 224: 3f7e 0c00 0000 move c <dsofn4@plt-0x1f2>,\$mof + 22a: bf0e baff ffff ba 1e4 <dsofn4@plt-0x1a> + 230: b005 nop + +Disassembly of section \.text: +#... +0+236 <dsofn3>: + 236: bfbe e2ff ffff bsr 218 <dsofn@plt> + 23c: b005 nop + +0+23e <dsofn4>: + 23e: 7f0d a620 0000 lapc 22e4 <_GLOBAL_OFFSET_TABLE_>,\$r0 + 244: 5f0d 1400 addo\.w 0x14,\$r0,\$acr + 248: bfbe b6ff ffff bsr 1fe <dsofn4@plt> +#pass |