~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/pic-and-nonpic-3b.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
        .option pic0
 
3
        .global __start
 
4
        .ent    __start
 
5
__start:
 
6
        jal     foo
 
7
        j       ext
 
8
        .end    __start
 
9
 
 
10
        .global ext
 
11
        .ent    ext
 
12
ext:
 
13
        lui     $gp,%hi(__gnu_local_gp)
 
14
        addiu   $gp,$gp,%lo(__gnu_local_gp)
 
15
        lw      $2,%got(local)($gp)
 
16
        addiu   $2,$2,%lo(local)
 
17
        lw      $25,%call16(bar)($gp)
 
18
        jr      $25
 
19
        .end    ext
 
20
 
 
21
        .data
 
22
local:  .word   1