summaryrefslogtreecommitdiff
path: root/usr/src/head/prof.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/head/prof.h')
-rw-r--r--usr/src/head/prof.h33
1 files changed, 2 insertions, 31 deletions
diff --git a/usr/src/head/prof.h b/usr/src/head/prof.h
index 792fd2137b..74c5aa35b1 100644
--- a/usr/src/head/prof.h
+++ b/usr/src/head/prof.h
@@ -24,6 +24,8 @@
/*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
* Copyright (c) 1996-1999 by Sun Microsystems, Inc.
* All rights reserved.
*/
@@ -31,8 +33,6 @@
#ifndef _PROF_H
#define _PROF_H
-#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.10.1.4 */
-
#ifdef __cplusplus
extern "C" {
#endif
@@ -42,8 +42,6 @@ extern "C" {
#else
#undef MARK
-#if defined(__STDC__)
-
#if defined(__i386)
#define MARK(K) {\
asm(" .data"); \
@@ -67,33 +65,6 @@ extern "C" {
}
#endif
-#else /* __STDC__ */
-
-#if defined(__i386)
-#define MARK(K) {\
- asm(" .data"); \
- asm(" .align 4"); \
- asm(".K.:"); \
- asm(" .long 0"); \
- asm(" .text"); \
- asm("M.K:"); \
- asm(" movl $.K., %edx"); \
- asm(" call _mcount"); \
- }
-#endif
-
-#if defined(__sparc)
-#define MARK(K) {\
- asm(" .reserve .K., 4, \".bss\", 4"); \
- asm("M.K:"); \
- asm(" sethi %hi(.K.), %o0"); \
- asm(" call _mcount"); \
- asm(" or %o0, %lo(.K.), %o0"); \
- }
-#endif
-
-#endif /* __STDC__ */
-
#endif /* MARK */
#ifdef __cplusplus