1 /* Add the symbol prefix to the symbol as needed.
2    Usage: SYMPFX(foo);  */
3 #define __SYMPFX(pfx, sym) #pfx sym
4 #define _SYMPFX(pfx, sym) __SYMPFX(pfx, sym)
5 #define SYMPFX(sym) _SYMPFX(__USER_LABEL_PREFIX__, #sym)
6 
7 /* Generate a .symver reference with symbol prefixes.
8    Usage: SYMVER(foo, foobar@ver);  */
9 #define SYMVER(name, name2) __asm__(".symver " SYMPFX(name) "," SYMPFX(name2))
10