Argh, fix the ANSI CPP version of the a.out WARN_REFERENCES().
This commit is contained in:
parent
d90b3d3438
commit
da572a137f
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: asm.h,v 1.10 1998/12/02 00:58:42 thorpej Exp $ */
|
||||
/* $NetBSD: asm.h,v 1.11 1998/12/02 21:16:46 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
|
@ -85,14 +85,15 @@
|
|||
#define RCSID(x) .text; .asciz x
|
||||
|
||||
#ifdef __STDC__
|
||||
#define __STRING(x) #x
|
||||
#define WARN_REFERENCES(sym,msg) \
|
||||
.stabs \" ## msg ## \",30,0,0,0 ; \
|
||||
.stabs \"_ ## sym ## \",1,0,0,0
|
||||
.stabs msg ## ,30,0,0,0 ; \
|
||||
.stabs __STRING(_ ## sym) ## ,1,0,0,0
|
||||
#else
|
||||
#define WARN_REFERENCES_STRING(x) "x"
|
||||
#define __STRING(x) "x"
|
||||
#define WARN_REFERENCES(sym,msg) \
|
||||
.stabs msg,30,0,0,0 ; \
|
||||
.stabs WARN_REFERENCES_STRING(_/**/sym),1,0,0,0
|
||||
.stabs __STRING(_/**/sym),1,0,0,0
|
||||
#endif /* __STDC__ */
|
||||
|
||||
#endif /* !_ARM_ASM_H_ */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: asm.h,v 1.11 1998/12/02 00:58:43 thorpej Exp $ */
|
||||
/* $NetBSD: asm.h,v 1.12 1998/12/02 21:16:46 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
|
@ -94,14 +94,15 @@
|
|||
#define RCSID(x) .text; .asciz x
|
||||
|
||||
#ifdef __STDC__
|
||||
#define __STRING(x) #x
|
||||
#define WARN_REFERENCES(sym,msg) \
|
||||
.stabs \" ## msg ## \",30,0,0,0 ; \
|
||||
.stabs \"_ ## sym ## \",1,0,0,0
|
||||
.stabs msg ## ,30,0,0,0 ; \
|
||||
.stabs __STRING(_ ## sym) ## ,1,0,0,0
|
||||
#else
|
||||
#define WARN_REFERENCES_STRING(x) "x"
|
||||
#define __STRING(x) "x"
|
||||
#define WARN_REFERENCES(sym,msg) \
|
||||
.stabs msg,30,0,0,0 ; \
|
||||
.stabs WARN_REFERENCES_STRING(_/**/sym),1,0,0,0
|
||||
.stabs __STRING(_/**/sym),1,0,0,0
|
||||
#endif /* __STDC__ */
|
||||
|
||||
#endif /* !_I386_ASM_H_ */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: asm.h,v 1.16 1998/12/02 00:58:43 thorpej Exp $ */
|
||||
/* $NetBSD: asm.h,v 1.17 1998/12/02 21:16:46 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997 The NetBSD Foundation, Inc.
|
||||
|
@ -181,14 +181,15 @@
|
|||
#endif /* _KERNEL */
|
||||
|
||||
#ifdef __STDC__
|
||||
#define __STRING(x) #x
|
||||
#define WARN_REFERENCES(sym,msg) \
|
||||
.stabs \" ## msg ## \",30,0,0,0 ; \
|
||||
.stabs \"_ ## sym ## \",1,0,0,0
|
||||
.stabs msg ## ,30,0,0,0 ; \
|
||||
.stabs __STRING(_ ## sym) ## ,1,0,0,0
|
||||
#else
|
||||
#define WARN_REFERENCES_STRING(x) "x"
|
||||
#define __STRING(x) "x"
|
||||
#define WARN_REFERENCES(sym,msg) \
|
||||
.stabs msg,30,0,0,0 ; \
|
||||
.stabs WARN_REFERENCES_STRING(_/**/sym),1,0,0,0
|
||||
.stabs __STRING(_/**/sym),1,0,0,0
|
||||
#endif /* __STDC__ */
|
||||
|
||||
#endif /* _ASM_H_ */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: asm.h,v 1.13 1998/12/02 00:58:43 thorpej Exp $ */
|
||||
/* $NetBSD: asm.h,v 1.14 1998/12/02 21:16:46 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Mach Operating System
|
||||
|
@ -216,14 +216,15 @@
|
|||
#endif
|
||||
|
||||
#ifdef __STDC__
|
||||
#define __STRING(x) #x
|
||||
#define WARN_REFERENCES(sym,msg) \
|
||||
.stabs \" ## msg ## \",30,0,0,0 ; \
|
||||
.stabs \"_ ## sym ## \",1,0,0,0
|
||||
.stabs msg ## ,30,0,0,0 ; \
|
||||
.stabs __STRING(_ ## sym) ## ,1,0,0,0
|
||||
#else
|
||||
#define WARN_REFERENCES_STRING(x) "x"
|
||||
#define __STRING(x) "x"
|
||||
#define WARN_REFERENCES(sym,msg) \
|
||||
.stabs msg,30,0,0,0 ; \
|
||||
.stabs WARN_REFERENCES_STRING(_/**/sym),1,0,0,0
|
||||
.stabs __STRING(_/**/sym),1,0,0,0
|
||||
#endif /* __STDC__ */
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: asm.h,v 1.8 1998/12/02 00:58:43 thorpej Exp $ */
|
||||
/* $NetBSD: asm.h,v 1.9 1998/12/02 21:16:46 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994 Allen Briggs
|
||||
|
@ -106,14 +106,15 @@
|
|||
#define RCSID(name) .asciz name
|
||||
|
||||
#ifdef __STDC__
|
||||
#define __STRING(x) #x
|
||||
#define WARN_REFERENCES(sym,msg) \
|
||||
.stabs \" ## msg ## \",30,0,0,0 ; \
|
||||
.stabs \"_ ## sym ## \",1,0,0,0
|
||||
.stabs msg ## ,30,0,0,0 ; \
|
||||
.stabs __STRING(_ ## sym) ## ,1,0,0,0
|
||||
#else
|
||||
#define WARN_REFERENCES_STRING(x) "x"
|
||||
#define __STRING(x) "x"
|
||||
#define WARN_REFERENCES(sym,msg) \
|
||||
.stabs msg,30,0,0,0 ; \
|
||||
.stabs WARN_REFERENCES_STRING(_/**/sym),1,0,0,0
|
||||
.stabs __STRING(_/**/sym),1,0,0,0
|
||||
#endif /* __STDC__ */
|
||||
|
||||
#endif /* _ASM_H_ */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: asm.h,v 1.6 1998/12/02 00:58:43 thorpej Exp $ */
|
||||
/* $NetBSD: asm.h,v 1.7 1998/12/02 21:16:46 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994 Allen Briggs
|
||||
|
@ -123,14 +123,15 @@
|
|||
#endif /* __STDC__ */
|
||||
#else
|
||||
#ifdef __STDC__
|
||||
#define __STRING(x) #x
|
||||
#define WARN_REFERENCES(sym,msg) \
|
||||
.stabs \" ## msg ## \",30,0,0,0 ; \
|
||||
.stabs \"_ ## sym ## \",1,0,0,0
|
||||
.stabs msg ## ,30,0,0,0 ; \
|
||||
.stabs __STRING(_ ## sym) ## ,1,0,0,0
|
||||
#else
|
||||
#define WARN_REFERENCES_STRING(x) "x"
|
||||
#define __STRING(x) "x"
|
||||
#define WARN_REFERENCES(sym,msg) \
|
||||
.stabs msg,30,0,0,0 ; \
|
||||
.stabs WARN_REFERENCES_STRING(_/**/sym),1,0,0,0
|
||||
.stabs __STRING(_/**/sym),1,0,0,0
|
||||
#endif /* __STDC__ */
|
||||
#endif /* __ELF__ */
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: asm.h,v 1.7 1998/12/02 00:58:43 thorpej Exp $ */
|
||||
/* $NetBSD: asm.h,v 1.8 1998/12/02 21:16:46 thorpej Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1982, 1993
|
||||
* The Regents of the University of California. All rights reserved.
|
||||
|
@ -82,14 +82,15 @@
|
|||
#endif
|
||||
|
||||
#ifdef __STDC__
|
||||
#define __STRING(x) #x
|
||||
#define WARN_REFERENCES(sym,msg) \
|
||||
.stabs \" ## msg ## \",30,0,0,0 ; \
|
||||
.stabs \"_ ## sym ## \",1,0,0,0
|
||||
.stabs msg ## ,30,0,0,0 ; \
|
||||
.stabs __STRING(_ ## sym) ## ,1,0,0,0
|
||||
#else
|
||||
#define WARN_REFERENCES_STRING(x) "x"
|
||||
#define __STRING(x) "x"
|
||||
#define WARN_REFERENCES(sym,msg) \
|
||||
.stabs msg,30,0,0,0 ; \
|
||||
.stabs WARN_REFERENCES_STRING(_/**/sym),1,0,0,0
|
||||
.stabs __STRING(_/**/sym),1,0,0,0
|
||||
#endif /* __STDC__ */
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue