Module Name: src
Committed By: matt
Date: Tue Jan 11 07:10:15 UTC 2011
Modified Files:
src/sys/arch/powerpc/include [matt-nb5-pq3]: asm.h
Log Message:
Add a END(y) for function sizes.
To generate a diff of this commit:
cvs rdiff -u -r1.26.26.1 -r1.26.26.2 src/sys/arch/powerpc/include/asm.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/powerpc/include/asm.h
diff -u src/sys/arch/powerpc/include/asm.h:1.26.26.1 src/sys/arch/powerpc/include/asm.h:1.26.26.2
--- src/sys/arch/powerpc/include/asm.h:1.26.26.1 Fri Jan 7 01:51:02 2011
+++ src/sys/arch/powerpc/include/asm.h Tue Jan 11 07:10:15 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: asm.h,v 1.26.26.1 2011/01/07 01:51:02 matt Exp $ */
+/* $NetBSD: asm.h,v 1.26.26.2 2011/01/11 07:10:15 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(x) .size _C_LABEL(x),.-_C_LABEL(x)
#define ENTRY_NOPROFILE(y) _ENTRY(_C_LABEL(y))