ASM versions of __FBSDID.
This commit is contained in:
parent
efbb5e2289
commit
439a4003ab
@ -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 */
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 */
|
||||
|
@ -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; \
|
||||
|
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user