From 1cc95a3df015894454f6df2f06ae13ebd5e2cadc Mon Sep 17 00:00:00 2001 From: mark Date: Fri, 17 Oct 1997 18:27:30 +0000 Subject: [PATCH] Fix .type directives to use #function rather than @function. This is due to the problem of the @ character being a single character comment in the asm assembler. The '#' character has now been chosen instead for future versions of GCC and GAS so lets conform now. --- sys/arch/arm32/include/asm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/arm32/include/asm.h b/sys/arch/arm32/include/asm.h index ccd78af9aefc..fbfc39f741fe 100644 --- a/sys/arch/arm32/include/asm.h +++ b/sys/arch/arm32/include/asm.h @@ -1,4 +1,4 @@ -/* $NetBSD: asm.h,v 1.5 1997/10/14 09:20:01 mark Exp $ */ +/* $NetBSD: asm.h,v 1.6 1997/10/17 18:27:30 mark Exp $ */ /* * Copyright (c) 1990 The Regents of the University of California. @@ -56,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)); \