31 #ifndef _RTE_COMPAT_H_
32 #define _RTE_COMPAT_H_
35 #ifdef RTE_BUILD_SHARED_LIB
68 #define VERSION_SYMBOL(b, e, n) __asm__(".symver " RTE_STR(b) RTE_STR(e) ", " RTE_STR(b) "@DPDK_" RTE_STR(n))
75 #define BIND_DEFAULT_SYMBOL(b, e, n) __asm__(".symver " RTE_STR(b) RTE_STR(e) ", " RTE_STR(b) "@@DPDK_" RTE_STR(n))
76 #define __vsym __attribute__((used))
89 #define MAP_STATIC_SYMBOL(f, p)
95 #define VERSION_SYMBOL(b, e, n)
97 #define BIND_DEFAULT_SYMBOL(b, e, n)
98 #define MAP_STATIC_SYMBOL(f, p) f __attribute__((alias(RTE_STR(p))))