From 3b844ee813bafe798ad6824af360ee60f5949206 Mon Sep 17 00:00:00 2001 From: mark Date: Sun, 5 Oct 1997 22:51:05 +0000 Subject: [PATCH] Cleaned out some old junk. Enabled .type directive in the ENTRY() macro. --- sys/arch/arm32/include/asm.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/sys/arch/arm32/include/asm.h b/sys/arch/arm32/include/asm.h index 13d6ab794bcc..af59e8ea3ea4 100644 --- a/sys/arch/arm32/include/asm.h +++ b/sys/arch/arm32/include/asm.h @@ -1,4 +1,4 @@ -/* $NetBSD: asm.h,v 1.3 1996/11/30 02:48:58 jtc Exp $ */ +/* $NetBSD: asm.h,v 1.4 1997/10/05 22:51:05 mark Exp $ */ /* * Copyright (c) 1990 The Regents of the University of California. @@ -42,11 +42,8 @@ #define _ARM32_ASM_H_ #ifdef GPROF -/* - * XXX assumes that arguments are not passed in %eax - */ -# define _BEGIN_ENTRY /*.data; 1:; .long 0;*/ .text; .align 0 -# define _END_ENTRY /*movl $1b,%eax; call PIC_PLT(mcount)*/ +# define _BEGIN_ENTRY .text; .align 0 +# define _END_ENTRY #else # define _BEGIN_ENTRY .text; .align 0 # define _END_ENTRY @@ -59,7 +56,7 @@ #endif #define _ASM_FUNC(x) x -#define _ENTRY(x) .globl x; /*.type x,@function;*/ x: +#define _ENTRY(x) .globl x; .type x,@function; x: #define ENTRY(y) _BEGIN_ENTRY; _ENTRY(_C_FUNC(y)); _END_ENTRY #define TWOENTRY(y,z) _BEGIN_ENTRY; _ENTRY(_C_FUNC(y)); _ENTRY(_C_FUNC(z)); \