/*
*
*                Language Independent Library
*
*       Copyright 1983-2000 Green Hills Software,Inc.
*
*  This program is the property of Green Hills Software, Inc,
*  its contents are proprietary information and no part of it
*  is to be disclosed to anyone except employees of Green Hills
*  Software, Inc., or as agreed in writing signed by the President
*  of Green Hills Software, Inc.
*
*/
/* ind_dots.arm: .syscall section for ARM family */

#if defined (EMBEDDED)

	.file	"ind_dots.arm"
#include "arm_dt.arm"

/* Syscall section */

	.section ".syscall", "ax"
	dtrace_stamp ind_dots.arm
#ifdef __THUMB
	.thumb
#endif
	.globl	__dotsyscall
__dotsyscall:
	stack_entry
	block_entry
#ifdef __THUMB
	mov	r8, r8			; mov hireg,hireg doesn't set CC!
	stack_exit
	bx	lr			; Return
#else
	orr	r0, r0, r0		; This is where we set the breakpoint
	stack_exit
	mov	pc, lr			; Return
#endif
	.type   __dotsyscall,$function	
	.size   __dotsyscall,.-__dotsyscall	
	.fsize  __dotsyscall, -4
	.scall	__dotsyscall,__leaf__

	.weak	__ghs_initial_dotsyscall
	.set	__ghs_initial_dotsyscall, __dotsyscall

/*	.globl __dotsyscallend */
/* __dotsyscallend: */
	
#endif
