~ubuntu-branches/ubuntu/utopic/binutils-arm64-cross/utopic

« back to all changes in this revision

Viewing changes to binutils-2.23.52.20130611/gas/testsuite/gas/mips/jalr2.d

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-06-20 17:38:09 UTC
  • Revision ID: package-import@ubuntu.com-20130620173809-app8lzgvymy5fg6c
Tags: 0.7
Build-depend on binutils-source (>= 2.23.52.20130620-1~).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#as: -mips2 -32 -KPIC
 
2
#objdump: -dr
 
3
 
 
4
.*
 
5
 
 
6
 
 
7
Disassembly of section \.text:
 
8
 
 
9
.* <test>:
 
10
.*:     afbc0010        sw      gp,16\(sp\)
 
11
.*:     8f990000        lw      t9,0\(gp\)
 
12
.*: R_MIPS_GOT16        \.text
 
13
.*:     2739004c        addiu   t9,t9,76
 
14
.*: R_MIPS_LO16 \.text
 
15
.*:     0320f809        jalr    t9
 
16
.*: R_MIPS_JALR local
 
17
.*:     00000000        nop
 
18
.*:     8fbc0010        lw      gp,16\(sp\)
 
19
.*:     8f990000        lw      t9,0\(gp\)
 
20
.*: R_MIPS_GOT16        \.text
 
21
.*:     27390058        addiu   t9,t9,88
 
22
.*: R_MIPS_LO16 \.text
 
23
# No R_MIPS_JALR here, because the target address had an addend.
 
24
.*:     0320f809        jalr    t9
 
25
.*:     00000000        nop
 
26
.*:     8fbc0010        lw      gp,16\(sp\)
 
27
.*:     8f990000        lw      t9,0\(gp\)
 
28
.*: R_MIPS_CALL16       global
 
29
.*:     0320f809        jalr    t9
 
30
.*: R_MIPS_JALR global
 
31
.*:     00000000        nop
 
32
.*:     8fbc0010        lw      gp,16\(sp\)
 
33
.*:     8f99000c        lw      t9,12\(gp\)
 
34
.*: R_MIPS_CALL16       global
 
35
# No R_MIPS_JALR here either, for the same reason.
 
36
.*:     0320f809        jalr    t9
 
37
.*:     00000000        nop
 
38
.*:     8fbc0010        lw      gp,16\(sp\)
 
39
 
 
40
.* <local>:
 
41
        \.\.\.