10 #ifdef RTE_BUILD_SHARED_LIB
43 #define VERSION_SYMBOL(b, e, n) __asm__(".symver " RTE_STR(b) RTE_STR(e) ", " RTE_STR(b) "@DPDK_" RTE_STR(n))
50 #define BIND_DEFAULT_SYMBOL(b, e, n) __asm__(".symver " RTE_STR(b) RTE_STR(e) ", " RTE_STR(b) "@@DPDK_" RTE_STR(n))
51 #define __vsym __attribute__((used))
64 #define MAP_STATIC_SYMBOL(f, p)
70 #define VERSION_SYMBOL(b, e, n)
72 #define BIND_DEFAULT_SYMBOL(b, e, n)
73 #define MAP_STATIC_SYMBOL(f, p) f __attribute__((alias(RTE_STR(p))))
79 #ifndef ALLOW_EXPERIMENTAL_API
81 #define __rte_experimental \
82 __attribute__((deprecated("Symbol is not yet part of stable ABI"), \
83 section(".text.experimental")))
87 #define __rte_experimental \
88 __attribute__((section(".text.experimental")))