summaryrefslogtreecommitdiffstats
path: root/lib/libc/i386
diff options
context:
space:
mode:
authorjasone <jasone@FreeBSD.org>2000-01-20 03:15:01 +0000
committerjasone <jasone@FreeBSD.org>2000-01-20 03:15:01 +0000
commit271b33587d1dec543e4b44ec4200f0262b78b981 (patch)
tree4f87b4d6888e7faab379f3821f95587ffc0db1b5 /lib/libc/i386
parentfb20480840a20d480ddfac3d78644b58b1d8e5eb (diff)
downloadFreeBSD-src-271b33587d1dec543e4b44ec4200f0262b78b981.zip
FreeBSD-src-271b33587d1dec543e4b44ec4200f0262b78b981.tar.gz
Move ENTRY and ALTENTRY definitions to asm.h where they belong.
Unbreak profiling. Again. Submitted by: bde
Diffstat (limited to 'lib/libc/i386')
-rw-r--r--lib/libc/i386/DEFS.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/lib/libc/i386/DEFS.h b/lib/libc/i386/DEFS.h
index 0e54055..edf08ea 100644
--- a/lib/libc/i386/DEFS.h
+++ b/lib/libc/i386/DEFS.h
@@ -39,26 +39,3 @@
*/
#include <machine/asm.h>
-
-/* Already defined in machine/asm.h. */
-#undef ENTRY
-
-#define MCOUNT call PIC_PLT(HIDENAME(mcount))
-#define MEXITCOUNT call PIC_PLT(HIDENAME(mexitcount))
-
-#ifdef PROF
-/*
- * XXX Looks good to me, but it sure looks different than the original...
- * (jasone)
- */
-#define ENTRY(name) _ENTRY(name) ; 9: ; MCOUNT
-/* #define ENTRY(name) _ENTRY(name) ; 9: \ */
-/* pushl %ebp; movl %esp,%ebp; \ */
-/* call PIC_PLT(HIDENAME(mcount)); \ */
-/* popl %ebp */
-
-#define ALTENTRY(name) _ENTRY(name) ; MCOUNT ; MEXITCOUNT ; jmp 9f
-#else
-#define ENTRY(name) _ENTRY(name)
-#define ALTENTRY(name) _ENTRY(name)
-#endif
OpenPOWER on IntegriCloud