diff options
author | obrien <obrien@FreeBSD.org> | 2002-03-23 02:01:27 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-03-23 02:01:27 +0000 |
commit | 4c2f5170459e21a582f3798933e11f26c41486bf (patch) | |
tree | a384f4b06d9ba41b3fa3425135b0caa0fd3b8d2d | |
parent | 7282a3b32e9f11f640da18f8a131047db40dbc7b (diff) | |
download | FreeBSD-src-4c2f5170459e21a582f3798933e11f26c41486bf.zip FreeBSD-src-4c2f5170459e21a582f3798933e11f26c41486bf.tar.gz |
ASM versions of __FBSDID.
-rw-r--r-- | sys/alpha/include/asm.h | 6 | ||||
-rw-r--r-- | sys/amd64/include/asm.h | 11 | ||||
-rw-r--r-- | sys/i386/include/asm.h | 11 | ||||
-rw-r--r-- | sys/ia64/include/asm.h | 6 | ||||
-rw-r--r-- | sys/powerpc/include/asm.h | 6 | ||||
-rw-r--r-- | sys/sparc64/include/asm.h | 10 |
6 files changed, 50 insertions, 0 deletions
diff --git a/sys/alpha/include/asm.h b/sys/alpha/include/asm.h index 782505c..d4129ab 100644 --- a/sys/alpha/include/asm.h +++ b/sys/alpha/include/asm.h @@ -648,3 +648,9 @@ label: ASCIZ msg; \ #endif #endif /* _KERNEL */ + +#if !defined(lint) && !defined(STRIP_FBSDID) +#define __FBSDID(s) .ident s +#else +#define __FBSDID(s) /* nothing */ +#endif /* not lint and not STRIP_FBSDID */ 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 diff --git a/sys/i386/include/asm.h b/sys/i386/include/asm.h index 340b170..cf5f767 100644 --- a/sys/i386/include/asm.h +++ b/sys/i386/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 diff --git a/sys/ia64/include/asm.h b/sys/ia64/include/asm.h index 0eea68c..7a49f2c 100644 --- a/sys/ia64/include/asm.h +++ b/sys/ia64/include/asm.h @@ -206,3 +206,9 @@ label: ASCIZ msg; \ #endif #endif /* _KERNEL */ + +#if !defined(lint) && !defined(STRIP_FBSDID) +#define __FBSDID(s) .ident s +#else +#define __FBSDID(s) /* nothing */ +#endif /* not lint and not STRIP_FBSDID */ 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; \ diff --git a/sys/sparc64/include/asm.h b/sys/sparc64/include/asm.h index c9b5a74..694d383 100644 --- a/sys/sparc64/include/asm.h +++ b/sys/sparc64/include/asm.h @@ -97,4 +97,14 @@ CNAME(x): #define ENTRY(x) _ENTRY(x) #define END(x) .size x, . - x +/* + * Kernel RCS ID tag and copyright macros + */ + +#if !defined(lint) && !defined(STRIP_FBSDID) +#define __FBSDID(s) .ident s +#else +#define __FBSDID(s) /* nothing */ +#endif /* not lint and not STRIP_FBSDID */ + #endif /* !_MACHINE_ASM_H_ */ |