X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_compat%2Frte_compat.h;h=41e8032ba1137373424e5460eebb24ed306e44a9;hb=98a7ea332ba3da0f74ec951595d36a616165b255;hp=929a9182c4bd75bcfd46a838a7b3bf793260fee7;hpb=58298a4e7b4cd14a78a85c4f4a297c37446f6a2e;p=dpdk.git diff --git a/lib/librte_compat/rte_compat.h b/lib/librte_compat/rte_compat.h index 929a9182c4..41e8032ba1 100644 --- a/lib/librte_compat/rte_compat.h +++ b/lib/librte_compat/rte_compat.h @@ -39,7 +39,7 @@ * When a symol is exported from a library to provide an API, it also provides a * calling convention (ABI) that is embodied in its name, return type, * arguments, etc. On occasion that function may need to change to accommodate - * new functionality, behavior, etc. When that occurs, it is desireable to + * new functionality, behavior, etc. When that occurs, it is desirable to * allow for backwards compatibility for a time with older binaries that are * dynamically linked to the dpdk. To support that, the __vsym and * VERSION_SYMBOL macros are created. They, in conjunction with the @@ -67,13 +67,6 @@ */ #define VERSION_SYMBOL(b, e, n) __asm__(".symver " RTE_STR(b) RTE_STR(e) ", " RTE_STR(b) "@DPDK_" RTE_STR(n)) -/* - * BASE_SYMBOL - * Creates a symbol version table entry binding unversioned symbol - * to the internal function _ - */ -#define BASE_SYMBOL(b, e) __asm__(".symver " RTE_STR(b) RTE_STR(e) ", " RTE_STR(b)"@") - /* * BIND_DEFAULT_SYMBOL * Creates a symbol version entry instructing the linker to bind references to @@ -101,7 +94,6 @@ */ #define VERSION_SYMBOL(b, e, n) #define __vsym -#define BASE_SYMBOL(b, e) #define BIND_DEFAULT_SYMBOL(b, e, n) #define MAP_STATIC_SYMBOL(f, p) f __attribute__((alias(RTE_STR(p)))) /*