OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [ld/] [testsuite/] [ld-elfvers/] [vers24c.c] - Diff between revs 38 and 156

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 38 Rev 156
/* Test whether .symver x, x@foo
/* Test whether .symver x, x@foo
   causes relocations against x within the same shared library
   causes relocations against x within the same shared library
   to become dynamic relocations against x@foo.  */
   to become dynamic relocations against x@foo.  */
int x = 12;
int x = 12;
__asm__ (".symver x, x@VERS.0");
__asm__ (".symver x, x@VERS.0");
void foo (void)
void foo (void)
{
{
  x = 24;
  x = 24;
}
}
 
 

powered by: WebSVN 2.1.0

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