/* * This comment block is used by fixdep. Please do not remove. * * When CONFIG_MODVERSIONS is changed from n to y, all source files having * EXPORT_SYMBOL variants must be re-compiled because genksyms is run as a * side effect of the *.o build rule.
*/
/* * LLVM integrated assembler cam merge adjacent string literals (like * C and GNU-as) passed to '.ascii', but not to '.asciz' and chokes on: * * .asciz "MODULE_" "kvm" ;
*/ #define ___EXPORT_SYMBOL(sym, license, ns...) \
.section ".export_symbol","a" ASM_NL \
__export_symbol_##sym: ASM_NL \
.asciz license ASM_NL \
.ascii ns "\0" ASM_NL \
__EXPORT_SYMBOL_REF(sym) ASM_NL \
.previous
#ifdefined(__DISABLE_EXPORTS)
/* * Allow symbol exports to be disabled completely so that C code may * be reused in other execution contexts such as the UEFI stub or the * decompressor.
*/ #define __EXPORT_SYMBOL(sym, license, ns)
#ifdef CONFIG_GENDWARFKSYMS /* * With CONFIG_GENDWARFKSYMS, ensure the compiler emits debugging * information for all exported symbols, including those defined in * different TUs, by adding a __gendwarfksyms_ptr_<symbol> pointer * that's discarded during the final link.
*/ #define __GENDWARFKSYMS_EXPORT(sym) \ static typeof(sym) *__gendwarfksyms_ptr_##sym __used \
__section(".discard.gendwarfksyms") = &sym; #else #define __GENDWARFKSYMS_EXPORT(sym) #endif
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.