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-mips-elf/pic-and-nonpic-3a.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-mips-elf/pic-and-nonpic-3a.dd')
-rw-r--r-- | binutils-2.21/ld/testsuite/ld-mips-elf/pic-and-nonpic-3a.dd | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-mips-elf/pic-and-nonpic-3a.dd b/binutils-2.21/ld/testsuite/ld-mips-elf/pic-and-nonpic-3a.dd new file mode 100644 index 0000000..320e4ca --- /dev/null +++ b/binutils-2.21/ld/testsuite/ld-mips-elf/pic-and-nonpic-3a.dd @@ -0,0 +1,39 @@ +# GOT layout: +# +# -32752: lazy resolution function +# -32748: reserved for module pointer +# -32744: the GOT page entry +# -32740: foo's GOT entry +# -32736: ext's GOT entry + +.* + +Disassembly of section \.text: + +00000800 <foo>: + 800: 3c1c0001 lui gp,0x1 + 804: 279c7bf0 addiu gp,gp,31728 + 808: 0399e021 addu gp,gp,t9 + 80c: 8f99801c lw t9,-32740\(gp\) + 810: 8f828018 lw v0,-32744\(gp\) + 814: 03200008 jr t9 + 818: 24420000 addiu v0,v0,0 + +0000081c <bar>: + 81c: f000 6a01 li v0,1 + 820: f3cf 0a10 la v0,83f0 .* + 824: f400 3240 sll v0,16 + 828: e269 addu v0,v1 + 82a: f030 9a60 lw v1,-32736\(v0\) + 82e: 659a move gp,v0 + 830: eb00 jr v1 + 832: 653b move t9,v1 +#... +Disassembly of section \.MIPS\.stubs: + +00000c00 <.MIPS.stubs>: + c00: 8f998010 lw t9,-32752\(gp\) + c04: 03e07821 move t7,ra + c08: 0320f809 jalr t9 + c0c: 24180007 li t8,7 + \.\.\. |