mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-05 12:56:08 +00:00
ASM versions of __FBSDID.
This commit is contained in:
parent
efbb5e2289
commit
439a4003ab
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=92998
@ -648,3 +648,9 @@ label: ASCIZ msg; \
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* _KERNEL */
|
#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
|
#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
|
#ifdef _ARCH_INDIRECT
|
||||||
/*
|
/*
|
||||||
* Generate code to select between the generic functions and _ARCH_INDIRECT
|
* Generate code to select between the generic functions and _ARCH_INDIRECT
|
||||||
|
@ -101,6 +101,17 @@
|
|||||||
|
|
||||||
#define RCSID(x) .text; .asciz x
|
#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
|
#ifdef _ARCH_INDIRECT
|
||||||
/*
|
/*
|
||||||
* Generate code to select between the generic functions and _ARCH_INDIRECT
|
* Generate code to select between the generic functions and _ARCH_INDIRECT
|
||||||
|
@ -206,3 +206,9 @@ label: ASCIZ msg; \
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* _KERNEL */
|
#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
|
#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__
|
#ifdef __ELF__
|
||||||
#define WEAK_ALIAS(alias,sym) \
|
#define WEAK_ALIAS(alias,sym) \
|
||||||
.weak alias; \
|
.weak alias; \
|
||||||
|
@ -97,4 +97,14 @@ CNAME(x):
|
|||||||
#define ENTRY(x) _ENTRY(x)
|
#define ENTRY(x) _ENTRY(x)
|
||||||
#define END(x) .size x, . - 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_ */
|
#endif /* !_MACHINE_ASM_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user