~ubuntu-branches/debian/squeeze/ffcall/squeeze

« back to all changes in this revision

Viewing changes to callback/trampoline_r/proto-mipsn32.s

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Egger
  • Date: 2010-06-26 15:29:30 UTC
  • mfrom: (5.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20100626152930-c09y01gk3szcnykn
Tags: 1.10+cvs20100619-2
Ship to unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
        #.file  1 "proto.c"
 
2
        .set    nobopt
 
3
        .option pic2
 
4
        .section        .text
 
5
        .text
 
6
        .align  2
 
7
        .globl  tramp
 
8
        .ent    tramp
 
9
tramp:
 
10
.LFB1:
 
11
        .frame  $sp,32,$31              # vars= 0, regs= 2/0, args= 0, extra= 16
 
12
        .mask   0x90000000,-8
 
13
        .fmask  0x00000000,0
 
14
        subu    $sp,$sp,32
 
15
.LCFI0:
 
16
        sd      $31,24($sp)
 
17
.LCFI1:
 
18
        sd      $28,16($sp)
 
19
.LCFI2:
 
20
        .set    noat
 
21
        lui     $1,%hi(%neg(%gp_rel(tramp)))
 
22
        addiu   $1,$1,%lo(%neg(%gp_rel(tramp)))
 
23
        daddu   $gp,$1,$25
 
24
        .set    at
 
25
        li      $2,1934950400                   # 0x73550000
 
26
        ori     $2,$2,0x4711
 
27
        li      $25,-1161904448
 
28
        jal     $31,$25
 
29
        ld      $31,24($sp)
 
30
        ld      $28,16($sp)
 
31
        #nop
 
32
        .set    noreorder
 
33
        .set    nomacro
 
34
        j       $31
 
35
        addu    $sp,$sp,32
 
36
        .set    macro
 
37
        .set    reorder
 
38
 
 
39
.LFE1:
 
40
        .end    tramp
 
41
        .align  2
 
42
        .globl  jump
 
43
        .ent    jump
 
44
jump:
 
45
.LFB2:
 
46
        .frame  $sp,32,$31              # vars= 0, regs= 1/0, args= 0, extra= 16
 
47
        .mask   0x10000000,-16
 
48
        .fmask  0x00000000,0
 
49
        subu    $sp,$sp,32
 
50
.LCFI3:
 
51
        sd      $28,16($sp)
 
52
.LCFI4:
 
53
        .set    noat
 
54
        lui     $1,%hi(%neg(%gp_rel(jump)))
 
55
        addiu   $1,$1,%lo(%neg(%gp_rel(jump)))
 
56
        daddu   $gp,$1,$25
 
57
        .set    at
 
58
        li      $3,-1161953280                  # 0xbabe0000
 
59
        ori     $3,$3,0xbec0
 
60
        j       $3
 
61
.LFE2:
 
62
        .end    jump