Cleaned out some old junk.

Enabled .type directive in the ENTRY() macro.
This commit is contained in:
mark 1997-10-05 22:51:05 +00:00
parent 9752ea1553
commit 3b844ee813
1 changed files with 4 additions and 7 deletions

View File

@ -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)); \