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.
This commit is contained in:
parent
d13d5783e4
commit
1cc95a3df0
@ -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)); \
|
||||
|
Loading…
Reference in New Issue
Block a user