URL
https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk
Subversion Repositories open8_urisc
[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [ld/] [testsuite/] [ld-elfvers/] [vers.h] - Rev 58
Compare with Previous | Blame | View Log
/* Add the symbol prefix to the symbol as needed. Usage: SYMPFX(foo); */ #define __SYMPFX(pfx, sym) #pfx sym #define _SYMPFX(pfx, sym) __SYMPFX(pfx, sym) #define SYMPFX(sym) _SYMPFX(__USER_LABEL_PREFIX__, #sym) /* Generate a .symver reference with symbol prefixes. Usage: SYMVER(foo, foobar@ver); */ #define SYMVER(name, name2) __asm__(".symver " SYMPFX(name) "," SYMPFX(name2))