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

« back to all changes in this revision

Viewing changes to binutils-2.23.52.20130611/binutils/testsuite/binutils-all/mips/mixed-mips16.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
        .section .text.foo, "ax", @progbits
 
2
        .set    nomips16
 
3
        .globl  foo
 
4
        .ent    foo
 
5
foo:
 
6
        addiu   $sp, $sp, -32
 
7
        sw      $ra, 28($sp)
 
8
        jal     baz
 
9
        lw      $ra, 28($sp)
 
10
        addiu   $sp, $sp, 32
 
11
        jr      $ra
 
12
        .end    foo
 
13
 
 
14
# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
 
15
        .align  2
 
16
        .space  8
 
17
 
 
18
 
 
19
        .section .text.bar, "ax", @progbits
 
20
        .set    mips16
 
21
        .globl  bar
 
22
        .ent    bar
 
23
bar:
 
24
        addiu   $sp, -32
 
25
        sw      $ra, 28($sp)
 
26
        jal     baz
 
27
        lw      $a3, 28($sp)
 
28
        addiu   $sp, 32
 
29
        jr      $a3
 
30
        .end    bar
 
31
 
 
32
# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
 
33
        .align  2
 
34
        .space  8