OpenCores
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] - Blame information for rev 139

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 58 khays
/* 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))

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.