summaryrefslogtreecommitdiffstats
path: root/gdb/testsuite/gdb.asm/sparc64.inc
blob: fb2253e0c39f6b81d63eaa363d122a4e82af0723 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
	comment "subroutine prologue"
	.macro gdbasm_enter
	save	%sp, -192, %sp
	.endm

	comment "subroutine epilogue"
	.macro gdbasm_leave
	return %i7 + 8
	nop
	.endm

	.macro gdbasm_call subr
	call	\subr
	nop
	.endm

	.macro gdbasm_several_nops
	nop
	nop
	nop
	nop
	.endm

	comment "exit (0)"
	.macro gdbasm_exit0
	comment "Don't know how to exit, but this will certainly halt..."
	ldx	[%g0], %i0
	.endm

	comment "crt0 startup"
	.macro gdbasm_startup
	clr	%fp
	.endm

OpenPOWER on IntegriCloud