OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [gdb/] [testsuite/] [gdb.asm/] [pa64.inc] - Blame information for rev 157

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
        comment "subroutine prologue"
2
        .macro gdbasm_enter
3
        std %rp, -16(%sp)
4
        copy %r3, %r1
5
        copy %sp, %r3
6
        std,ma %r1, 128(%sp)
7
        .endm
8
 
9
        comment "subroutine epilogue"
10
        .macro gdbasm_leave
11
        ldd -16(%r3), %rp
12
        bve (%rp)
13
        ldd,mb -128(%sp), %r3
14
        .endm
15
 
16
        .macro gdbasm_call subr
17
        b,l     \subr , %rp
18
        nop
19
        .endm
20
 
21
        .macro gdbasm_several_nops
22
        nop
23
        nop
24
        nop
25
        nop
26
        .endm
27
 
28
        comment "exit (0)"
29
        .macro gdbasm_exit0
30
        comment "Don't know how to exit, but this will certainly halt..."
31
        ldw     0(%r0), %r1
32
        .endm
33
 
34
        comment "crt0 startup"
35
        .macro gdbasm_startup
36
        .align 8
37
        .endm
38
 
39
        comment "Declare a data variable"
40
        .purgem gdbasm_datavar
41
        .macro gdbasm_datavar name value
42
        .data
43
\name:
44
        .long   \value
45
        .endm
46
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.