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

« back to all changes in this revision

Viewing changes to binutils-2.23.52.20130611/ld/testsuite/ld-mips-elf/jr-to-b-2.s

  • 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
        .abicalls
 
2
        .text
 
3
        .align  2
 
4
        .set    mips16
 
5
        .ent    s
 
6
        .type   s, @function
 
7
s:
 
8
        .frame  $sp,0,$31               # vars= 0, regs= 0/0, args= 0, gp= 0
 
9
        .mask   0x00000000,0
 
10
        .fmask  0x00000000,0
 
11
        .set    noreorder
 
12
        .set    nomacro
 
13
        j       $31
 
14
        li      $2,1
 
15
        .set    macro
 
16
        .set    reorder
 
17
 
 
18
        .end    s
 
19
        .size   s, .-s
 
20
        .align  2
 
21
        .globl  t
 
22
        .set    nomips16
 
23
        .ent    t
 
24
        .type   t, @function
 
25
t:
 
26
        .frame  $sp,0,$31               # vars= 0, regs= 0/0, args= 0, gp= 0
 
27
        .mask   0x00000000,0
 
28
        .fmask  0x00000000,0
 
29
        .set    noreorder
 
30
        .cpload $25
 
31
        .set    nomacro
 
32
        lw      $25,%got(s)($28)
 
33
        nop
 
34
        addiu   $25,$25,%lo(s)
 
35
        .reloc  1f,R_MIPS_JALR,s
 
36
1:      jr      $25
 
37
        nop
 
38
 
 
39
        .set    macro
 
40
        .set    reorder
 
41
        .end    t
 
42
        .size   t, .-t