diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2002-03-23 02:01:27 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2002-03-23 02:01:27 +0000 |
commit | 439a4003abff6ed8e74a68ee85c809d506769d5b (patch) | |
tree | a384f4b06d9ba41b3fa3425135b0caa0fd3b8d2d /sys/amd64/include/asm.h | |
parent | efbb5e2289b902b0143bc3ae2b98f6d499ee2475 (diff) | |
download | src-439a4003abff6ed8e74a68ee85c809d506769d5b.tar.gz src-439a4003abff6ed8e74a68ee85c809d506769d5b.zip |
ASM versions of __FBSDID.
Notes
Notes:
svn path=/head/; revision=92998
Diffstat (limited to 'sys/amd64/include/asm.h')
-rw-r--r-- | sys/amd64/include/asm.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/amd64/include/asm.h b/sys/amd64/include/asm.h index 340b1701f7c1..cf5f767b33bd 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 |