6 #ifndef _RTE_FUNCTION_VERSIONING_H_ 7 #define _RTE_FUNCTION_VERSIONING_H_ 10 #ifndef RTE_USE_FUNCTION_VERSIONING 11 #error Use of function versioning disabled, is "use_function_versioning=true" in meson.build? 14 #ifdef RTE_BUILD_SHARED_LIB 47 #define VERSION_SYMBOL(b, e, n) __asm__(".symver " RTE_STR(b) RTE_STR(e) ", " RTE_STR(b) "@DPDK_" RTE_STR(n)) 55 #define VERSION_SYMBOL_EXPERIMENTAL(b, e) __asm__(".symver " RTE_STR(b) RTE_STR(e) ", " RTE_STR(b) "@EXPERIMENTAL") 62 #define BIND_DEFAULT_SYMBOL(b, e, n) __asm__(".symver " RTE_STR(b) RTE_STR(e) ", " RTE_STR(b) "@@DPDK_" RTE_STR(n)) 70 #define __vsym __rte_used 83 #define MAP_STATIC_SYMBOL(f, p) 89 #define VERSION_SYMBOL(b, e, n) 90 #define VERSION_SYMBOL_EXPERIMENTAL(b, e) 92 #define BIND_DEFAULT_SYMBOL(b, e, n) 93 #define MAP_STATIC_SYMBOL(f, p) f __attribute__((alias(RTE_STR(p))))