summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/asm.h
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-03-23 02:01:27 +0000
committerobrien <obrien@FreeBSD.org>2002-03-23 02:01:27 +0000
commit4c2f5170459e21a582f3798933e11f26c41486bf (patch)
treea384f4b06d9ba41b3fa3425135b0caa0fd3b8d2d /sys/powerpc/include/asm.h
parent7282a3b32e9f11f640da18f8a131047db40dbc7b (diff)
downloadFreeBSD-src-4c2f5170459e21a582f3798933e11f26c41486bf.zip
FreeBSD-src-4c2f5170459e21a582f3798933e11f26c41486bf.tar.gz
ASM versions of __FBSDID.
Diffstat (limited to 'sys/powerpc/include/asm.h')
-rw-r--r--sys/powerpc/include/asm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/powerpc/include/asm.h b/sys/powerpc/include/asm.h
index 951891d..0b15f9d 100644
--- a/sys/powerpc/include/asm.h
+++ b/sys/powerpc/include/asm.h
@@ -77,6 +77,12 @@
#define RCSID(x) .text; .asciz x
+#if !defined(lint) && !defined(STRIP_FBSDID)
+#define __FBSDID(s) .ident s
+#else
+#define __FBSDID(s) /* nothing */
+#endif /* not lint and not STRIP_FBSDID */
+
#ifdef __ELF__
#define WEAK_ALIAS(alias,sym) \
.weak alias; \
OpenPOWER on IntegriCloud