summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/asm.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/amd64/include/asm.h')
-rw-r--r--sys/amd64/include/asm.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/amd64/include/asm.h b/sys/amd64/include/asm.h
index 340b170..cf5f767 100644
--- a/sys/amd64/include/asm.h
+++ b/sys/amd64/include/asm.h
@@ -101,6 +101,17 @@
#define RCSID(x) .text; .asciz x
+#undef __FBSDID
+#if !defined(lint) && !defined(STRIP_FBSDID)
+#ifdef __ELF__
+#define __FBSDID(s) .ident s
+#else
+#define __FBSDID(s) .data ; .asciz s ; .previous
+#endif
+#else
+#define __FBSDID(s) /* nothing */
+#endif /* not lint and not STRIP_FBSDID */
+
#ifdef _ARCH_INDIRECT
/*
* Generate code to select between the generic functions and _ARCH_INDIRECT
OpenPOWER on IntegriCloud