Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/include Add END(sym)
details: https://anonhg.NetBSD.org/src/rev/f378e69d25c2
branches: trunk
changeset: 760873:f378e69d25c2
user: matt <matt%NetBSD.org@localhost>
date: Sat Jan 15 07:23:49 2011 +0000
description:
Add END(sym)
Add __RCSID (to match cdefs.h)
diffstat:
sys/arch/powerpc/include/asm.h | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 9f4974efe88c -r f378e69d25c2 sys/arch/powerpc/include/asm.h
--- a/sys/arch/powerpc/include/asm.h Fri Jan 14 23:56:13 2011 +0000
+++ b/sys/arch/powerpc/include/asm.h Sat Jan 15 07:23:49 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: asm.h,v 1.30 2010/12/20 21:11:25 joerg Exp $ */
+/* $NetBSD: asm.h,v 1.31 2011/01/15 07:23:49 matt Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -110,6 +110,7 @@
.text; .align 2; .globl x; .type x,@function; x:
#define ENTRY(y) _ENTRY(_C_LABEL(y)); _PROF_PROLOGUE
+#define END(y) .size _C_LABEL(y),.-_C_LABEL(y)
#define ENTRY_NOPROFILE(y) _ENTRY(_C_LABEL(y))
@@ -123,7 +124,8 @@
#define ASMSTR .asciz
-#define RCSID(x) .pushsection ".ident"; .asciz x; .popsection
+#define RCSID(x) __RCSID(x)
+#define __RCSID(x) .pushsection .ident; .asciz x; .popsection
#ifdef __ELF__
#define WEAK_ALIAS(alias,sym) \
Home |
Main Index |
Thread Index |
Old Index