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

« back to all changes in this revision

Viewing changes to callback/trampoline_r/proto-sparc64.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   "proto64.c"
 
2
        .version        "01.01"
 
3
.section        ".text"
 
4
        .align 4
 
5
        .global tramp
 
6
        .type    tramp,#function
 
7
        .proc   04
 
8
tramp:
 
9
        !#PROLOGUE# 0
 
10
        save    %sp, -192, %sp
 
11
        !#PROLOGUE# 1
 
12
        sethi   %hi(1934967808), %o0
 
13
        sethi   %hi(1130504192), %o3
 
14
        or      %o0, 785, %o0
 
15
        sethi   %hi(0xbabebc00), %o2
 
16
        sllx    %o0, 32, %o0
 
17
        or      %o3, 341, %o3
 
18
        or      %o2, 704, %o2
 
19
        sethi   %hi(0xdea0fc00), %o1
 
20
        sllx    %o2, 32, %o2
 
21
        or      %o1, 939, %o1
 
22
        call    %o2+%o1, 0
 
23
        add     %o0, %o3, %g5
 
24
        ret
 
25
        restore %g0, %o0, %o0
 
26
.LLfe1:
 
27
        .size    tramp,.LLfe1-tramp
 
28
        .align 4
 
29
        .global jump
 
30
        .type    jump,#function
 
31
        .proc   04
 
32
jump:
 
33
        !#PROLOGUE# 0
 
34
        !#PROLOGUE# 1
 
35
        sethi   %hi(0xbabebc00), %g2
 
36
        sethi   %hi(0xdea0fc00), %g3
 
37
        or      %g2, 704, %g2
 
38
        or      %g3, 939, %g3
 
39
        sllx    %g2, 32, %g2
 
40
        jmp     %g2+%g3
 
41
         nop
 
42
.LLfe2:
 
43
        .size    jump,.LLfe2-jump
 
44
        .ident  "GCC: (GNU) 2.95.2 19991024 (release)"